exception=OperationalError('attempt to write a readonly database')>
Traceback (most recent call last):
File "/home/mmdrzasi/virtualenv/add_panel/3.9/lib/python3.9/site-packages/telethon/client/telegrambaseclient.py", line 722, in _disconnect_coro
self._save_states_and_entities()
File "/home/mmdrzasi/virtualenv/add_panel/3.9/lib/python3.9/site-packages/telethon/client/telegrambaseclient.py", line 687, in _save_states_and_entities
self.session.set_update_state(0, types.updates.State(**ss, unread_count=0))
File "/home/mmdrzasi/virtualenv/add_panel/3.9/lib/python3.9/site-packages/telethon/sessions/sqlite.py", line 214, in set_update_state
self._execute('insert or replace into update_state values (?,?,?,?,?)',
File "/home/mmdrzasi/virtualenv/add_panel/3.9/lib/python3.9/site-packages/telethon/sessions/sqlite.py", line 253, in _execute
return c.execute(stmt, values).fetchone()
sqlite3.OperationalError: attempt to write a readonly database
you session file is faulty, try to reboot copy and rename
Обсуждают сегодня