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 Report] Unable to cancel/delete downloads #266

Closed
NaruZosa opened this issue Jan 23, 2022 · 2 comments · Fixed by #271
Closed

[Bug Report] Unable to cancel/delete downloads #266

NaruZosa opened this issue Jan 23, 2022 · 2 comments · Fixed by #271
Labels
bug Something isn't working

Comments

@NaruZosa
Copy link
Contributor

Describe the bug
When attempting to delete a download in the download manager, nothing happens

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Download > Plugins'
  2. Search for a manga and start downloading it (in my case, I used the first result on nHentai)
  3. Go to the download manager
  4. Click delete on the download in progress

Expected behavior
The download should be cancelled, and the manga deleted from the disk

Environment (please complete the following information):

  • OS: Unraid
  • Browser: Firefox
  • Mango Version: 0.24.0

Docker
Default values, other than:

  • Map /Manga in container to /mnt/user/manga/ in host
  • Map /root/.config/mango in container to /mnt/user/appdata/Mango/Config in host
  • Map /root/mango in container to /mnt/user/appdata/Mango/Appdata in host

Additional context
Logging with a log level of debug doesn't show anything happening.
The delete button was pressed during the same time as the following log snip, but there is no recorded action

[96m[DEBUG] [0m2022/01/23 13:41:28 | 200 GET /api/admin/thumbnail_progress 3.8ms
[96m[DEBUG] [0m2022/01/23 13:41:33 | 200 GET /api/admin/thumbnail_progress 3.27ms
[96m[DEBUG] [0m2022/01/23 13:41:38 | [success] https://i.nhentai.net/galleries/2120371/26.jpg
[96m[DEBUG] [0m2022/01/23 13:41:38 | Setting proxy
[96m[DEBUG] [0m2022/01/23 13:41:38 | Setting read timeout
[96m[DEBUG] [0m2022/01/23 13:41:38 | Requesting https://i.nhentai.net/galleries/2120371/27.jpg
[96m[DEBUG] [0m2022/01/23 13:41:38 | Performing request
[96m[DEBUG] [0m2022/01/23 13:41:38 | 200 GET /api/admin/thumbnail_progress 4.15ms
[96m[DEBUG] [0m2022/01/23 13:41:41 | downloading https://i.nhentai.net/galleries/2120371/27.jpg
[96m[DEBUG] [0m2022/01/23 13:41:41 | Setting proxy
[96m[DEBUG] [0m2022/01/23 13:41:41 | Setting read timeout
[96m[DEBUG] [0m2022/01/23 13:41:41 | Requesting https://i.nhentai.net/galleries/2120371/27.jpg
[96m[DEBUG] [0m2022/01/23 13:41:41 | Performing request
[96m[DEBUG] [0m2022/01/23 13:41:43 | 200 GET /api/admin/thumbnail_progress 3.62ms
[96m[DEBUG] [0m2022/01/23 13:41:48 | 200 GET /api/admin/thumbnail_progress 3.39ms
[96m[DEBUG] [0m2022/01/23 13:41:53 | 200 GET /api/admin/thumbnail_progress 2.94ms
[96m[DEBUG] [0m2022/01/23 13:41:55 | [success] https://i.nhentai.net/galleries/2120371/27.jpg
[96m[DEBUG] [0m2022/01/23 13:41:55 | Setting proxy
[96m[DEBUG] [0m2022/01/23 13:41:55 | Setting read timeout
[96m[DEBUG] [0m2022/01/23 13:41:55 | Requesting https://i.nhentai.net/galleries/2120371/28.jpg
[96m[DEBUG] [0m2022/01/23 13:41:55 | Performing request
[96m[DEBUG] [0m2022/01/23 13:41:58 | 200 GET /api/admin/thumbnail_progress 4.05ms
[96m[DEBUG] [0m2022/01/23 13:41:59 | downloading https://i.nhentai.net/galleries/2120371/28.jpg
[96m[DEBUG] [0m2022/01/23 13:41:59 | Setting proxy
[96m[DEBUG] [0m2022/01/23 13:41:59 | Setting read timeout
[96m[DEBUG] [0m2022/01/23 13:41:59 | Requesting https://i.nhentai.net/galleries/2120371/28.jpg
[96m[DEBUG] [0m2022/01/23 13:41:59 | Performing request
[96m[DEBUG] [0m2022/01/23 13:42:04 | 200 GET /api/admin/thumbnail_progress 3.48ms
[96m[DEBUG] [0m2022/01/23 13:42:09 | 200 GET /api/admin/thumbnail_progress 3.38ms
[96m[DEBUG] [0m2022/01/23 13:42:09 | [success] https://i.nhentai.net/galleries/2120371/28.jpg
[96m[DEBUG] [0m2022/01/23 13:42:09 | Setting proxy
[96m[DEBUG] [0m2022/01/23 13:42:09 | Setting read timeout
[96m[DEBUG] [0m2022/01/23 13:42:09 | Requesting https://i.nhentai.net/galleries/2120371/29.jpg
[96m[DEBUG] [0m2022/01/23 13:42:09 | Performing request
[96m[DEBUG] [0m2022/01/23 13:42:10 | 200 POST /api/admin/mangadex/queue/delete?id=nhentai 12.73ms
[96m[DEBUG] [0m2022/01/23 13:42:10 | 200 GET /api/admin/mangadex/queue 4.4ms
[96m[DEBUG] [0m2022/01/23 13:42:12 | downloading https://i.nhentai.net/galleries/2120371/29.jpg
[96m[DEBUG] [0m2022/01/23 13:42:12 | Setting proxy
[96m[DEBUG] [0m2022/01/23 13:42:12 | Setting read timeout
[96m[DEBUG] [0m2022/01/23 13:42:12 | Requesting https://i.nhentai.net/galleries/2120371/29.jpg
[96m[DEBUG] [0m2022/01/23 13:42:12 | Performing request
[96m[DEBUG] [0m2022/01/23 13:42:14 | 200 GET /api/admin/thumbnail_progress 4.03ms
[96m[DEBUG] [0m2022/01/23 13:42:19 | 200 GET /api/admin/thumbnail_progress 4.36ms
[96m[DEBUG] [0m2022/01/23 13:42:22 | [success] https://i.nhentai.net/galleries/2120371/29.jpg
[96m[DEBUG] [0m2022/01/23 13:42:22 | Setting proxy
[96m[DEBUG] [0m2022/01/23 13:42:22 | Setting read timeout
[96m[DEBUG] [0m2022/01/23 13:42:22 | Requesting https://i.nhentai.net/galleries/2120371/30.jpg
[96m[DEBUG] [0m2022/01/23 13:42:22 | Performing request
[96m[DEBUG] [0m2022/01/23 13:42:24 | 200 GET /api/admin/thumbnail_progress 3.6ms
[96m[DEBUG] [0m2022/01/23 13:42:25 | downloading https://i.nhentai.net/galleries/2120371/30.jpg
[96m[DEBUG] [0m2022/01/23 13:42:25 | Setting proxy
[96m[DEBUG] [0m2022/01/23 13:42:25 | Setting read timeout
[96m[DEBUG] [0m2022/01/23 13:42:25 | Requesting https://i.nhentai.net/galleries/2120371/30.jpg
[96m[DEBUG] [0m2022/01/23 13:42:25 | Performing request
[96m[DEBUG] [0m2022/01/23 13:42:29 | 200 GET /api/admin/thumbnail_progress 4.12ms
@NaruZosa NaruZosa added the bug Something isn't working label Jan 23, 2022
@hkalexling
Copy link
Member

Thanks for the bug report. Yes this has been fixed in a development branch but I haven't released it to master yet. Should be available soon.

@hkalexling hkalexling mentioned this issue Jan 26, 2022
@NaruZosa NaruZosa changed the title [Bug Report] Unable to cancel ongoing download [Bug Report] Unable to cancel/delete downloads Feb 2, 2022
@mango-assistant
Copy link

Hi there! The issue has been fixed in v0.25.0. Thanks for the bug report!

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

Successfully merging a pull request may close this issue.

2 participants