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

Error while running cc_info.py Python script #3

Open
mgrapiniak opened this issue Sep 4, 2016 · 3 comments
Open

Error while running cc_info.py Python script #3

mgrapiniak opened this issue Sep 4, 2016 · 3 comments

Comments

@mgrapiniak
Copy link

I have connected Arduino UNO with CCLi proxy and ran following tool :
cc_info.py
which result in following error:
ERROR: ord() expected a character, but string of length 0 found

My OS is: Ubuntu 14.04.3 LTS
Arduino recognized as /dev/ttyACM0

Please advise.

@wavesoft
Copy link
Owner

wavesoft commented Sep 5, 2016

Hello @mgrapiniak , it looks like the serial port could not be read. Are you running the tool like this?

cc_info.py -p /dev/ttyACM0

@mgrapiniak
Copy link
Author

Hi,

I've tried to run cc_info with and without param. Checked dmesg for USB device and it looks it was detected without any issues.
When I open cc_info I can see some activity on Arduinos LED's so I guess some communication is being done between the tool and arduino although I have to say that running arduino connected without any rx gives exactly the same error. Any idea why this happens?

Cheers!

@wavesoft
Copy link
Owner

Hey @mgrapiniak , from your description I would assume that there was something wrong with your serial port. If you can confirm that you can communicate with the serial port (ex. using a serial terminal) then I will need more information from you in order to debug this.

In the meantime, there were a couple of updates in the project. Have a look if the latest version can help you.

Otherwise, I will close this issue.

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

2 participants