ZWAVE problem after hassio upgrade to release 0.91.4

Hello,

After the upgrade to v0.91.4 my zwave isn’t working enymore. I get the next error in the log when booting,


2019-04-17 00:08:26 INFO (MainThread) [homeassistant.setup] Setting up zwave
2019-04-17 00:08:26 INFO (MainThread) [homeassistant.setup] Setup of domain zwave took 0.0 seconds.
2019-04-17 00:08:26 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Z-Wave (import from configuration.yaml) for zwave
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/config_entries.py”, line 303, in async_setup
result = await component.async_setup_entry(hass, self)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/zwave/init.py”, line 257, in async_setup_entry
from openzwave.option import ZWaveOption
File “/usr/local/lib/python3.7/site-packages/openzwave/option.py”, line 29, in
import libopenzwave
ImportError: Error loading shared library libgcc_s.so.1: Exec format error (needed by /usr/local/lib/python3.7/site-packages/libopenzwave.cpython-37m-aarch64-linux-gnu.so)


I have the Aeotec usb stick and the fibaro roller shutter 2

Any idea what goes wrong?

1 Like

You should verify that this isn’t your problem.

I did some test but I do not think it’s my problem. (But I’m not a specialist)
I removed the zwave entry in the configuration.yaml and tried to configure it via the “Integrations” options. When I choose “Configure” for zwave and add the the path “/dev/ttyACM0”, taken from the System Hardware overview, I get the error “Unknown error occurred”. In the log I see:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/config/config_entries.py”, line 154, in post
return await super().post(request, flow_id)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/data_validator.py”, line 46, in wrapper
result = await method(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/data_entry_flow.py”, line 86, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File “/usr/local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py”, line 80, in async_configure
flow, step_id, user_input)
File “/usr/local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py”, line 98, in _async_handle_step
result = await getattr(flow, method)(user_input) # type: Dict
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/zwave/config_flow.py”, line 41, in async_step_user
from openzwave.option import ZWaveOption
File “/usr/local/lib/python3.7/site-packages/openzwave/option.py”, line 29, in
import libopenzwave
ImportError: Error loading shared library libgcc_s.so.1: Exec format error (needed by /usr/local/lib/python3.7/site-packages/libopenzwave.cpython-37m-aarch64-linux-gnu.so)

Zwave worked until I upgrade it to version 0.91.4 (yesterday)

Hardware: RPi 3b

Version info

Hass.io supervisor

Version: 160
Latest version: 160

Host system

Hostname: hassio
System: HassOS 2.11
Deployment: production

try downgrading to the version that worked to see if the issue goes away.

Yes, restore was the only option left because I couldn’t solve it. I restored the snapshot I took before and zwave is working again. So i skip 0.91.4 and wait for the next release.

Thanks petro for your tips.