Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 下载200个左右就开始报错了 #190

Open
cs-pangge opened this issue Aug 15, 2024 · 6 comments
Open

[Bug]: 下载200个左右就开始报错了 #190

cs-pangge opened this issue Aug 15, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@cs-pangge
Copy link

telegram_media_downloader version or commit

2.2.4

What OS are you seeing the problem on?

Mac

Python Version

3.8.19

What happened?

A bug happened!2024-08-15 13:21:57.977 | WARNING | main:_check_download_finish:74 - Media downloaded with wrong size: 208666624, actual: 1310459263, file name:
2024-08-15 13:21:57.985 | WARNING | main:download_media:453 - Message[867]: file reference expired, refetching...
[13:22:01] ERROR Request timed out client.py:1086
Traceback (most recent call last):
File "/Users/pangge/.pyenv/versions/3.8.19/lib/python3.8/site-packages/pyrogram/client.py", line 990, in get_file
r = await session.invoke(
File "/Users/pangge/.pyenv/versions/3.8.19/lib/python3.8/site-packages/pyrogram/session/session.py", line 424, in invoke
return await self.invoke(query, retries - 1, timeout)
File "/Users/pangge/.pyenv/versions/3.8.19/lib/python3.8/site-packages/pyrogram/session/session.py", line 424, in invoke
return await self.invoke(query, retries - 1, timeout)
File "/Users/pangge/.pyenv/versions/3.8.19/lib/python3.8/site-packages/pyrogram/session/session.py", line 424, in invoke
return await self.invoke(query, retries - 1, timeout)
[Previous line repeated 7 more times]
File "/Users/pangge/.pyenv/versions/3.8.19/lib/python3.8/site-packages/pyrogram/session/session.py", line 414, in invoke
raise e from None
File "/Users/pangge/.pyenv/versions/3.8.19/lib/python3.8/site-packages/pyrogram/session/session.py", line 401, in invoke
return await self.send(query, timeout=timeout)
File "/Users/pangge/.pyenv/versions/3.8.19/lib/python3.8/site-packages/pyrogram/session/session.py", line 363, in send
raise TimeoutError("Request timed out")
TimeoutError: Request timed out

Expected Behavior

能一直持续下载

Current Behavior

下载连续报错

Possible Solution

No response

Steps to Reproduce

No response

Relevant log output

No response

@cs-pangge cs-pangge added the bug Something isn't working label Aug 15, 2024
@cs-pangge
Copy link
Author

是不是TG api有用量限制,这个问题观察很久,每天只能下载一定数量,然后就开始报错,第二天重试就可以,然后继续下载一定数量就开始报错。

@lancer-wang
Copy link

降到2.2.3 有效,不过我现在不知道为什么降不了了

@tangyoha
Copy link
Owner

降到2.2.3 有效,不过我现在不知道为什么降不了了

可能是pyrogram库还是有问题,过几天想办法回滚下

@lancer-wang
Copy link

降到2.2.3 有效,不过我现在不知道为什么降不了了

可能是pyrogram库还是有问题,过几天想办法回滚下

使用2.2.3报这个
image

@lancer-wang
Copy link

Original error was: Error loading shared library libopenblas.so.3: No such file or directory (needed by /usr/local/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-aarch64-linux-musl.so)

@zhao-heng-sheng
Copy link

zhao-heng-sheng commented Dec 7, 2024

我遇到情况是到190个左右就会自动停掉,删除掉data.yaml文件里的内容后再次运行就正常了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants