Sam-Max / rcmltb

An rclone telegram bot to mirror-leech and copy between many cloud servers
https://t.me/rcmltb
GNU General Public License v3.0
280 stars 287 forks source link

Error after deploying #160

Closed bolavefasfas closed 10 months ago

bolavefasfas commented 10 months ago
rcmltb-karthik | 2023-12-01 11:56:42,394 - dotenv.main - WARNING - Python-dotenv could not parse statement starting at line 8
rcmltb-karthik | 2023-12-01 11:56:43,349 - dotenv.main - WARNING - Python-dotenv could not parse statement starting at line 8
rcmltb-karthik | [2023-12-01 11:56:43 +0000] [11] [INFO] Starting gunicorn 21.2.0
rcmltb-karthik | [2023-12-01 11:56:43 +0000] [11] [INFO] Listening at: http://0.0.0.0:80 (11)
rcmltb-karthik | [2023-12-01 11:56:43 +0000] [11] [INFO] Using worker: gevent
rcmltb-karthik | 2023-12-01 11:56:43,473 - bot - INFO - Initializing Aria2c
rcmltb-karthik | [2023-12-01 11:56:43 +0000] [36] [INFO] Booting worker with pid: 36
rcmltb-karthik | 2023-12-01 11:56:44,993 - bot - INFO - Creating Pyrogram client
rcmltb-karthik | 2023-12-01 11:56:45,425 - pyrogram.connection.connection - INFO - Connecting...
rcmltb-karthik | 2023-12-01 11:56:45,546 - pyrogram.connection.connection - INFO - Connected! Production DC1 - IPv4
rcmltb-karthik | 2023-12-01 11:56:45,547 - pyrogram.session.session - INFO - NetworkTask started
rcmltb-karthik | 2023-12-01 11:56:45,973 - pyrogram.session.session - INFO - Session initialized: Layer 158
rcmltb-karthik | 2023-12-01 11:56:45,973 - pyrogram.session.session - INFO - Device: CPython 3.10.6 - Pyrogram 2.0.106
rcmltb-karthik | 2023-12-01 11:56:45,973 - pyrogram.session.session - INFO - System: Linux 5.15.0-1045-oracle (en)
rcmltb-karthik | 2023-12-01 11:56:45,973 - pyrogram.session.session - INFO - Session started
rcmltb-karthik | 2023-12-01 11:56:46,040 - pyrogram.session.session - INFO - PingTask started
rcmltb-karthik | 2023-12-01 11:56:46,313 - pyrogram.dispatcher - INFO - Started 1000 HandlerTasks
rcmltb-karthik | Traceback (most recent call last):
rcmltb-karthik |   File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
rcmltb-karthik |     return _run_code(code, main_globals, None,
rcmltb-karthik |   File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
rcmltb-karthik |     exec(code, run_globals)
rcmltb-karthik |   File "/usr/src/app/bot/__main__.py", line 18, in <module>
rcmltb-karthik |     from .modules import batch, cancel, botfiles, copy, leech, mirror_leech, mirror_select, myfilesset, owner_settings, myfiles, search, stats, status, clone, storage, cleanup, user_settings, ytdlp, shell, exec, bt_select, rss, serve, sync, gd_count,tmdb
rcmltb-karthik |   File "/usr/src/app/bot/modules/batch.py", line 16, in <module>
rcmltb-karthik |     from bot.modules.mirror_leech import mirror_leech
rcmltb-karthik |   File "/usr/src/app/bot/modules/mirror_leech.py", line 12, in <module>
rcmltb-karthik |     from bot.helper.ext_utils.direct_link_generator import direct_link_generator
rcmltb-karthik |   File "/usr/src/app/bot/helper/ext_utils/direct_link_generator.py", line 21, in <module>
rcmltb-karthik |     from cfscrape import create_scraper
rcmltb-karthik |   File "/usr/local/lib/python3.10/dist-packages/cfscrape/__init__.py", line 19, in <module>
rcmltb-karthik |     from urllib3.util.ssl_ import create_urllib3_context, DEFAULT_CIPHERS
rcmltb-karthik | ImportError: cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/usr/local/lib/python3.10/dist-packages/urllib3/util/ssl_.py)

I Filled the mandatory vars and its in loop for restarting and giving this error can you tell whats wrong or update.

Sam-Max commented 10 months ago

It is fixed now. Update.