[SOLVED] No zwave since upgrade

Hi everyone,

Everything was running smoothly when I decided to upgrade ^^
I was in 0.43 and now 0.60.1
I must have done something wrong because I can’t have zwave to work.
OZWCP seems to work fine, I get all my zwave devices in it !
But when I start HA I get

2018-01-06 23:38:31 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
  File "/data/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 193, in _async_setup_component
    component.setup, hass, processed_config)
      File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/data/homeassistant/lib/python3.5/site-packages/homeassistant/components/zwave/__init__.py", line 257, in setup
    from openzwave.option import ZWaveOption
  File "/data/homeassistant/lib/python3.5/site-packages/openzwave/option.py", line 29, in <module>
    import libopenzwave
ImportError: /data/homeassistant/lib/python3.5/site-packages/libopenzwave.cpython-35m-arm-linux-gnueabihf.so: undefined symbol: _ZN9OpenZWave7Manager16GetNodeProductIdB5cxx11Ejh

Nothing in OZW_Log.txt since I have recompiled python-openzwave…weird…
If someone have an idea to help me resolve this error…

Thx
amans

I would suggest trying removing and reinstalling python-openzwave.

Can someone propose a clean way to do it ?
I tried several ways and now I have another error message !

2018-01-07 10:37:47 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
  File "/data/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 193, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/data/homeassistant/lib/python3.5/site-packages/homeassistant/components/zwave/__init__.py", line 280, in setup
    config_path=config[DOMAIN].get(CONF_CONFIG_PATH))
  File "/data/homeassistant/lib/python3.5/site-packages/openzwave/option.py", line 83, in __init__
    self._user_path = user_path
AttributeError: attribute '_user_path' of 'libopenzwave.PyOptions' objects is not writable

A permissions problem ? but I can’t find where…
Thx

I deleted the whole directory and reinstalled homeassistant.
I removed the config_path line in the configuration.yaml and the zwave network is back…!
Is openzwave installed by homeassistant now ?

Yes, and it has been for many months now (6+).

I didn’t know :slight_smile:
I should update a bit more often ^^