tropicoo / yt-dlp-bot

Self-hosted Video Download Telegram Bot 🇺🇦
BSD 3-Clause "New" or "Revised" License
197 stars 67 forks source link

Issues in Config #301

Open ShamilSd-ux opened 3 weeks ago

ShamilSd-ux commented 3 weeks ago

Errors generated on implementing new config style. Kindly resolve this...

yt_bot exited with code 1 yt_bot | [RabbitMQ] Waiting to be reachable on port 5672 yt_bot | [PostgreSQL] Waiting to be reachable on port 5432 yt_bot | [RabbitMQ] Connection on port 5672 verified yt_bot | [PostgreSQL] Connection on port 5432 verified yt_bot | -------------------- Errors in config.yml -------------------- yt_bot | 17 validation errors for ConfigSchema yt_bot | telegram.allowed_users.1.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 1048186728, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.2.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 5275123684, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.3.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 5026590593, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.4.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 6231664252, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.5.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 6110764784, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.6.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001749480868, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.7.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001812174206, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.8.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001869126597, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.9.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002038658985, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.10.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001824603836, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.11.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001577322634, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.12.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001521386554, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.13.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001984299797, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.14.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002032710715, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.15.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002117707194, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.16.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001818886100, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.17.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002008710285, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | ------------------ Fix config and try again ------------------ yt_bot exited with code 1 yt_bot | [RabbitMQ] Waiting to be reachable on port 5672 yt_bot | [PostgreSQL] Waiting to be reachable on port 5432 yt_bot | [RabbitMQ] Connection on port 5672 verified yt_bot | [PostgreSQL] Connection on port 5432 verified yt_bot | -------------------- Errors in config.yml -------------------- yt_bot | 17 validation errors for ConfigSchema yt_bot | telegram.allowed_users.1.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 1048186728, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.2.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 5275123684, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.3.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 5026590593, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.4.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 6231664252, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.5.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 6110764784, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.6.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001749480868, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.7.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001812174206, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.8.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001869126597, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.9.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002038658985, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.10.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001824603836, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.11.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001577322634, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.12.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001521386554, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.13.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001984299797, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.14.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002032710715, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.15.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002117707194, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.16.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001818886100, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.17.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002008710285, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | ------------------ Fix config and try again ------------------ yt_bot exited with code 1 yt_bot | [RabbitMQ] Waiting to be reachable on port 5672 yt_bot | [PostgreSQL] Waiting to be reachable on port 5432 yt_bot | [RabbitMQ] Connection on port 5672 verified yt_bot | [PostgreSQL] Connection on port 5432 verified yt_bot | -------------------- Errors in config.yml -------------------- yt_bot | 17 validation errors for ConfigSchema yt_bot | telegram.allowed_users.1.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 1048186728, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.2.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 5275123684, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.3.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 5026590593, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.4.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 6231664252, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.5.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 6110764784, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.6.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001749480868, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.7.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001812174206, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.8.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001869126597, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.9.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002038658985, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.10.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001824603836, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.11.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001577322634, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.12.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001521386554, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.13.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001984299797, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.14.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002032710715, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.15.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002117707194, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.16.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001818886100, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.17.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002008710285, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | ------------------ Fix config and try again ------------------ yt_bot exited with code 1 yt_bot | [RabbitMQ] Waiting to be reachable on port 5672 yt_bot | [PostgreSQL] Waiting to be reachable on port 5432 yt_bot | [RabbitMQ] Connection on port 5672 verified yt_bot | [PostgreSQL] Connection on port 5432 verified yt_bot | -------------------- Errors in config.yml -------------------- yt_bot | 17 validation errors for ConfigSchema yt_bot | telegram.allowed_users.1.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 1048186728, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.2.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 5275123684, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.3.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 5026590593, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.4.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 6231664252, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.5.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 6110764784, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.6.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001749480868, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.7.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001812174206, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.8.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001869126597, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.9.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002038658985, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.10.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001824603836, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.11.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001577322634, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.12.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001521386554, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.13.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001984299797, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.14.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002032710715, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.15.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002117707194, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.16.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001818886100, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.17.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002008710285, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | ------------------ Fix config and try again ------------------ yt_bot exited with code 1 yt_bot | [RabbitMQ] Waiting to be reachable on port 5672 yt_bot | [PostgreSQL] Waiting to be reachable on port 5432 yt_bot | [PostgreSQL] Connection on port 5432 verified yt_bot | [RabbitMQ] Connection on port 5672 verified yt_bot | -------------------- Errors in config.yml -------------------- yt_bot | 17 validation errors for ConfigSchema yt_bot | telegram.allowed_users.1.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 1048186728, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.2.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 5275123684, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.3.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 5026590593, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.4.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 6231664252, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.5.is_admin yt_bot | Field required [type=missing, inputvalue={'id': 6110764784, 'send... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.6.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001749480868, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.7.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001812174206, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.8.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001869126597, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.9.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002038658985, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.10.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001824603836, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.11.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001577322634, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.12.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001521386554, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.13.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001984299797, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.14.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002032710715, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.15.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002117707194, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.16.is_admin yt_bot | Field required [type=missing, input_value={'id': -1001818886100, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | telegram.allowed_users.17.is_admin yt_bot | Field required [type=missing, input_value={'id': -1002008710285, 's... 'include_size': True}}}, input_type=dict] yt_bot | For further information visit https://errors.pydantic.dev/2.7/v/missing yt_bot | ------------------ Fix config and try again ------------------ yt_bot exited with code 1 ^Ccanceled

tropicoo commented 3 weeks ago

You have outdated config. Please update accordingly with example template in the repository.

ShamilSd-ux commented 3 weeks ago

telegram: api_id: 297 api_hash: "fa4f699c4a356b8a" token: "6284071JGnKr7FEeE" lang_code: !!str "en" max_upload_tasks: 50 url_validation_regexes:

