jertel / vuegraf

Populate metrics from your Emporia Vue energy monitoring devices into an InfluxDB
MIT License
169 stars 54 forks source link

Latest container image crashing #155

Closed ddovidenko closed 9 months ago

ddovidenko commented 9 months ago

Looks like when the latest image got pulled there's a missing module causing a crash:

Traceback (most recent call last):
  File "/opt/vuegraf/vuegraf.py", line 28, in <module>
    from pyemvue import PyEmVue
  File "/usr/local/lib/python3.12/site-packages/pyemvue/__init__.py", line 2, in <module>
    from pyemvue.pyemvue import PyEmVue
  File "/usr/local/lib/python3.12/site-packages/pyemvue/pyemvue.py", line 9, in <module>
    from pyemvue.auth import Auth
  File "/usr/local/lib/python3.12/site-packages/pyemvue/auth.py", line 3, in <module>
    from jose import jwt
ModuleNotFoundError: No module named 'jose'
jertel commented 9 months ago

Thanks for the heads-up. Latest info is here: https://github.com/magico13/PyEmVue/issues/62

jertel commented 9 months ago

The latest image is working again. I've manually pulled in pycognito while we wait for a new release of PyEmVue that removes that deprecated dependency.

ddovidenko commented 9 months ago

Confirmed working!

jertel commented 9 months ago

Vuegraf version 1.7.2 was released today with the upgraded PyEmVue library.