I just updated using the guide in the blog for updating python: https://www.home-assistant.io/blog/2019/06/05/release-94/#deprecating-python-35-support
Now i’m am getting ALL kinds of errors in the startup logs. Home Assistant comes up but for some reason recorder, history, and logbook didn’t start up.
The main issue is all of my zwave is not working. This error is showing:
File "/srv/homeassistant/lib/python3.7/site-packages/openzwave/network.py", line 324, in __init__
self.dbcon = lite.connect(os.path.join(self._options.user_path, 'pyozw.sqlite'), check_same_thread=False)
NameError: name 'lite' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/config_entries.py", line 273, in async_setup
hass, self)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/zwave/__init__.py", line 290, in async_setup_entry
network = hass.data[DATA_NETWORK] = ZWaveNetwork(options, autostart=False)
File "/srv/homeassistant/lib/python3.7/site-packages/openzwave/network.py", line 329, in __init__
except lite.Error as e:
NameError: name 'lite' is not defined
I think the root issue is something wrong with sqlite as this shows up:
2019-06-09 20:57:24 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: No module named '_sqlite3' (retrying in 3 seconds)
What do now?