ytdlp: version_check_enabled: !!bool True version_check_interval: 86400 notify_users_on_new_version: !!bool True release_channel: "NIGHTLY"

ShamilSd-ux commented 3 weeks ago

Config is like in the above format. I have modified it but still it is giving error. kindly rectify asap.

tropicoo commented 3 weeks ago

Try to run with one account and add one by one to see where is your mistake

ShamilSd-ux commented 3 weeks ago

Yeah It works for 1st account now but uploading is taking much more time than before for a 20 min 250 mb video...

ShamilSd-ux commented 3 weeks ago

Shout we add this line " is_admin: !!bool True" to groups and channels too!?

ShamilSd-ux commented 3 weeks ago

image Yes, that's the problem. It would be great if any manual is prepared in your free time and push it. I am grateful and appreciate your service and hope you implement my suggestion...

tropicoo commented 3 weeks ago

Shout we add this line " is_admin: !!bool True" to groups and channels too!?

It's the section variable. You decide to set it to True or False but the variable must be present. It's clearly written in the error message.

ShamilSd-ux commented 3 weeks ago

What is its purpose?.

tropicoo commented 3 weeks ago

Currently it's used only to send message when new yt-dlp version is found.

ShamilSd-ux commented 3 weeks ago

messages when a new yt-dlp version is found are coming even if admin is set to false!...

ShamilSd-ux commented 2 weeks ago

oad_tmpfs/downloading/tmp_media_dir-tljkshs3/방콕의 길거리 랍스터 구이 - thai street food.jpg'): '49.9KiB'} ytt_worker | 2024-06-19 15:38:50,568 - [INFO] - [MediaDownloader:162] - Moving "/tmp/download_tmpfs/downloading/tmp_media_dir-tljkshs3/방콕의 길거리 랍스터 구이 - thai street food.mp4" to "/tmp/download_tmpfs/downloaded/fyko/방콕의 길거리 랍스터 구이 - thai street food.mp4" ytt_worker | 2024-06-19 15:38:50,569 - [INFO] - [MediaDownloader:215] - Found downloaded thumbnail: "방콕의 길거리 랍스터 구이 - thai street food.jpg" [49.9KiB] ytt_worker | 2024-06-19 15:38:50,569 - [INFO] - [MediaDownloader:100] - Removing temporary download directory "/tmp/download_tmpfs/downloading/tmp_media_dir-tljkshs3" with leftover files {} ytt_worker | 2024-06-19 15:38:50,579 - [INFO] - [MakeThumbnailTask:32] - Creating thumbnail with command "ffmpeg -y -loglevel error -ss 10.0 -i "/tmp/download_tmpfs/downloaded/fyko/방콕의 길거리 랍스터 구이 - thai street food.mp4" -vframes 1 -q:v 7 "/tmp/download_tmpfs/downloaded/fyko/방콕의 길거리 랍스터 구이 - thai street food.jpg"" ytt_worker | 2024-06-19 15:38:51,043 - [INFO] - [MakeThumbnailTask:38] - Process ffmpeg -y -loglevel error -ss 10.0 -i "/tmp/download_tmpfs/downloaded/fyko/방콕의 길거리 랍스터 구이 - thai street food.mp4" -vframes 1 -q:v 7 "/tmp/download_tmpfs/downloaded/fyko/방콕의 길거리 랍스터 구이 - thai street food.jpg" returncode: 0, stdout: , stderr: ytt_worker | 2024-06-19 15:38:51,091 - [INFO] - [RMQCallbacks:35] - Processing done with payload: id=None from_chat_id=6110764784 from_chat_type=<TelegramChatType.PRIVATE: 'private'> from_user_id=6110764784 message_id=1232 ack_message_id=1233 url='https://www.youtube.com/shorts/ek5rRIqy398' original_url='https://www.youtube.com/shorts/ek5rRIqy398' source=<TaskSource.BOT: 'BOT'> save_to_storage=False download_media_type=<DownMediaType.VIDEO: 'VIDEO'> custom_filename=None automatic_extension=False added_at=datetime.datetime(2024, 6, 19, 15, 38, 46, 526066, tzinfo=TzInfo(UTC)) ytt_bot | 2024-06-19 15:38:51,524 - [INFO] - [VideoUploadTask:137] - Uploading "방콕의 길거리 랍스터 구이 - thai street food.mp4" [25.1MiB] [cached: False] to chat id "6110764784"

ShamilSd-ux commented 2 weeks ago

Uploading is taking do much time

tropicoo commented 2 weeks ago

Check in bot container that you have tgcrypto-pyrofork installed

ShamilSd-ux commented 2 weeks ago

image Uploading..................................................

ShamilSd-ux commented 2 weeks ago

