grimmpp / enocean-device-manager Goto Github PK
View Code? Open in Web Editor NEWenocean-device-manager
License: MIT License
enocean-device-manager
License: MIT License
Installed on Windows 11 with python 3.7
PS C:\Users\Administrator> .\.venv\Scripts\python.exe -m eo_man Traceback (most recent call last): File "C:\Program Files\Python37\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Program Files\Python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Administrator\.venv\lib\site-packages\eo_man\__main__.py", line 4, in <module> from typing import Final ImportError: cannot import name 'Final' from 'typing' (C:\Program Files\Python37\lib\typing.py)
What I'm doing wrong?
Btw, thank you for the Eltako Integration :)
Hi!
I installed eo-man on win10 python 3.12 and was able to launch it. When trying to detect the serial ports ein get the following error:
ERROR eltakobus.serial Write timeout
Do you have any idea what I am doing wrong?
Best regards
Tried also with with system site package, like:
python3 -m venv --system-site-packages venv
$ python3 -m eo_man
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/mnt/work/dev/enOcean/venv/lib/python3.11/site-packages/eo_man/__main__.py", line 22, in <module>
from .view.main_panel import MainPanel
File "/mnt/work/dev/enOcean/venv/lib/python3.11/site-packages/eo_man/view/main_panel.py", line 18, in <module>
from ..view.menu_presenter import MenuPresenter
File "/mnt/work/dev/enOcean/venv/lib/python3.11/site-packages/eo_man/view/menu_presenter.py", line 20, in <module>
from .about_window import AboutWindow
File "/mnt/work/dev/enOcean/venv/lib/python3.11/site-packages/eo_man/view/about_window.py", line 7, in <module>
from idlelib.tooltip import Hovertip
ModuleNotFoundError: No module named 'idlelib'
I've no clue about why idlelib is missing...
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:
2024-04-08 17:24:34,959 ERROR root Was not able to detect serial ports.
Traceback (most recent call last):
File "/usr/local/Caskroom/miniconda/base/envs/eltako/lib/python3.12/site-packages/eo_man/view/serial_communication_bar.py", line 206, in detect_serial_ports
self.main.config(cursor="watch") #set cursor for waiting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Caskroom/miniconda/base/envs/eltako/lib/python3.12/tkinter/__init__.py", line 1721, in configure
return self._configure('configure', cnf, kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Caskroom/miniconda/base/envs/eltako/lib/python3.12/tkinter/__init__.py", line 1711, in _configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
RuntimeError: main thread is not in main loop
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 ;-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.