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

IndexError: list index out of range #45

Open
92hg opened this issue May 10, 2022 · 5 comments
Open

IndexError: list index out of range #45

92hg opened this issue May 10, 2022 · 5 comments

Comments

@92hg
Copy link

92hg commented May 10, 2022

Bot stuck at 🔊 Now Uploading to ☁️ Cloud!!!
Even the download isn't successful looking at the size mentioned 1.19KB, while it's a 17MB file.

Logs:-

Scaled to worker@0:Free by user 
Scaled to worker@1:Free by user 
 11-May-22 01:10:33 - INFO - https://file-examples.com/wp-content/uploads/2017/04/file_example_MP4_1920_18MG.mp4 [incoming_message_fn.py:79]
 11-May-22 01:10:34 - INFO - ['aria2c', '--conf-path=/app/tobrot/aria2/aria2.conf', '--allow-overwrite=true', '--daemon=true', '--enable-rpc', '--disk-cache=0', '--follow-torrent=mem', '--max-connection-per-server=16', '--min-split-size=10M', '--rpc-listen-all=false', '--rpc-listen-port=6800', '--rpc-max-request-size=1024M', '--seed-ratio=0.01', '--seed-time=1', '--max-overall-upload-limit=2M', '--split=16', '--bt-stop-timeout=600'] [download_aria_p_n.py:68]
 11-May-22 01:10:35 - INFO - 3b08741c8c1b8ab4 [download_aria_p_n.py:185]
 11-May-22 01:10:50 - INFO - Downloaded Successfully: `file_example_MP4_1920_18MG.mp4 (1.19 KiB)` 🤒 [download_aria_p_n.py:326]
 11-May-22 01:11:07 - ERROR - list index out of range [dispatcher.py:235]
 Traceback (most recent call last):
   File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 222, in handler_worker
     await handler.callback(self.client, *args)
   File "/app/tobrot/plugins/incoming_message_fn.py", line 120, in incoming_message_f
     sagtus, err_message = await call_apropriate_function(
   File "/app/tobrot/helper_funcs/download_aria_p_n.py", line 256, in call_apropriate_function
     await upload_to_gdrive(
   File "/app/tobrot/helper_funcs/upload_to_tg.py", line 156, in upload_to_gdrive
     gUP = re.findall("\[(.*)\]", con)[0]
 IndexError: list index out of range

@MaxxRider
Copy link
Owner

Did u added Rclone in vars? properly???
because working fine for me

@Ajayveer9911github
Copy link

Did u added Rclone in vars? properly??? because working fine for me

Same issue for me
.. I added "rclone.config" name var in heroku... with generated rclone config... But, in logs, Its giving Index OutOf Bound Exception...

@MaxxRider
Copy link
Owner

fill the vars correctly

@floramabel
Copy link

i Too faced the same error.. the thing is you have password protected the configuration .conf file

@floramabel
Copy link

Decrypt using rclone

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

4 participants