Giter VIP home page Giter VIP logo

torrentleechx's Issues

error

2021-10-10T15:17:50.482150+00:00 app[worker.1]: 10-Oct-21 20:47:50 - DEBUG - Opening connection to /app/.lk21-requests-cache.sqlite:redirects [sqlite.py:168]
2021-10-10T15:17:50.681956+00:00 app[worker.1]: Traceback (most recent call last):
2021-10-10T15:17:50.681963+00:00 app[worker.1]: File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
2021-10-10T15:17:50.682096+00:00 app[worker.1]: return _run_code(code, main_globals, None,
2021-10-10T15:17:50.682110+00:00 app[worker.1]: File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
2021-10-10T15:17:50.682191+00:00 app[worker.1]: exec(code, run_globals)
2021-10-10T15:17:50.682202+00:00 app[worker.1]: File "/app/tobrot/main.py", line 55, in
2021-10-10T15:17:50.682280+00:00 app[worker.1]: from tobrot.plugins.torrent_search import searchhelp
2021-10-10T15:17:50.682292+00:00 app[worker.1]: File "/app/tobrot/plugins/torrent_search.py", line 23, in
2021-10-10T15:17:50.682369+00:00 app[worker.1]: from tobrot.helper_funcs.bot_commands import BotCommands
2021-10-10T15:17:50.682406+00:00 app[worker.1]: ModuleNotFoundError: No module named 'tobrot.helper_funcs.bot_commands'

request

please make a bot for public without group anyone can use in private

section = config.sections()[0] IndexError: list index out of range

05-Sep-22 07:03:45 - ERROR - list index out of range [dispatcher.py:235]
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 222, in handler_worker
    await handler.callback(self.client, *args)
  File "/usr/src/bot/tobrot/plugins/choose_rclone_config.py", line 35, in rclone_command_f
    section = config.sections()[0]
IndexError: list index out of range

[oD_1ove]
type = onedrive
token = {"access_token":"mytoken","expiry":"2022-03-01T19:05:30.6667193-08:00"}
drive_id = mydrive_id
drive_type = business
...
this is the first one in my rclone.conf, idk what I did wrong tho, can you help? Thanks:)

Heroku support

is it still working or heroku account getting suspended?

IndexError: list index out of range

When I run the gleech command, the file downloads well but it doesn't get uploaded to the cloud.

I checked the Heroku logs and I found this.

02-Oct-21 10:58:22 - ERROR - list index out of range [dispatcher.py:230]

2021-10-02T05:28:22.230242+00:00 app[worker.1]: Traceback (most recent call last):

2021-10-02T05:28:22.230243+00:00 app[worker.1]:   File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 217, in handler_worker

2021-10-02T05:28:22.230244+00:00 app[worker.1]:     await handler.callback(self.client, *args)

2021-10-02T05:28:22.230244+00:00 app[worker.1]:   File "/app/tobrot/plugins/incoming_message_fn.py", line 123, in incoming_message_f

