You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to start the application locally.
I filled out: "API_ID", "API_HASH", "SESSION_String".
And "include_chats" = [1234567890] with my personal chat-id number. I used a bot called "RawDataBot" to fetch my chat-id.
It won't start and instead gives this error:
user@machine:~/TgindexPro$ python3 -m app
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/user/TgindexPro/app/__main__.py", line 19, in <module>
Indexer().run()
File "/home/user/TgindexPro/app/main.py", line 46, in run
self.loop.run_until_complete(self.startup())
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/home/user/TgindexPro/app/main.py", line 32, in startup
await setup_routes(self.server, Views(self.tg_client))
File "/home/user/TgindexPro/app/routes.py", line 84, in setup_routes
alias_id = generate_alias_id(chat)
File "/home/user/TgindexPro/app/routes.py", line 15, in generate_alias_id
title = chat.title
AttributeError: 'User' object has no attribute 'title'
The text was updated successfully, but these errors were encountered:
I try to start the application locally.
I filled out: "API_ID", "API_HASH", "SESSION_String".
And "include_chats" = [1234567890] with my personal chat-id number. I used a bot called "RawDataBot" to fetch my chat-id.
It won't start and instead gives this error:
The text was updated successfully, but these errors were encountered: