Update faq.rst

This commit is contained in:
Megan Squire 2019-05-17 12:01:15 -04:00 committed by GitHub
parent e5f1b2afa3
commit 92d498fa1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,6 +141,7 @@ Or:
# ^^^^^ note the await
print(me.username)
This error happens frequently when trying to run Telethon-enabled code inside a Python environment like Anaconda/Spyder. Try running the code in a normal commandline instead.
sqlite3.OperationalError: database is locked
============================================
@ -162,6 +163,7 @@ reboot your system.
If you really dislike SQLite, use a different session storage. There
is an entire section covering that at :ref:`sessions`.
This error also happens frequently when trying to run Telethon-enabled code inside a Python environment like Anaconda/Spyder. Try running the code in a normal commandline instead.
event.chat or event.sender is None
==================================