Comments (8)
When files completed 100 percentage it not send to telegram
from botkaca.
can you send me the logs?
which service that you used? heroku? google cloud? or what?
from botkaca.
Heroku I used logs
2020-09-27T03:26:39.324526+00:00 app[worker.1]: 27-Sep-20 03:26:39 - root - INFO - NetWorkerTask started
2020-09-27T03:26:39.581187+00:00 app[worker.1]: 27-Sep-20 03:26:39 - root - INFO - Started 4 UpdatesWorkerTasks
2020-09-27T03:26:39.581586+00:00 app[worker.1]: 27-Sep-20 03:26:39 - root - INFO - Started 4 DownloadWorkerTasks
2020-09-27T03:26:39.590320+00:00 app[worker.1]: 27-Sep-20 03:26:39 - root - INFO - Started 343 UpdateWorkerTasks
2020-09-27T04:27:02.400975+00:00 app[worker.1]: 27-Sep-20 04:27:02 - bot.plugins.aria2 - INFO - ['aria2c', '--enable-rpc', '--dir=/app/downloads', '--daemon=true', '--max-connection-per-server=10', '--rpc-listen-all=false', '--rpc-listen-port=6800', '--seed-ratio=0', '--seed-time=0']
2020-09-27T04:27:02.413854+00:00 app[worker.1]: 27-Sep-20 04:27:02 - bot.plugins.aria2 - INFO - b''
2020-09-27T08:24:19.152965+00:00 app[worker.1]: 27-Sep-20 08:24:19 - root - INFO - NetWorkerTask started
2020-09-27T09:01:51.408937+00:00 app[worker.1]: 27-Sep-20 09:01:51 - pyrogram.client.ext.dispatcher - ERROR - 'duration'
2020-09-27T09:01:51.408946+00:00 app[worker.1]: Traceback (most recent call last):
2020-09-27T09:01:51.408948+00:00 app[worker.1]: File "/usr/local/lib/python3.8/site-packages/pyrogram/client/ext/dispatcher.py", line 204, in update_worker
2020-09-27T09:01:51.408948+00:00 app[worker.1]: await handler.callback(self.client, *args)
2020-09-27T09:01:51.408949+00:00 app[worker.1]: File "/app/bot/main.py", line 96, in default_message_handler
2020-09-27T09:01:51.408949+00:00 app[worker.1]: return await leech_handler.func(client, message)
2020-09-27T09:01:51.408950+00:00 app[worker.1]: File "/app/bot/handlers/leech_handler.py", line 79, in func
2020-09-27T09:01:51.408950+00:00 app[worker.1]: upload_status = await upload_to_tg_handler.func(
2020-09-27T09:01:51.408951+00:00 app[worker.1]: File "/app/bot/handlers/upload_to_tg_handler.py", line 99, in func
2020-09-27T09:01:51.408952+00:00 app[worker.1]: await upload_fn(
2020-09-27T09:01:51.408952+00:00 app[worker.1]: File "/app/bot/handlers/upload_to_tg_handler.py", line 54, in upload_fn
2020-09-27T09:01:51.408953+00:00 app[worker.1]: duration = int(float(video_stream["duration"])) or 0
2020-09-27T09:01:51.408953+00:00 app[worker.1]: KeyError: 'duration'
from botkaca.
if you still face the bug, please kindly share the magnet link, I might need to replicate the bug exactly same
from botkaca.
/leech magnet:?xt=urn:btih:64460341027673E0FF0AD9CEAC0174E6E4357AB3&dn=www.TamilRockers.ws%20-%20Drona%20%282020%29%5bKannada%20720p%20HDRip%20-%20DD5.1%20-%20x264%20-%201.4GB%20-%20ESubs%5d.mkv&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce
from botkaca.
/leech magnet:?xt=urn:btih:64460341027673E0FF0AD9CEAC0174E6E4357AB3&dn=www.TamilRockers.ws%20-%20Drona%20%282020%29%5bKannada%20720p%20HDRip%20-%20DD5.1%20-%20x264%20-%201.4GB%20-%20ESubs%5d.mkv&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce
with those magnet, looks like the problems comes from the torrent itself since me unable to download the metadata.
from botkaca.
Some torrent files and some files uploaded to website and send not back to telegram
from botkaca.
there are many possible reasons so that the files not upload properly to telegram. Me as the original developer understand that very vividly.
To solve the problem you face, I need to know the service, the log, and torrent uri (could be magnet) that you used so that I can replicate the bug and then work for it.
Heroku I used logs
2020-09-27T03:26:39.324526+00:00 app[worker.1]: 27-Sep-20 03:26:39 - root - INFO - NetWorkerTask started
2020-09-27T03:26:39.581187+00:00 app[worker.1]: 27-Sep-20 03:26:39 - root - INFO - Started 4 UpdatesWorkerTasks
2020-09-27T03:26:39.581586+00:00 app[worker.1]: 27-Sep-20 03:26:39 - root - INFO - Started 4 DownloadWorkerTasks
2020-09-27T03:26:39.590320+00:00 app[worker.1]: 27-Sep-20 03:26:39 - root - INFO - Started 343 UpdateWorkerTasks
2020-09-27T04:27:02.400975+00:00 app[worker.1]: 27-Sep-20 04:27:02 - bot.plugins.aria2 - INFO - ['aria2c', '--enable-rpc', '--dir=/app/downloads', '--daemon=true', '--max-connection-per-server=10', '--rpc-listen-all=false', '--rpc-listen-port=6800', '--seed-ratio=0', '--seed-time=0']
2020-09-27T04:27:02.413854+00:00 app[worker.1]: 27-Sep-20 04:27:02 - bot.plugins.aria2 - INFO - b''
2020-09-27T08:24:19.152965+00:00 app[worker.1]: 27-Sep-20 08:24:19 - root - INFO - NetWorkerTask started
2020-09-27T09:01:51.408937+00:00 app[worker.1]: 27-Sep-20 09:01:51 - pyrogram.client.ext.dispatcher - ERROR - 'duration'
2020-09-27T09:01:51.408946+00:00 app[worker.1]: Traceback (most recent call last):
2020-09-27T09:01:51.408948+00:00 app[worker.1]: File "/usr/local/lib/python3.8/site-packages/pyrogram/client/ext/dispatcher.py", line 204, in update_worker
2020-09-27T09:01:51.408948+00:00 app[worker.1]: await handler.callback(self.client, *args)
2020-09-27T09:01:51.408949+00:00 app[worker.1]: File "/app/bot/main.py", line 96, in default_message_handler
2020-09-27T09:01:51.408949+00:00 app[worker.1]: return await leech_handler.func(client, message)
2020-09-27T09:01:51.408950+00:00 app[worker.1]: File "/app/bot/handlers/leech_handler.py", line 79, in func
2020-09-27T09:01:51.408950+00:00 app[worker.1]: upload_status = await upload_to_tg_handler.func(
2020-09-27T09:01:51.408951+00:00 app[worker.1]: File "/app/bot/handlers/upload_to_tg_handler.py", line 99, in func
2020-09-27T09:01:51.408952+00:00 app[worker.1]: await upload_fn(
2020-09-27T09:01:51.408952+00:00 app[worker.1]: File "/app/bot/handlers/upload_to_tg_handler.py", line 54, in upload_fn
2020-09-27T09:01:51.408953+00:00 app[worker.1]: duration = int(float(video_stream["duration"])) or 0
2020-09-27T09:01:51.408953+00:00 app[worker.1]: KeyError: 'duration'
on this part, refer from the log that you gave me, the problem is due to ffprobe unable to detect video duration from video that ffmpeg produced. This is very uncommon and might be third party issue, in this case ffmpeg or ffprobe. On my test, it works just fine. that why I closed this issue on the first place.
If you face similar issue, you can post it here. if you face different issue, please create new issue on github. Thanks.
from botkaca.
Related Issues (20)
- cant download from particular sites
- BOT PASS HOT 1
- Add unzip support
- Add unzip support
- Add Youtube-dl Support To this project
- Fix Auto Generate Thumbnail
- Tagging the user after finishing the download
- /upload_as_zip crashes while uploading more than ~200mbs
- Please add .torrent file support
- Unzip feature
- command with mention not working on group
- ๐จpyrogram Removed Asyncio๐จ....๐ถ๐ถ HOT 2
- ๐ No response To magnets ๐ HOT 1
- None HOT 2
- Error on uploading files to telegram
- Error on uploading files to telegram HOT 1
- Hi
- Renaming for Direct links
- help me to Deploy this app , I give warning
- enable to deploy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botkaca.