Traceback (most recent call last):


 "/home/hass/.homeassistant/deps/sqlalchemy/pool.py", line 300, in _close_connection

self._dialect.do_close(connection)


 "/home/hass/.homeassistant/deps/sqlalchemy/engine/default.py", line 445, in do_close

dbapi_connection.close()
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1925440608 and this is thread id 1995534336

Traceback (most recent call last):

 "/home/home/SickRage/<a href="../blob/00d5079dec2a8369b281e42c7d53754069a111c6/medusa/server/web/core/base.py#L270">medusa/server/web/core/base.py</a>", line 270, in async_call

 "/home/home/SickRage/<a href="../blob/00d5079dec2a8369b281e42c7d53754069a111c6/medusa/server/web/core/history.py#L32">medusa/server/web/core/history.py</a>", line 32, in index

 "/home/home/SickRage/<a href="../blob/00d5079dec2a8369b281e42c7d53754069a111c6/medusa/__init__.py#L2118">medusa/__init__.py</a>", line 2118, in save_config

 "/home/home/SickRage/<a href="../blob/00d5079dec2a8369b281e42c7d53754069a111c6/lib/configobj/configobj.py#L2128">lib/configobj/configobj.py</a>", line 2128, in writeIOError: [Errno 24] Too many open files: u'/home/home/SickRage/config.ini'