File "C:\Users\Антоний\AppData\Local\Programs\Python\Python311\Lib\site-packages\telethon\extensions\messagepacker.py", line 29, in __init__
self._ready = asyncio.Event(loop=loop)
^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Event.__init__() got an unexpected keyword argument 'loop'
Task exception was never retrieved
future: <Task finished name='Task-3' coro=<MessageAnalyserGUI.raise_telegram_auth_frame.<locals>.try_sign_in_and_continue() done, defined at C:\message-analyser\message_analyser\GUI.py:318> exception=OperationalError('database is locked')>
Traceback (most recent call last):
File "C:\message-analyser\message_analyser\GUI.py", line 319, in try_sign_in_and_continue
res = await tlg.get_sign_in_results(api_id_dir.get(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\message-analyser\message_analyser\retriever\telegram.py", line 47, in get_sign_in_results