2021-10-02T05:28:22.230245+00:00 app[worker.1]:     sagtus, err_message = await call_apropriate_function(

2021-10-02T05:28:22.230245+00:00 app[worker.1]:   File "/app/tobrot/helper_funcs/download_aria_p_n.py", line 257, in call_apropriate_function

2021-10-02T05:28:22.230245+00:00 app[worker.1]:     await upload_to_gdrive(

2021-10-02T05:28:22.230246+00:00 app[worker.1]:   File "/app/tobrot/helper_funcs/upload_to_tg.py", line 158, in upload_to_gdrive

2021-10-02T05:28:22.230246+00:00 app[worker.1]:     gUP = re.findall("\[(.*)\]", con)[0]

2021-10-02T05:28:22.230246+00:00 app[worker.1]: IndexError: list index out of range

Thanks.

zip file extract error ____ File format not supported for extraction [download_aria_p_n.py:250] app [worker.1]

2021-11-21T06:29:29.107160+00:00 app[worker.1]: 21-Nov-21 11:59:29 - DEBUG - Opening connection to /app/.lk21-requests-cache.sqlite:responses [sqlite.py:168]
2021-11-21T06:29:29.110414+00:00 app[worker.1]: 21-Nov-21 11:59:29 - DEBUG - Initializing SQLiteDict with serializer: <requests_cache.serializers.pipeline.SerializerPipeline object at 0x7f6695327670> [base.py:267]
2021-11-21T06:29:29.110811+00:00 app[worker.1]: 21-Nov-21 11:59:29 - DEBUG - Opening connection to /app/.lk21-requests-cache.sqlite:redirects [sqlite.py:168]
2021-11-21T06:29:29.119295+00:00 app[worker.1]: 21-Nov-21 11:59:29 - DEBUG - Pre-cache checks for response from http://localhost:6800/jsonrpc: {'disabled cache': False, 'disabled method': True, 'disabled status': False, 'disabled by filter': False, 'disabled by headers or expiration params': False} [session.py:228]
2021-11-21T06:29:29.120668+00:00 app[worker.1]: 21-Nov-21 11:59:29 - DEBUG - Skipping cache write for URL: http://localhost:6800/jsonrpc [session.py:187]
2021-11-21T06:29:29.121370+00:00 app[worker.1]: 21-Nov-21 11:59:29 - INFO - File format not supported for extraction [download_aria_p_n.py:250]
2021-11-21T06:29:29.121453+00:00 app[worker.1]: 21-Nov-21 11:59:29 - INFO - Can't extract view, Uploading the same file [download_aria_p_n.py:251]
2021-11-21T06:29:34.624068+00:00 app[worker.1]: 21-Nov-21 11:59:34 - INFO - m720 [upload_to_tg.py:159]
2021-11-21T06:29:34.624366+00:00 app[worker.1]: 21-Nov-21 11:59:34 - INFO - /app/view [upload_to_tg.py:162]
2021-11-21T06:29:34.625745+00:00 app[worker.1]: 21-Nov-21 11:59:34 - INFO - ['rclone', 'copy', '--config=rclone.conf', '/app/view', 'm720:TorrentLeechX', '-v'] [upload_to_tg.py:172]
2021-11-21T06:29:36.684776+00:00 app[worker.1]: 21-Nov-21 11:59:36 - INFO - [upload_to_tg.py:177]
2021-11-21T06:29:36.684921+00:00 app[worker.1]: 21-Nov-21 11:59:36 - INFO - 2021/11/21 11:59:36 INFO : view: Copied (replaced existing)
2021-11-21T06:29:36.684922+00:00 app[worker.1]: 2021/11/21 11:59:36 INFO :
2021-11-21T06:29:36.684923+00:00 app[worker.1]: Transferred: 65.312k / 65.312 kBytes, 100%, 53.351 kBytes/s, ETA 0s
2021-11-21T06:29:36.684923+00:00 app[worker.1]: Transferred: 1 / 1, 100%
2021-11-21T06:29:36.684923+00:00 app[worker.1]: Elapsed time: 2.0s
2021-11-21T06:29:36.684924+00:00 app[worker.1]:
2021-11-21T06:29:36.684924+00:00 app[worker.1]: [upload_to_tg.py:178]
2021-11-21T06:29:36.685025+00:00 app[worker.1]: 21-Nov-21 11:59:36 - INFO - view [upload_to_tg.py:180]
2021-11-21T06:29:37.606558+00:00 app[worker.1]: 21-Nov-21 11:59:37 - INFO - 1JrULvmpKW9FRXw0_IoUui84nT40YnEdr
2021-11-21T06:29:37.606566+00:00 app[worker.1]: [upload_to_tg.py:200]
2021-11-21T06:29:37.607201+00:00 app[worker.1]: 21-Nov-21 11:59:37 - INFO - [upload_to_tg.py:201]

Invalid parse mode "html"

2022-05-11T03:47:20.576993+00:00 app[worker.1]: 11-May-22 09:17:20 - ERROR - Invalid parse mode "html" [dispatcher.py:253]
2022-05-11T03:47:20.577002+00:00 app[worker.1]: Traceback (most recent call last):
2022-05-11T03:47:20.577003+00:00 app[worker.1]:   File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
2022-05-11T03:47:20.577004+00:00 app[worker.1]:     await handler.callback(self.client, *args)
2022-05-11T03:47:20.577004+00:00 app[worker.1]:   File "/app/tobrot/plugins/incoming_message_fn.py", line 58, in incoming_message_f
2022-05-11T03:47:20.577005+00:00 app[worker.1]:     credit = await message.reply_text(
2022-05-11T03:47:20.577005+00:00 app[worker.1]:   File "/usr/local/lib/python3.8/dist-packages/pyrogram/types/messages_and_media/message.py", line 959, in reply_text
2022-05-11T03:47:20.577006+00:00 app[worker.1]:     return await self._client.send_message(
2022-05-11T03:47:20.577006+00:00 app[worker.1]:   File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/messages/send_message.py", line 122, in send_message
2022-05-11T03:47:20.577006+00:00 app[worker.1]:     message, entities = (await utils.parse_text_entities(self, text, parse_mode, entities)).values()
2022-05-11T03:47:20.577007+00:00 app[worker.1]:   File "/usr/local/lib/python3.8/dist-packages/pyrogram/utils.py", line 343, in parse_text_entities
2022-05-11T03:47:20.577007+00:00 app[worker.1]:     text, entities = (await client.parser.parse(text, parse_mode)).values()
2022-05-11T03:47:20.577008+00:00 app[worker.1]:   File "/usr/local/lib/python3.8/dist-packages/pyrogram/parser/parser.py", line 54, in parse
2022-05-11T03:47:20.577008+00:00 app[worker.1]:     raise ValueError(f'Invalid parse mode "{mode}"')
2022-05-11T03:47:20.577009+00:00 app[worker.1]: ValueError: Invalid parse mode "html"```
did i do something wrong?

terms changed!

When I run the workflow, giving me this error

Error: Error: Command failed: heroku container:login
 ›   Warning: Our terms of service have changed: 
 ›   https://dashboard.heroku.com/terms-of-service
 ▸    not logged in

Screenshot: https://puu.sh/JnEiP/c668750a22.png

MAX_FILE_SIZE

Is there anyways to add to a VAR to do not leech if the file size is more than 2GB. currently it shows useless.

MAX_FILE_SIZE | useless

Please help so that it will be better for synchronizing the RSS feed leeching as well.

Thanks

Error GCLONE

2021-11-12T05:44:07.537547+00:00 app[worker.1]: 12-Nov-21 11:14:07 - INFO - https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view [incoming_message_fn.py:245]
2021-11-12T05:44:07.537750+00:00 app[worker.1]: 12-Nov-21 11:14:07 - INFO - https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view [cloneHelper.py:51]
2021-11-12T05:44:07.537804+00:00 app[worker.1]: 12-Nov-21 11:14:07 - INFO - https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view [cloneHelper.py:60]
2021-11-12T05:44:07.537853+00:00 app[worker.1]: 12-Nov-21 11:14:07 - INFO - https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view [incoming_message_fn.py:249]
2021-11-12T05:44:07.537900+00:00 app[worker.1]: 12-Nov-21 11:14:07 - INFO - [incoming_message_fn.py:250]
2021-11-12T05:44:07.948763+00:00 app[worker.1]: 12-Nov-21 11:14:07 - INFO - ['/app/gautam/gclone', 'copy', '--config=rclone.conf', 'torrentleechxx:{https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view}', 'torrentleechxx:Xstep Ahead シ/', '-v', '--drive-server-side-across-configs', '--transfers=16', '--checkers=20'] [cloneHelper.py:177]
2021-11-12T05:44:09.748035+00:00 app[worker.1]: 12-Nov-21 11:14:09 - INFO - b'' [cloneHelper.py:183]
2021-11-12T05:44:09.748181+00:00 app[worker.1]: 12-Nov-21 11:14:09 - INFO - 2021/11/12 11:14:09 ERROR : : error reading source directory: couldn't list directory: googleapi: Error 404: Shared drive not found: https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view, notFound
2021-11-12T05:44:09.748182+00:00 app[worker.1]: 2021/11/12 11:14:09 INFO : Google drive root 'Xstep Ahead シ': Waiting for checks to finish
2021-11-12T05:44:09.748182+00:00 app[worker.1]: 2021/11/12 11:14:09 INFO : Google drive root 'Xstep Ahead シ': Waiting for transfers to finish
2021-11-12T05:44:09.748184+00:00 app[worker.1]: 2021/11/12 11:14:09 ERROR : Attempt 1/3 failed with 1 errors and: couldn't list directory: googleapi: Error 404: Shared drive not found: https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view, notFound
2021-11-12T05:44:09.748184+00:00 app[worker.1]: 2021/11/12 11:14:09 ERROR : : error reading source directory: couldn't list directory: googleapi: Error 404: Shared drive not found: https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view, notFound
2021-11-12T05:44:09.748184+00:00 app[worker.1]: 2021/11/12 11:14:09 INFO : Google drive root 'Xstep Ahead シ': Waiting for checks to finish
2021-11-12T05:44:09.748185+00:00 app[worker.1]: 2021/11/12 11:14:09 INFO : Google drive root 'Xstep Ahead シ': Waiting for transfers to finish
2021-11-12T05:44:09.748185+00:00 app[worker.1]: 2021/11/12 11:14:09 ERROR : Attempt 2/3 failed with 1 errors and: couldn't list directory: googleapi: Error 404: Shared drive not found: https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view, notFound
2021-11-12T05:44:09.748185+00:00 app[worker.1]: 2021/11/12 11:14:09 ERROR : : error reading source directory: couldn't list directory: googleapi: Error 404: Shared drive not found: https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view, notFound
2021-11-12T05:44:09.748185+00:00 app[worker.1]: 2021/11/12 11:14:09 INFO : Google drive root 'Xstep Ahead シ': Waiting for checks to finish
2021-11-12T05:44:09.748186+00:00 app[worker.1]: 2021/11/12 11:14:09 INFO : Google drive root 'Xstep Ahead シ': Waiting for transfers to finish
2021-11-12T05:44:09.748186+00:00 app[worker.1]: 2021/11/12 11:14:09 ERROR : Attempt 3/3 failed with 1 errors and: couldn't list directory: googleapi: Error 404: Shared drive not found: https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view, notFound
2021-11-12T05:44:09.748186+00:00 app[worker.1]: 2021/11/12 11:14:09 Failed to copy: couldn't list directory: googleapi: Error 404: Shared drive not found: https://drive.google.com/file/d/1PmPZ-_9OjPzXglfA8ztx8Ao-ueEgYlmY/view, notFound
2021-11-12T05:44:09.748187+00:00 app[worker.1]: [cloneHelper.py:185]
2021-11-12T05:44:09.748327+00:00 app[worker.1]: 12-Nov-21 11:14:09 - INFO - [cloneHelper.py:186]
2021-11-12T05:44:09.748739+00:00 app[worker.1]: 12-Nov-21 11:14:09 - ERROR - list index out of range [dispatcher.py:230]
2021-11-12T05:44:09.748740+00:00 app[worker.1]: Traceback (most recent call last):
2021-11-12T05:44:09.748741+00:00 app[worker.1]: File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 217, in handler_worker
2021-11-12T05:44:09.748741+00:00 app[worker.1]: await handler.callback(self.client, *args)
2021-11-12T05:44:09.748742+00:00 app[worker.1]: File "/app/tobrot/plugins/incoming_message_fn.py", line 251, in g_clonee
2021-11-12T05:44:09.748742+00:00 app[worker.1]: await gclone.gcl()
2021-11-12T05:44:09.748742+00:00 app[worker.1]: File "/app/tobrot/helper_funcs/cloneHelper.py", line 191, in gcl
2021-11-12T05:44:09.748743+00:00 app[worker.1]: LOGGER.info(file_n[0][2].strip())
2021-11-12T05:44:09.748743+00:00 app[worker.1]: IndexError: list index out of range

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.