t_bot | 2024-06-19 16:29:22,647 - [INFO] - [BotLauncher:87] - Starting "Challenger" yt_bot | 2024-06-19 16:29:22,647 - [INFO] - [VideoBotClient:48] - Sending welcome message yt_bot | 2024-06-19 16:29:24,289 - [INFO] - [RabbitWorkerManager:29] - Starting ErrorDownloadResultWorker yt_bot | 2024-06-19 16:29:24,290 - [INFO] - [RabbitWorkerManager:29] - Starting SuccessDownloadResultWorker yt_bot | 2024-06-19 16:29:24,291 - [INFO] - [YtdlpNewVersionNotifyTask:40] - Checking for new NIGHTLY yt-dlp version yt_bot | 2024-06-19 16:29:24,385 - [INFO] - [YtdlpVersionChecker:30] - Current yt-dlp version: 2024.06.17.232743 yt_bot | 2024-06-19 16:29:24,913 - [INFO] - [YtdlpVersionChecker:25] - Latest yt-dlp version: 2024.06.17.232743 yt_bot | 2024-06-19 16:29:26,421 - [INFO] - [YtdlpNewVersionNotifyTask:47] - Next NIGHTLY yt-dlp version check planned at 2024-06-20 16:29:26+00:00 yt_worker | 2024-06-19 16:30:05,883 - [INFO] - [RMQCallbacks:25] - [x] Received message b'{"id":null,"from_chat_id":6110764784,"from_chat_type":"private","from_user_id":6110764784,"message_id":7854,"ack_message_id":7855,"url":"https://www.youtube.com/shorts/ek5rRIqy398","original_url":"https://www.youtube.com/shorts/ek5rRIqy398","source":"BOT","save_to_storage":false,"download_media_type":"VIDEO","custom_filename":null,"automatic_extension":false,"added_at":"2024-06-19T16:30:05.876669Z"}' yt_worker | 2024-06-19 16:30:05,892 - [INFO] - [DefaultHost:79] - Instantiating "DefaultHost" for url "https://www.youtube.com/shorts/ek5rRIqy398"yt_worker | 2024-06-19 16:30:05,897 - [INFO] - [MediaDownloader:54] - Downloading https://www.youtube.com/shorts/ek5rRIqy398, media_type VIDEO yt_worker | [debug] Override config: ['--output', '%(title).200B.%(ext)s', '--no-playlist', '--playlist-items', '1:1', '--concurrent-fragments', '5', '--ignore-errors', '--verbose', '--format', 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4', '--write-thumbnail', '--convert-thumbnails', 'jpg', '--format-sort', 'res,vcodec:h265,h264'] yt_worker | [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI) yt_worker | [debug] yt-dlp version nightly@2024.06.17.232743 from yt-dlp/yt-dlp-nightly-builds [90c3721a3] (pip) API yt_worker | [debug] params: {'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4', 'format_sort': ['res', 'vcodec:h265', 'h264'], 'outtmpl': {'default': '/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/%(title).200B.%(ext)s'}, 'ignoreerrors': True, 'concurrent_fragment_downloads': 5, 'noplaylist': True, 'writethumbnail': True, 'verbose': True, 'postprocessors': [{'key': 'FFmpegThumbnailsConvertor', 'format': 'jpg', 'when': 'before_dl'}], 'playlist_items': '1:1', 'compat_opts': set(), 'http_headers': {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8', 'Accept-Language': 'en-us,en;q=0.5', 'Sec-Fetch-Mode': 'navigate'}} yt_worker | [debug] Python 3.12.4 (CPython aarch64 64bit) - Linux-5.15.0-1064-realtime-aarch64-with (OpenSSL 3.3.1 4 Jun 2024) yt_worker | [debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1 yt_worker | [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.06.02, mutagen-1.47.0, requests-2.32.3, sqlite3-3.45.3, urllib3-2.2.2, websockets-12.0 yt_worker | [debug] Proxy map: {} yt_worker | [debug] Request Handlers: urllib, requests, websockets yt_worker | [debug] Loaded 1823 extractors yt_worker | 2024-06-19 16:30:05,976 - [INFO] - [MediaDownloader:64] - Downloading https://www.youtube.com/shorts/ek5rRIqy398 yt_worker | 2024-06-19 16:30:05,976 - [INFO] - [MediaDownloader:65] - Downloading to /tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h yt_worker | 2024-06-19 16:30:05,976 - [INFO] - [MediaDownloader:66] - Downloading with options {'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4', 'format_sort': ['res', 'vcodec:h265', 'h264'], 'outtmpl': {'default': '/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/%(title).200B.%(ext)s', 'chapter': '%(title)s - %(section_number)03d %(section_title)s [%(id)s].%(ext)s'}, 'ignoreerrors': True, 'concurrent_fragment_downloads': 5, 'noplaylist': True, 'writethumbnail': True, 'verbose': True, 'postprocessors': [{'key': 'FFmpegThumbnailsConvertor', 'format': 'jpg', 'when': 'before_dl'}], 'playlist_items': '1:1', 'compat_opts': set(), 'http_headers': {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8', 'Accept-Language': 'en-us,en;q=0.5', 'Sec-Fetch-Mode': 'navigate'}, 'forceprint': {}, 'print_to_file': {}} yt_worker | [youtube] Extracting URL: https://www.youtube.com/shorts/ek5rRIqy398 yt_worker | [youtube] ek5rRIqy398: Downloading webpage yt_worker | [youtube] ek5rRIqy398: Downloading ios player API JSON yt_worker | [debug] Loading youtube-nsig.84314bef from cache yt_worker | [debug] [youtube] Decrypted nsig Uw2HAg9CSE9OvJkK4A => HMaxnJnawEierQ yt_worker | [debug] Loading youtube-nsig.84314bef from cache yt_worker | [debug] [youtube] Decrypted nsig MH09-qnEoGlSLcKSpr => n46UmJXmvugWRQ yt_worker | [youtube] ek5rRIqy398: Downloading m3u8 information yt_worker | [debug] Sort order given by user: res, vcodec:h265, h264 yt_worker | [debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto yt_worker | [debug] Formats sorted by: hasvid, ie_pref, res, vcodec:h265(8), h264, quality, fps, hdr:12(7), source, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id yt_worker | [info] ek5rRIqy398: Downloading 1 format(s): 137+140 yt_worker | [info] Downloading video thumbnail 44 ... yt_worker | [info] Writing video thumbnail 44 to: /tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.webp yt_worker | [ThumbnailsConvertor] Converting thumbnail "/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.webp" to jpg yt_worker | [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -f image2 -pattern_type none -i 'file:/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.webp' -update 1 -bsf:v mjpeg2jpeg -movflags +faststart 'file:/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.jpg' yt_worker | Deleting original file /tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.webp (pass -k to keep) yt_worker | [debug] Invoking http downloader on "https://rr4---sn-aigzrnz7.googlevideo.com/videoplayback?expire=1718836206&ei=jgdzZqm6MOqtvdIP9oSH8Ak&ip=132.226.212.107&id=o-ANamYNy2DjU2Ai1uAusJGtjheeoeAiRats4hluwN2cFQ&itag=137&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=Qk&mm=31%2C26&mn=sn-aigzrnz7%2Csn-5hnekn7z&ms=au%2Conr&mv=m&mvi=4&pl=21&initcwndbps=653750&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=25438553&dur=54.087&lmt=1718773485019265&mt=1718814321&fvip=1&keepalive=yes&c=IOS&txp=453C434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhAI6DsNddCQ1LkhpkfjdThOVAAOm9tGpNTKo4DLVXMjKxAiEAvd9f4nu-HYwoplU18DVUESq4jHroqaa-XKLjNFihF_4%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRgIhAKrAne_10eesyqgv9bVkKTqtFQ6u-hhtQE4ZAk8iP3OUAiEApKcAYwRcxMh_lPSF-hrEjlRXG2ssLNyDkkwSE8zN4fg%3D" yt_worker | [download] Destination: /tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.f137.mp4 [download] 100% of 24.26MiB in 00:00:00 at 68.71MiB/s
yt_worker | [debug] Invoking http downloader on "https://rr4---sn-aigzrnz7.googlevideo.com/videoplayback?expire=1718836206&ei=jgdzZqm6MOqtvdIP9oSH8Ak&ip=132.226.212.107&id=o-ANamYNy2DjU2Ai1uAusJGtjheeoeAiRats4hluwN2cFQ&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=Qk&mm=31%2C26&mn=sn-aigzrnz7%2Csn-5hnekn7z&ms=au%2Conr&mv=m&mvi=4&pl=21&initcwndbps=653750&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=877415&dur=54.148&lmt=1718772812065803&mt=1718814321&fvip=1&keepalive=yes&c=IOS&txp=4532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgc1Nbg88tF34jbPi9ec7lRmC9xb36TGKYDI54M-v5kDoCIBcoCQFSZwjzE283KxBrshUDe0CN8WzoxpPLxgPKHm_A&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRgIhAKrAne_10eesyqgv9bVkKTqtFQ6u-hhtQE4ZAk8iP3OUAiEApKcAYwRcxMh_lPSF-hrEjlRXG2ssLNyDkkwSE8zN4fg%3D" yt_worker | [download] Destination: /tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.f140.m4a [download] 100% of 856.85KiB in 00:00:00 at 32.68MiB/s
yt_worker | [Merger] Merging formats into "/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.mp4" yt_worker | [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.f137.mp4' -i 'file:/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart 'file:/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.temp.mp4' yt_worker | Deleting original file /tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.f137.mp4 (pass -k to keep) yt_worker | Deleting original file /tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.f140.m4a (pass -k to keep) yt_worker | 2024-06-19 16:30:09,189 - [INFO] - [MediaDownloader:82] - Finished downloading https://www.youtube.com/shorts/ek5rRIqy398 yt_worker | 2024-06-19 16:30:09,190 - [INFO] - [MediaDownloader:84] - Content of "/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h": {PosixPath('/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.mp4'): '25.1MiB', PosixPath('/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.jpg'): '49.9KiB'} yt_worker | 2024-06-19 16:30:09,190 - [INFO] - [MediaDownloader:162] - Moving "/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h/방콕의 길거리 랍스터 구이 - thai street food.mp4" to "/tmp/download_tmpfs/downloaded/bmof/방콕의 길거리 랍스터 구이 - thai street food.mp4" yt_worker | 2024-06-19 16:30:09,190 - [INFO] - [MediaDownloader:215] - Found downloaded thumbnail: "방콕의 길거리 랍스터 구이 - thai street food.jpg" [49.9KiB] yt_worker | 2024-06-19 16:30:09,191 - [INFO] - [MediaDownloader:100] - Removing temporary download directory "/tmp/download_tmpfs/downloading/tmp_media_dir-lyba_f4h" with leftover files {} yt_worker | 2024-06-19 16:30:09,193 - [INFO] - [MakeThumbnailTask:32] - Creating thumbnail with command "ffmpeg -y -loglevel error -ss 10.0 -i "/tmp/download_tmpfs/downloaded/bmof/방콕의 길거리 랍스터 구이 - thai street food.mp4" -vframes 1 -q:v 7 "/tmp/download_tmpfs/downloaded/bmof/방콕의 길거리 랍스터 구이 - thai street food.jpg"" yt_worker | 2024-06-19 16:30:09,505 - [INFO] - [MakeThumbnailTask:38] - Process ffmpeg -y -loglevel error -ss 10.0 -i "/tmp/download_tmpfs/downloaded/bmof/방콕의 길거리 랍스터 구이 - thai street food.mp4" -vframes 1 -q:v 7 "/tmp/download_tmpfs/downloaded/bmof/방콕의 길거리 랍스터 구이 - thai street food.jpg" returncode: 0, stdout: , stderr: yt_worker | 2024-06-19 16:30:09,530 - [INFO] - [RMQCallbacks:35] - Processing done with payload: id=None from_chat_id=6110764784 from_chat_type=<TelegramChatType.PRIVATE: 'private'> from_user_id=6110764784 message_id=7854 ack_message_id=7855 url='https://www.youtube.com/shorts/ek5rRIqy398' original_url='https://www.youtube.com/shorts/ek5rRIqy398' source=<TaskSource.BOT: 'BOT'> save_to_storage=False download_media_type=<DownMediaType.VIDEO: 'VIDEO'> custom_filename=None automatic_extension=False added_at=datetime.datetime(2024, 6, 19, 16, 30, 5, 876669, tzinfo=TzInfo(UTC)) yt_bot | 2024-06-19 16:30:09,924 - [INFO] - [VideoUploadTask:137] - Uploading "방콕의 길거리 랍스터 구이 - thai street food.mp4" [25.1MiB] [cached: False] to chat id "6110764784" yt_bot | 2024-06-19 16:44:13,987 - [WARNING] - [pyrogram.session.session:422] - [10] Retrying "upload.SaveBigFilePart" due to: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bd67230>; the handler is closed yt_bot | 2024-06-19 16:44:13,988 - [WARNING] - [pyrogram.session.session:422] - [10] Retrying "upload.SaveBigFilePart" due to: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bd67230>; the handler is closed yt_bot | 2024-06-19 16:45:16,502 - [WARNING] - [pyrogram.session.session:422] - [10] Retrying "upload.SaveBigFilePart" due to: [Errno 32] Broken pipe yt_bot | 2024-06-19 16:45:16,504 - [ERROR] - [pyrogram.methods.advanced.save_file:112] - unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3f040>; the handler is closed yt_bot | Traceback (most recent call last): yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/methods/advanced/save_file.py", line 110, in worker yt_bot | await session.invoke(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | [Previous line repeated 7 more times] yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 420, in invoke yt_bot | raise e from None yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 407, in invoke yt_bot | return await self.send(query, timeout=timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 347, in send yt_bot | raise e yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 344, in send yt_bot | await self.connection.send(payload) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/connection.py", line 71, in send yt_bot | await self.protocol.send(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp_abridged.py", line 39, in send yt_bot | await super().send( yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp.py", line 105, in send yt_bot | raise OSError(e) yt_bot | OSError: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3f040>; the handler is closed yt_bot | 2024-06-19 16:45:16,510 - [ERROR] - [pyrogram.methods.advanced.save_file:112] - unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3f040>; the handler is closed yt_bot | Traceback (most recent call last): yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/methods/advanced/save_file.py", line 110, in worker yt_bot | await session.invoke(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | [Previous line repeated 7 more times] yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 420, in invoke yt_bot | raise e from None yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 407, in invoke yt_bot | return await self.send(query, timeout=timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 347, in send yt_bot | raise e yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 344, in send yt_bot | await self.connection.send(payload) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/connection.py", line 71, in send yt_bot | await self.protocol.send(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp_abridged.py", line 39, in send yt_bot | await super().send( yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp.py", line 105, in send yt_bot | raise OSError(e) yt_bot | OSError: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3f040>; the handler is closed yt_bot | 2024-06-19 16:56:33,434 - [ERROR] - [asyncio:118] - Task exception was never retrieved yt_bot | future: <Task finished name='Task-569' coro=<Session.restart() done, defined at /usr/local/lib/python3.12/site-packages/pyrogram/session/session.py:186> exception=RuntimeError('read() called while another coroutine is already waiting for incoming data') created at /usr/local/lib/python3.12/site-packages/pyrogram/session/session.py:316> yt_bot | source_traceback: Object created at (most recent call last): yt_bot | File "/app/main.py", line 19, in yt_bot | asyncio.run(main()) yt_bot | File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run yt_bot | return runner.run(main) yt_bot | File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run yt_bot | return self._loop.run_until_complete(task) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 316, in recv_worker yt_bot | self.loop.create_task(self.restart()) yt_bot | Traceback (most recent call last): yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 187, in restart yt_bot | await self.stop() yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 176, in stop yt_bot | await self.recv_task yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 304, in recv_worker yt_bot | packet = await self.connection.recv() yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/connection.py", line 74, in recv yt_bot | return await self.protocol.recv() yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp_abridged.py", line 47, in recv yt_bot | length = await super().recv(1) yt_bot | ^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp.py", line 112, in recv yt_bot | chunk = await asyncio.wait_for( yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for yt_bot | return await fut yt_bot | ^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/asyncio/streams.py", line 713, in read yt_bot | await self._wait_for_data('read') yt_bot | File "/usr/local/lib/python3.12/asyncio/streams.py", line 531, in _wait_for_data yt_bot | raise RuntimeError( yt_bot | RuntimeError: read() called while another coroutine is already waiting for incoming data yt_bot | 2024-06-19 16:57:40,084 - [WARNING] - [pyrogram.session.session:422] - [10] Retrying "upload.SaveBigFilePart" due to: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | 2024-06-19 16:57:40,091 - [WARNING] - [pyrogram.session.session:422] - [10] Retrying "upload.SaveBigFilePart" due to: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | 2024-06-19 16:57:55,599 - [ERROR] - [pyrogram.methods.advanced.save_file:112] - unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | Traceback (most recent call last): yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/methods/advanced/save_file.py", line 110, in worker yt_bot | await session.invoke(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | [Previous line repeated 7 more times] yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 420, in invoke yt_bot | raise e from None yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 407, in invoke yt_bot | return await self.send(query, timeout=timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 347, in send yt_bot | raise e yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 344, in send yt_bot | await self.connection.send(payload) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/connection.py", line 71, in send yt_bot | await self.protocol.send(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp_abridged.py", line 39, in send yt_bot | await super().send( yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp.py", line 105, in send yt_bot | raise OSError(e) yt_bot | OSError: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | 2024-06-19 16:57:55,609 - [ERROR] - [pyrogram.methods.advanced.save_file:112] - unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | Traceback (most recent call last): yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/methods/advanced/save_file.py", line 110, in worker yt_bot | await session.invoke(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | [Previous line repeated 7 more times] yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 420, in invoke yt_bot | raise e from None yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 407, in invoke yt_bot | return await self.send(query, timeout=timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 347, in send yt_bot | raise e yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 344, in send yt_bot | await self.connection.send(payload) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/connection.py", line 71, in send yt_bot | await self.protocol.send(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp_abridged.py", line 39, in send yt_bot | await super().send( yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp.py", line 105, in send yt_bot | raise OSError(e) yt_bot | OSError: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | 2024-06-19 16:58:11,102 - [WARNING] - [pyrogram.session.session:422] - [10] Retrying "upload.SaveBigFilePart" due to: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | 2024-06-19 16:58:26,613 - [ERROR] - [pyrogram.methods.advanced.save_file:112] - unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | Traceback (most recent call last): yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/methods/advanced/save_file.py", line 110, in worker yt_bot | await session.invoke(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | [Previous line repeated 7 more times] yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 420, in invoke yt_bot | raise e from None yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 407, in invoke yt_bot | return await self.send(query, timeout=timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 347, in send yt_bot | raise e yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 344, in send yt_bot | await self.connection.send(payload) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/connection.py", line 71, in send yt_bot | await self.protocol.send(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp_abridged.py", line 39, in send yt_bot | await super().send( yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp.py", line 105, in send yt_bot | raise OSError(e) yt_bot | OSError: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | 2024-06-19 16:58:27,004 - [WARNING] - [pyrogram.session.session:422] - [10] Retrying "upload.SaveBigFilePart" due to: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | 2024-06-19 16:58:42,515 - [ERROR] - [pyrogram.methods.advanced.save_file:112] - unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed yt_bot | Traceback (most recent call last): yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/methods/advanced/save_file.py", line 110, in worker yt_bot | await session.invoke(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | [Previous line repeated 7 more times] yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 420, in invoke yt_bot | raise e from None yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 407, in invoke yt_bot | return await self.send(query, timeout=timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 347, in send yt_bot | raise e yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 344, in send yt_bot | await self.connection.send(payload) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/connection.py", line 71, in send yt_bot | await self.protocol.send(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp_abridged.py", line 39, in send yt_bot | await super().send( yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp.py", line 105, in send yt_bot | raise OSError(e) yt_bot | OSError: unable to perform operation on <TCPTransport closed=True reading=False 0xffff8bf3ffe0>; the handler is closed

ShamilSd-ux commented 2 weeks ago

Kindly give any update...

tropicoo commented 2 weeks ago

Your issues are not related to bot but to your connectivity to Telegram servers.

ShamilSd-ux commented 2 weeks ago

image false,"added_at":"2024-06-21T16:51:54.766209Z"}' yt_worker | 2024-06-21 16:51:54,867 - [INFO] - [DefaultHost:79] - Instantiating "DefaultHost" for url "https://www.youtube.com/shorts/VCf9lwJ94V0"yt_worker | 2024-06-21 16:51:54,876 - [INFO] - [MediaDownloader:54] - Downloading https://www.youtube.com/shorts/VCf9lwJ94V0, media_type VIDEO yt_worker | [debug] Override config: ['--output', '%(title).200B.%(ext)s', '--no-playlist', '--playlist-items', '1:1', '--concurrent-fragments', '5', '--ignore-errors', '--verbose', '--format', 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4', '--write-thumbnail', '--convert-thumbnails', 'jpg', '--format-sort', 'res,vcodec:h265,h264'] yt_worker | [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI) yt_worker | [debug] yt-dlp version nightly@2024.06.20.232815 from yt-dlp/yt-dlp-nightly-builds [7aa322c02] (pip) API yt_worker | [debug] params: {'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4', 'format_sort': ['res', 'vcodec:h265', 'h264'], 'outtmpl': {'default': '/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/%(title).200B.%(ext)s'}, 'ignoreerrors': True, 'concurrent_fragment_downloads': 5, 'noplaylist': True, 'writethumbnail': True, 'verbose': True, 'postprocessors': [{'key': 'FFmpegThumbnailsConvertor', 'format': 'jpg', 'when': 'before_dl'}], 'playlist_items': '1:1', 'compat_opts': set(), 'http_headers': {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8', 'Accept-Language': 'en-us,en;q=0.5', 'Sec-Fetch-Mode': 'navigate'}} yt_worker | [debug] Python 3.12.4 (CPython aarch64 64bit) - Linux-5.15.0-1064-realtime-aarch64-with (OpenSSL 3.3.1 4 Jun 2024) yt_worker | [debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1 yt_worker | [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.06.02, mutagen-1.47.0, requests-2.32.3, sqlite3-3.45.3, urllib3-2.2.2, websockets-12.0 yt_worker | [debug] Proxy map: {} yt_worker | [debug] Request Handlers: urllib, requests, websockets yt_worker | [debug] Loaded 1823 extractors yt_worker | 2024-06-21 16:51:55,283 - [INFO] - [MediaDownloader:64] - Downloading https://www.youtube.com/shorts/VCf9lwJ94V0 yt_worker | 2024-06-21 16:51:55,283 - [INFO] - [MediaDownloader:65] - Downloading to /tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc yt_worker | 2024-06-21 16:51:55,283 - [INFO] - [MediaDownloader:66] - Downloading with options {'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4', 'format_sort': ['res', 'vcodec:h265', 'h264'], 'outtmpl': {'default': '/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/%(title).200B.%(ext)s', 'chapter': '%(title)s - %(section_number)03d %(section_title)s [%(id)s].%(ext)s'}, 'ignoreerrors': True, 'concurrent_fragment_downloads': 5, 'noplaylist': True, 'writethumbnail': True, 'verbose': True, 'postprocessors': [{'key': 'FFmpegThumbnailsConvertor', 'format': 'jpg', 'when': 'before_dl'}], 'playlist_items': '1:1', 'compat_opts': set(), 'http_headers': {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8', 'Accept-Language': 'en-us,en;q=0.5', 'Sec-Fetch-Mode': 'navigate'}, 'forceprint': {}, 'print_to_file': {}} yt_worker | [youtube] Extracting URL: https://www.youtube.com/shorts/VCf9lwJ94V0 yt_worker | [youtube] VCf9lwJ94V0: Downloading webpage yt_worker | [youtube] VCf9lwJ94V0: Downloading ios player API JSON yt_worker | [debug] [youtube] Extracting signature function js_84314bef_111 yt_worker | [youtube] VCf9lwJ94V0: Downloading player 84314bef yt_worker | [debug] Saving youtube-sigfuncs.js_84314bef_111 to cache yt_worker | [debug] Saving youtube-nsig.84314bef to cache yt_worker | [debug] [youtube] Decrypted nsig lhG2XwdXqR1g4vBDvc => jZ2I2Z0ooX-JrA yt_worker | [debug] [youtube] Extracting signature function js_84314bef_107 yt_worker | [debug] Saving youtube-sigfuncs.js_84314bef_107 to cache yt_worker | [debug] Loading youtube-nsig.84314bef from cache yt_worker | [debug] [youtube] Decrypted nsig 3ytbgmb7MTWM2SIjar => pNPYt6MN6_n-aQ yt_worker | [youtube] VCf9lwJ94V0: Downloading m3u8 information yt_worker | Deprecated Feature: Using arbitrary fields (h264) for format sorting is deprecated and may be removed in a future version yt_worker | [debug] Sort order given by user: res, vcodec:h265, h264 yt_worker | [debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto yt_worker | [debug] Formats sorted by: hasvid, ie_pref, res, vcodec:h265(8), h264, quality, fps, hdr:12(7), source, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id yt_worker | [info] VCf9lwJ94V0: Downloading 1 format(s): 137+140 yt_worker | [info] Downloading video thumbnail 44 ... yt_worker | [info] Writing video thumbnail 44 to: /tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.webp yt_worker | [ThumbnailsConvertor] Converting thumbnail "/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.webp" to jpg yt_worker | [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -f image2 -pattern_type none -i 'file:/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.webp' -update 1 -bsf:v mjpeg2jpeg -movflags +faststart 'file:/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.jpg' yt_worker | Deleting original file /tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.webp (pass -k to keep) yt_worker | [debug] Invoking http downloader on "https://rr5---sn-aigzrnz7.googlevideo.com/videoplayback?expire=1719010315&ei=q691ZrmROfqzvdIPoM-qoAk&ip=132.226.212.107&id=o-AH7UNzECIl8ZhlyTg4fBzx3U7BIc_p8wRjbU1ODNJ5Pr&itag=137&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=k-&mm=31%2C26&mn=sn-aigzrnz7%2Csn-5hne6nz6&ms=au%2Conr&mv=m&mvi=5&pl=21&initcwndbps=918750&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=24467677&dur=59.999&lmt=1709955266747010&mt=1718988315&fvip=4&keepalive=yes&c=IOS&txp=553C434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAIL4hHPgbgU9BrIGOWGPFkWXfNT5t0tIW-LMZwiIvmGxAiBN4P7Ro9pe4Jtkyh1KiJaX7OB6P8VttIt_2w4x2lwCwA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRgIhAJxuP44jyZWzGTGpGy6W_gKf5q8WRd6Ek18DJU1SPvY8AiEAt_JWqGUSkZOEZTyT_F6wXLoqvYyJrulAGQWSijCV7tw%3D" yt_worker | [download] Destination: /tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.f137.mp4 [download] 100% of 23.33MiB in 00:00:00 at 94.85MiB/s
yt_worker | [debug] Invoking http downloader on "https://rr5---sn-aigzrnz7.googlevideo.com/videoplayback?expire=1719010315&ei=q691ZrmROfqzvdIPoM-qoAk&ip=132.226.212.107&id=o-AH7UNzECIl8ZhlyTg4fBzx3U7BIc_p8wRjbU1ODNJ5Pr&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=k-&mm=31%2C26&mn=sn-aigzrnz7%2Csn-5hne6nz6&ms=au%2Conr&mv=m&mvi=5&pl=21&initcwndbps=918750&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=973400&dur=60.070&lmt=1709952770853381&mt=1718988315&fvip=4&keepalive=yes&c=IOS&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhAOBn81uXgASk-avh57SQd56XAAiO8eMZGj0qSvkvyOXLAiEA4vtcVJR3Bvtg7LYse3fjHtuAuVkJgei2mPWUd4VTjJQ%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRgIhAJxuP44jyZWzGTGpGy6W_gKf5q8WRd6Ek18DJU1SPvY8AiEAt_JWqGUSkZOEZTyT_F6wXLoqvYyJrulAGQWSijCV7tw%3D" yt_worker | [download] Destination: /tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.f140.m4a [download] 100% of 950.59KiB in 00:00:00 at 72.76MiB/s
yt_worker | [Merger] Merging formats into "/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.mp4" yt_worker | [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.f137.mp4' -i 'file:/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart 'file:/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.temp.mp4' yt_worker | Deleting original file /tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.f137.mp4 (pass -k to keep) yt_worker | Deleting original file /tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.f140.m4a (pass -k to keep) yt_worker | 2024-06-21 16:51:58,850 - [INFO] - [MediaDownloader:82] - Finished downloading https://www.youtube.com/shorts/VCf9lwJ94V0 yt_worker | 2024-06-21 16:51:58,851 - [INFO] - [MediaDownloader:84] - Content of "/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc": {PosixPath('/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.mp4'): '24.3MiB', PosixPath('/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.jpg'): '55.8KiB'} yt_worker | 2024-06-21 16:51:58,851 - [INFO] - [MediaDownloader:162] - Moving "/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc/Bulls seeing ladies for the first time #cows #bulls #farmlife.mp4" to "/tmp/download_tmpfs/downloaded/uekw/Bulls seeing ladies for the first time #cows #bulls #farmlife.mp4" yt_worker | 2024-06-21 16:51:58,851 - [INFO] - [MediaDownloader:215] - Found downloaded thumbnail: "Bulls seeing ladies for the first time #cows #bulls #farmlife.jpg" [55.8KiB] yt_worker | 2024-06-21 16:51:58,852 - [INFO] - [MediaDownloader:100] - Removing temporary download directory "/tmp/download_tmpfs/downloading/tmp_media_dir-clbxgpmc" with leftover files {} yt_worker | 2024-06-21 16:51:58,862 - [INFO] - [MakeThumbnailTask:32] - Creating thumbnail with command "ffmpeg -y -loglevel error -ss 10.0 -i "/tmp/download_tmpfs/downloaded/uekw/Bulls seeing ladies for the first time #cows #bulls #farmlife.mp4" -vframes 1 -q:v 7 "/tmp/download_tmpfs/downloaded/uekw/Bulls seeing ladies for the first time #cows #bulls #farmlife.jpg"" yt_worker | 2024-06-21 16:51:59,338 - [INFO] - [MakeThumbnailTask:38] - Process ffmpeg -y -loglevel error -ss 10.0 -i "/tmp/download_tmpfs/downloaded/uekw/Bulls seeing ladies for the first time #cows #bulls #farmlife.mp4" -vframes 1 -q:v 7 "/tmp/download_tmpfs/downloaded/uekw/Bulls seeing ladies for the first time #cows #bulls #farmlife.jpg" returncode: 0, stdout: , stderr: yt_worker | 2024-06-21 16:51:59,369 - [INFO] - [RMQCallbacks:35] - Processing done with payload: id=None from_chat_id=-1002117707194 from_chat_type=<TelegramChatType.SUPERGROUP: 'supergroup'> from_user_id=None message_id=649 ack_message_id=650 url='https://www.youtube.com/shorts/VCf9lwJ94V0' original_url='https://www.youtube.com/shorts/VCf9lwJ94V0' source=<TaskSource.BOT: 'BOT'> save_to_storage=False download_media_type=<DownMediaType.VIDEO: 'VIDEO'> custom_filename=None automatic_extension=False added_at=datetime.datetime(2024, 6, 21, 16, 51, 54, 766209, tzinfo=TzInfo(UTC)) yt_bot | 2024-06-21 16:52:00,147 - [INFO] - [VideoUploadTask:137] - Uploading "Bulls seeing ladies for the first time #cows #bulls #farmlife.mp4" [24.3MiB] [cached: False] to chat id "-1002117707194" yt_bot | 2024-06-21 17:06:36,296 - [WARNING] - [pyrogram.session.session:422] - [10] Retrying "upload.SaveBigFilePart" due to: unable to perform operation on <TCPTransport closed=True reading=False 0xffff842339a0>; the handler is closed yt_bot | 2024-06-21 17:06:36,298 - [WARNING] - [pyrogram.session.session:422] - [10] Retrying "upload.SaveBigFilePart" due to: unable to perform operation on <TCPTransport closed=True reading=False 0xffff842339a0>; the handler is closed yt_bot | 2024-06-21 17:09:16,376 - [ERROR] - [pyrogram.methods.advanced.save_file:112] - Request timed out yt_bot | Traceback (most recent call last): yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/methods/advanced/save_file.py", line 110, in worker yt_bot | await session.invoke(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | [Previous line repeated 7 more times] yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 420, in invoke yt_bot | raise e from None yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 407, in invoke yt_bot | return await self.send(query, timeout=timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 358, in send yt_bot | raise TimeoutError("Request timed out") yt_bot | TimeoutError: Request timed out yt_bot | 2024-06-21 17:13:08,039 - [WARNING] - [pyrogram.session.session:422] - [10] Retrying "upload.SaveBigFilePart" due to: Request timed out yt_bot | 2024-06-21 17:14:19,726 - [ERROR] - [pyrogram.methods.advanced.save_file:112] - unable to perform operation on <TCPTransport closed=True reading=False 0xffff84234c70>; the handler is closed yt_bot | Traceback (most recent call last): yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/methods/advanced/save_file.py", line 110, in worker yt_bot | await session.invoke(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 430, in invoke yt_bot | return await self.invoke(query, retries - 1, timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | [Previous line repeated 7 more times] yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 420, in invoke yt_bot | raise e from None yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 407, in invoke yt_bot | return await self.send(query, timeout=timeout) yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 347, in send yt_bot | raise e yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/session/session.py", line 344, in send yt_bot | await self.connection.send(payload) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/connection.py", line 71, in send yt_bot | await self.protocol.send(data) yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp_abridged.py", line 39, in send yt_bot | await super().send( yt_bot | File "/usr/local/lib/python3.12/site-packages/pyrogram/connection/transport/tcp/tcp.py", line 105, in send yt_bot | raise OSError(e) yt_bot | OSError: unable to perform operation on <TCPTransport closed=True reading=False 0xffff84234c70>; the handler is closed ^[

ShamilSd-ux commented 2 weeks ago

Kindly help me with these errors...

tropicoo commented 2 weeks ago

Unfortunately, I cannot do anything here. Try to change your VPC location or switch to another hosting company.

ShamilSd-ux commented 2 weeks ago

I have this server on Oracle cloud. WHy do they bother...!?

tropicoo commented 2 weeks ago

Have no idea

ShamilSd-ux commented 2 weeks ago

I got it resolved. Thank You.

ShamilSd-ux commented 6 days ago

I need just the latest stable version of yt-dlp. Where should I modify the code for that?

tropicoo commented 6 days ago

Change to plain yt_dlp in requirements.txt

ShamilSd-ux commented 6 days ago

Change to plain yt_dlp in requirements.txt

Why did you opt for nightly builds !?.