-
Notifications
You must be signed in to change notification settings - Fork 1
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
Detect serial ports fails on OSX #22
Comments
I got the serial ports detection to work and was able to discover my FAM14. Some small changes were required that I did on my fork https://github.com/benediktarnold/enocean-device-manager But if I try to connect, basically everything falls apart. A lot of app_bus event handler try to update the UI, but the handler are not called from the main thread.
|
There seems to be an odd issue with pyserial affecting version 0.1.17 changed it back to a more OS-independent hack in 0.1.18. Unfortunately, I do not have OSX for testing. |
The issue still exists in Version 0.1.20
|
Hello @schiller256, sorry, I dont have OSX to test with. |
Hi!
I installed the device manager on OSX (python 3.12) and I'm able to launch it. If I try to detect the serial ports, I get the following error:
I'm no python expert but from a quick research:
It seems that
detect_serial_ports_command
starts a new thread and this thread calls functions on the GUI. With TK this seems to be forbidden.I'll try to debug more into it and open a PR if I'm successful finding a solution ;-)
The text was updated successfully, but these errors were encountered: