Not working in the ReplIt and VPS #33
Unanswered
dokob-test
asked this question in
Q&A
Replies: 2 comments
-
In env no need to wrap with quotes
…On Sat, 9 Jul, 2022, 11:35 am dokob-test, ***@***.***> wrote:
I tried running this on Replit but it seems that there are some pip issues
with it idk. Later I tried running it on a VPS but now I am facing this
issue :
Traceback (most recent call last): File
"/home/codespace/.python/current/lib/python3.10/runpy.py", line 196, in
_run_module_as_main return _run_code(code, main_globals, None, File
"/home/codespace/.python/current/lib/python3.10/runpy.py", line 86, in
_run_code exec(code, run_globals) File
"/workspaces/TgindexPro/app/__main__.py", line 19, in <module>
Indexer().run() File "/workspaces/TgindexPro/app/main.py", line 25, in init
self.tg_client = Client(session_string, api_id, api_hash) File
"/workspaces/TgindexPro/app/telegram.py", line 11, in init
super().init(StringSession(session_string), *args, **kwargs) File
"/home/codespace/.local/lib/python3.10/site-packages/telethon/sessions/string.py",
line 34, in init raise ValueError('Not a valid string') ValueError: Not a
valid string
Of course I've put the session_string in " " but idk why its still saying
that in that part of the code.
—
Reply to this email directly, view it on GitHub
<#33>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI3MT5RYBEKFCSKC4WYF53TVTEJA3ANCNFSM53C3NPJQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
more stable repo is rayanfer32/tg-index |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried running this on Replit but it seems that there are some pip issues with it idk. Later I tried running it on a VPS but now I am facing this issue :
Traceback (most recent call last): File "/home/codespace/.python/current/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/codespace/.python/current/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/workspaces/TgindexPro/app/__main__.py", line 19, in <module> Indexer().run() File "/workspaces/TgindexPro/app/main.py", line 25, in init self.tg_client = Client(session_string, api_id, api_hash) File "/workspaces/TgindexPro/app/telegram.py", line 11, in init super().init(StringSession(session_string), *args, **kwargs) File "/home/codespace/.local/lib/python3.10/site-packages/telethon/sessions/string.py", line 34, in init raise ValueError('Not a valid string') ValueError: Not a valid string
Of course I've put the session_string in " " but idk why its still saying that in that part of the code.
Beta Was this translation helpful? Give feedback.
All reactions