Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cozmo-python-sdk incompatible with Ubuntu #215

Open
hybrisan opened this issue Aug 1, 2019 · 2 comments
Open

cozmo-python-sdk incompatible with Ubuntu #215

hybrisan opened this issue Aug 1, 2019 · 2 comments

Comments

@hybrisan
Copy link

hybrisan commented Aug 1, 2019

(The following message has also been posted to the Cozmo dev forum https://forums.anki.com/t/device-not-found/2211/43)

I've finally got into the root cause of the issue after spending 3 days banging my head. I even got into the source code on GitHub to try to debug. Here is the conclusion:

  1. the current cozmo module [Release 1.4.10] doesn't work with Ubuntu16.04 any more. The reason is the port that ithe code listens to "#: The TCP port number we expect the Cozmo app to be listening on. COZMO_PORT = 5106" is no longer valid in the latest version of ADB. Also the latest version of ADB doesn't seem to support the port forwarding like the way it used to anymore.
    https://github.com/anki/cozmo-python-sdk/blob/master/src/cozmo/run.py

  2. Then I reluctantly put back my Windows OS on an old laptop (not a big Windows fan). Then followed the Cozmo online beginner steps. Within 30 minutes, voila, lo and behold, I finally got my baby Cozmo to say hello world to me!

The Cozmo service/ support team may want to either update the GitHub code to make it compatible or take out the document that claims it's compatible with Ubuntu to save users time and effort.

Thanks,
Justin

@SRamezanH
Copy link

remove loop=loop, in line 364 of run.py and , loop=self._loop in line 488 of event.py. It wil fix everything.

SRamezanH pushed a commit to SRamezanH/cozmo-python-sdk that referenced this issue Aug 22, 2022
@beaucarnes
Copy link

Thank you so much @SRamezanH ! That fixed it for me.

Paillat-dev added a commit to cozmoroot/cozmo-python-sdk that referenced this issue Aug 1, 2023
Paillat-dev added a commit to cozmoroot/cozmo-python-sdk that referenced this issue Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants