Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom gtfs component error #46

Open
hardtekpt opened this issue Jul 17, 2019 · 0 comments
Open

Custom gtfs component error #46

hardtekpt opened this issue Jul 17, 2019 · 0 comments

Comments

@hardtekpt
Copy link

hardtekpt commented Jul 17, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant