jheling / freeathome

Free@Home component for Home Assistant
112 stars 41 forks source link

ModuleNotFoundError: No module named 'libnacl #47

Closed dbrouwer1979 closed 4 years ago

dbrouwer1979 commented 4 years ago

Since recent update of HA to version 0.108.x I am getting this error: Logger: homeassistant.setup Source: custom_components/freeathome/fah/crypto.py:3 First occurred: 21:30:14 (1 occurrences) Last logged: 21:30:14

Error during setup of component freeathome Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 171, in _async_setup_component hass, processed_config File "/config/custom_components/freeathome/init.py", line 32, in async_setup from . import pfreeathome File "/config/custom_components/freeathome/pfreeathome.py", line 24, in from .fah.saslhandler import SaslHandler File "/config/custom_components/freeathome/fah/saslhandler.py", line 7, in from .crypto import Crypto, loginSaslPayload, buildSaslResponse File "/config/custom_components/freeathome/fah/crypto.py", line 3, in import libnacl ModuleNotFoundError: No module named 'libnacl'

I'm on SysApp 2.5.0

jeroen84 commented 4 years ago

I experienced the same issue on a fresh Docker image. What fixes the issue is to include 'libnacl' as a requirement in the manifest. I will make a pull request.

jeroen84 commented 4 years ago

I noticed there is a pull request already addressing this issue: https://github.com/jheling/freeathome/pull/45 :-)

dbrouwer1979 commented 4 years ago

Thank you Jeroen, that worked!

jheling commented 4 years ago

The pull request has been merged into the repository