Hi. I'm getting this error when using your custom gtfs component. It shows the right information but gives this error when it updates. Can you help me?
Jul 17 19:42:42 hassbian hass[6968]: 2019-07-17 19:42:42 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.benfica_entrecampos_2 fails Jul 17 19:42:42 hassbian hass[6968]: Traceback (most recent call last): Jul 17 19:42:42 hassbian hass[6968]: File "/srv/homeassistant/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1179, in _execute_context Jul 17 19:42:42 hassbian hass[6968]: context = constructor(dialect, self, conn, *args) Jul 17 19:42:42 hassbian hass[6968]: File "/srv/homeassistant/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 688, in _init_compiled Jul 17 19:42:42 hassbian hass[6968]: self.cursor = self.create_cursor() Jul 17 19:42:42 hassbian hass[6968]: File "/srv/homeassistant/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 1040, in create_cursor Jul 17 19:42:42 hassbian hass[6968]: return self._dbapi_connection.cursor() Jul 17 19:42:42 hassbian hass[6968]: File "/srv/homeassistant/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 965, in cursor Jul 17 19:42:42 hassbian hass[6968]: return self.connection.cursor(*args, **kwargs) Jul 17 19:42:42 hassbian hass[6968]: sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 1913648224 and this is thread id 1892676704.
Hi. I'm getting this error when using your custom gtfs component. It shows the right information but gives this error when it updates. Can you help me?
Jul 17 19:42:42 hassbian hass[6968]: 2019-07-17 19:42:42 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.benfica_entrecampos_2 fails Jul 17 19:42:42 hassbian hass[6968]: Traceback (most recent call last): Jul 17 19:42:42 hassbian hass[6968]: File "/srv/homeassistant/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1179, in _execute_context Jul 17 19:42:42 hassbian hass[6968]: context = constructor(dialect, self, conn, *args) Jul 17 19:42:42 hassbian hass[6968]: File "/srv/homeassistant/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 688, in _init_compiled Jul 17 19:42:42 hassbian hass[6968]: self.cursor = self.create_cursor() Jul 17 19:42:42 hassbian hass[6968]: File "/srv/homeassistant/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 1040, in create_cursor Jul 17 19:42:42 hassbian hass[6968]: return self._dbapi_connection.cursor() Jul 17 19:42:42 hassbian hass[6968]: File "/srv/homeassistant/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 965, in cursor Jul 17 19:42:42 hassbian hass[6968]: return self.connection.cursor(*args, **kwargs) Jul 17 19:42:42 hassbian hass[6968]: sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 1913648224 and this is thread id 1892676704.