Closed Nickelza closed 3 years ago
On Linux, use fuser <session file>
after you close the script. Are there any processes using the file? Are you sure there is no process running using the session file before you re-launch it?
No output when command is run
Sorry, I don't think I can solve this. I encourage you to try a virtualenv, another Python version, reinstalling Python, or system version and report back. You can also use another session backend as a workaround, docs explain how.
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/master.zip
and triggered the bug in the latest version.Code that causes the issue
Traceback
Note Error occurs after starting the Userbot a second time, and disappears if session files are deleted and Userbot instance is redefined, only to re-occur after the second start again. Ex: