Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cd /ql/data python3 -m jbot. 启动报错 #34

Closed
knowledgeablelmh opened this issue May 28, 2022 · 0 comments
Closed

cd /ql/data python3 -m jbot. 启动报错 #34

knowledgeablelmh opened this issue May 28, 2022 · 0 comments

Comments

@knowledgeablelmh
Copy link

Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.9/runpy.py", line 147, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.9/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/ql/data/jbot/init.py", line 81, in
jdbot = TelegramClient("bot", API_ID, API_HASH, connection_retries=None).start(bot_token=TOKEN)
File "/usr/lib/python3.9/site-packages/telethon/client/telegrambaseclient.py", line 273, in init
session = SQLiteSession(session)
File "/usr/lib/python3.9/site-packages/telethon/sessions/sqlite.py", line 53, in init
version = c.fetchone()[0]
TypeError: 'NoneType' object is not subscriptable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant