Closed dprosan closed 5 months ago
same issue
okey, i will fix it
Try updating the repository and running it. If you get the error "no such column username", then try to recreate the session. This error occurs due to different table schemas in the session files
thank u very much, everything works, u are the best!
PyroSession.init() got an unexpected keyword argument 'date'
Traceback (most recent call last): File "C:\Users\dpros\NotCoinBot\main.py", line 17, in
asyncio.run(main())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2288.0_x64qbz5n2kfra8p0\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2288.0_x64qbz5n2kfra8p0\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2288.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\dpros\NotCoinBot\main.py", line 9, in main
await start_process(logger=logger)
File "C:\Users\dpros\NotCoinBot\bot\utils\launcher.py", line 105, in start_process
clients = await get_clients(session_files=session_files)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dpros\NotCoinBot\bot\utils\launcher.py", line 68, in get_clients
clients = [Client(
^^^^^^^^
File "C:\Users\dpros\NotCoinBot\bot\utils\launcher.py", line 72, in
session_string=(await get_session_string(session_name=session_name)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dpros\NotCoinBot\bot\utils\launcher.py", line 54, in get_session_string
raise InvalidSession(session_name)
bot.exceptions.InvalidSession: test