Code Monkey home page Code Monkey logo

enocean-device-manager's People

Contributors

grimmpp avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

benediktarnold

enocean-device-manager's Issues

Don't start

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 :)

Detect serial ports fails on win10

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

Doen not start on Debian

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...

Detect serial ports fails on OSX

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 ;-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.