-
Notifications
You must be signed in to change notification settings - Fork 54
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
Can't seem to get the python app running #5
Comments
Unfortunately, I do not have a Windows machine that I can easily use to test, so I can only offer my experience of a little mistake I sometimes made during development: If you have the Arduino IDE and especially the serial monitor open at the same time, the serial port is already in use and you cannot open it in Python. |
I think it's this bit causing the issue: I don't know python's debugger really, otherwise, I would step through the code and debug it. I am assuming it's because of the pulse library methods being called which I had to comment out to get it to even run in the first place. I will try and debug it at some point yeah. |
Bricked my leo, can't continue, so closing the issue. |
Again, sorry to hear that. If you manage to get it running again or to anyone else stumbling upon this: |
Will definitely try again once I get more stock of all the parts thanks |
I think this COM error is a red herring. I was experiencing the exact same issues with my windows install as well. First I needed to disable pulsectl, then I started getting the COM Permission Errors. I switched DEBUG to True and saw that MQTT was failing to connect (I hadn't tried to configure this yet). I updated the IP to connect to my broker - and the COM errors stopped. I switched back and forth to confirm. It seems to me like MQTT connection failure is reporting as this COM error. |
I run windows 10, and it seems it's not quite working as expected. I first ran into an issue where win32gui wasn't available, and resolved that by installing
pip install pywin32
Then I tried launching it, but next it failed at a pulse audio import in modes.py. Which from what I understand should only be available in linux.
I then commented out the pulse audio import which got me to where I am now.
My device is COM20, and when I start it, it does this:
Any advice / suggestions would be welcome.
The text was updated successfully, but these errors were encountered: