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

Download log messages will freeze after a while #60

Closed
ghost opened this issue Nov 27, 2022 · 6 comments
Closed

Download log messages will freeze after a while #60

ghost opened this issue Nov 27, 2022 · 6 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ghost
Copy link

ghost commented Nov 27, 2022

System info:
Windows11 x64 Windows 终端 version: 1.15.2875.0 (PowerShell)管理员权限运行

Logs will stop after a while when doing batch downloads, but the download behavior continues. This causes me don't know when the download is finish.
And I found out that it can't download all the media files of the group, I do a batch download in a group with 20k+ files and only get 800+ media files, I have to try to download it by month and month.

I'm not sure if this is a bug or an isolated case, I'll keep trying and provide useful info. See attachment for details, it gets stuck in this place and no longer shows progress bar.

QQ截图20221127173944

@iyear
Copy link
Owner

iyear commented Nov 27, 2022

Thanks for the feedback. The conditions for reproduction and debugging are complex. I first need to spend some time debugging the upstream libraries to troubleshoot them.

@iyear iyear self-assigned this Nov 27, 2022
@iyear iyear added bug Something isn't working help wanted Extra attention is needed labels Nov 27, 2022
@iyear
Copy link
Owner

iyear commented Nov 29, 2022

I've submitted a PR to the upstream repo jedib0t/go-pretty#246 to fix overall tracker disappearing.

I will release a new fix version. https://github.com/iyear/tdl/releases/tag/v0.5.4

@suujonH
Copy link

suujonH commented Dec 2, 2022

Version: 0.5.4
The bug seems to be still here.

Test case

There is 10 photo files:
https://t.me/PocoPhonePhotography/535506
https://t.me/PocoPhonePhotography/535544
https://t.me/PocoPhonePhotography/535546
https://t.me/PocoPhonePhotography/535547
https://t.me/PocoPhonePhotography/535668
https://t.me/PocoPhonePhotography/535682
https://t.me/PocoPhonePhotography/535690
https://t.me/PocoPhonePhotography/535691
https://t.me/PocoPhonePhotography/535795
https://t.me/PocoPhonePhotography/535838

tdl -n senrax dl -u https://t.me/PocoPhonePhotography/535506 -u https://t.me/PocoPhonePhotography/535544 -u https://t.me/PocoPhonePhotography/535546 -u https://t.me/PocoPhonePhotography/535547 -u https://t.me/PocoPhonePhotography/535668 -u https://t.me/PocoPhonePhotography/535682 -u https://t.me/PocoPhonePhotography/535690 -u https://t.me/PocoPhonePhotography/535691 -u https://t.me/PocoPhonePhotography/535795 -u https://t.me/PocoPhonePhotography/535838
D:\ProgramData\TelegramDownloader>tdl version
Version: 0.5.4
Commit: 3027d60
Date: 2022-11-29T02:37:49Z

go1.18.8 windows/amd64

D:\ProgramData\TelegramDownloader>tdl -n senrax dl -u https://t.me/PocoPhonePhotography/535506 -u https://t.me/PocoPhonePhotography/535544 -u https://t.me/PocoPhonePhotography/535546 -u https://t.me/PocoPhonePhotography/535547 -u https://t.me/PocoPhonePhotography/535668 -u https://t.me/PocoPhonePhotography/535682 -u https://t.me/PocoPhonePhotography/535690 -u https://t.me/PocoPhonePhotography/535691 -u https://t.me/PocoPhonePhotography/535795 -u https://t.me/PocoPhonePhotography/535838
Namespace: senrax
All files will be downloaded to 'downloads' dir
1180298540_535506_photo-2022-11-23~ ... done! [117.64 KB in 410ms; 240.97 KB/s]
1180298540_535546_photo-2022-11-23~ ... done! [181.45 KB in 193ms; 816.52 KB/s]
1180298540_535547_photo-2022-11-23~ ... done! [195.51 KB in 116ms; 1.49 MB/s]
1180298540_535668_photo-2022-11-24~ ... done! [250.98 KB in 163ms; 1.47 MB/s]
1180298540_535544_sticker_webp      ... done! [18.78 KB in 3.731s; 4.97 KB/s]
1180298540_535682_photo-2022-11-24~ ... done! [47.33 KB in 6.835s; 6.90 KB/s]
1180298540_535690_photo-2022-11-24~ ... done! [118.23 KB in 5.105s; 22.96 KB/s]

D:\ProgramData\TelegramDownloader>del D:\ProgramData\TelegramDownloader\downloads\*
D:\ProgramData\TelegramDownloader\downloads\*, 是否确认(Y/N)? y                                                                                                                                                                                 D:\ProgramData\TelegramDownloader>tdl -n senrax dl -u https://t.me/PocoPhonePhotography/535506 -u https://t.me/PocoPhonePhotography/535544 -u https://t.me/PocoPhonePhotography/535546 -u https://t.me/PocoPhonePhotography/535547 -u https://t.me/PocoPhonePhotography/535668 -u https://t.me/PocoPhonePhotography/535682 -u https://t.me/PocoPhonePhotography/535690 -u https://t.me/PocoPhonePhotography/535691 -u https://t.me/PocoPhonePhotography/535795 -u https://t.me/PocoPhonePhotography/535838
Namespace: senrax
All files will be downloaded to 'downloads' dir
1180298540_535506_photo-2022-11-23~ ... done! [117.64 KB in 367ms; 312.02 KB/s]
1180298540_535546_photo-2022-11-23~ ... done! [181.45 KB in 189ms; 938.29 KB/s]
1180298540_535547_photo-2022-11-23~ ... done! [195.51 KB in 98ms; 1.84 MB/s]
1180298540_535668_photo-2022-11-24~ ... done! [250.98 KB in 102ms; 1.23 MB/s]
1180298540_535544_sticker_webp      ... done! [18.78 KB in 3.488s; 5.35 KB/s]
1180298540_535682_photo-2022-11-24~ ... done! [47.33 KB in 8.175s; 5.77 KB/s]
1180298540_535690_photo-2022-11-24~ ... done! [118.23 KB in 6.845s; 17.08 KB/s]
1180298540_535795_photo-2022-11-25~ ... done! [141.42 KB in 100ms; 1.34 MB/s]
1180298540_535691_photo-2022-11-24~ ... done! [205.10 KB in 2.482s; 80.59 KB/s]
1180298540_535838_photo-2022-11-25~ ... done! [76.40 KB in 105ms; 383.19 KB/s]

D:\ProgramData\TelegramDownloader>del D:\ProgramData\TelegramDownloader\downloads\*
D:\ProgramData\TelegramDownloader\downloads\*, 是否确认(Y/N)? y                                                                                                                                                                                 D:\ProgramData\TelegramDownloader>tdl -n senrax dl -u https://t.me/PocoPhonePhotography/535506 -u https://t.me/PocoPhonePhotography/535544 -u https://t.me/PocoPhonePhotography/535546 -u https://t.me/PocoPhonePhotography/535547 -u https://t.me/PocoPhonePhotography/535668 -u https://t.me/PocoPhonePhotography/535682 -u https://t.me/PocoPhonePhotography/535690 -u https://t.me/PocoPhonePhotography/535691 -u https://t.me/PocoPhonePhotography/535795 -u https://t.me/PocoPhonePhotography/535838
Namespace: senrax
All files will be downloaded to 'downloads' dir
1180298540_535506_photo-2022-11-23~ ... done! [117.64 KB in 449ms; 223.53 KB/s]
1180298540_535546_photo-2022-11-23~ ... done! [181.45 KB in 268ms; 602.90 KB/s]
1180298540_535547_photo-2022-11-23~ ... done! [195.51 KB in 240ms; 586.08 KB/s]
1180298540_535668_photo-2022-11-24~ ... done! [250.98 KB in 200ms; 660.49 KB/s]
1180298540_535544_sticker_webp      ... done! [18.78 KB in 4.592s; 4.01 KB/s]
1180298540_535682_photo-2022-11-24~ ... done! [47.33 KB in 7.891s; 5.93 KB/s]
1180298540_535690_photo-2022-11-24~ ... done! [118.23 KB in 5.387s; 21.55 KB/s]
1180298540_535691_photo-2022-11-24~ ... done! [205.10 KB in 1.54s; 132.37 KB/s]

D:\ProgramData\TelegramDownloader>

@iyear
Copy link
Owner

iyear commented Dec 3, 2022

Thanks for the feedback! New version has released. https://github.com/iyear/tdl/releases/tag/v0.5.5

@iyear
Copy link
Owner

iyear commented Dec 22, 2022

I have released a new version that may solve this problem. Feel free to try it out.

https://github.com/iyear/tdl/releases/tag/v0.6.0-beta

@iyear iyear closed this as completed Jan 31, 2023
@iyear
Copy link
Owner

iyear commented Jan 31, 2023

The new version has been released, feel free to try it or reopen the issue.

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

No branches or pull requests

2 participants