mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 20:20:23 +03:00
Update faq.rst
This commit is contained in:
parent
e5f1b2afa3
commit
92d498fa1d
|
@ -141,6 +141,7 @@ Or:
|
||||||
# ^^^^^ note the await
|
# ^^^^^ note the await
|
||||||
print(me.username)
|
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
|
sqlite3.OperationalError: database is locked
|
||||||
============================================
|
============================================
|
||||||
|
@ -162,6 +163,7 @@ reboot your system.
|
||||||
If you really dislike SQLite, use a different session storage. There
|
If you really dislike SQLite, use a different session storage. There
|
||||||
is an entire section covering that at :ref:`sessions`.
|
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
|
event.chat or event.sender is None
|
||||||
==================================
|
==================================
|
||||||
|
|
Loading…
Reference in New Issue
Block a user