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 stuck at 100% #1544

Open
8 tasks done
z9xx7o0 opened this issue Apr 21, 2024 · 1 comment
Open
8 tasks done

Download stuck at 100% #1544

z9xx7o0 opened this issue Apr 21, 2024 · 1 comment

Comments

@z9xx7o0
Copy link

z9xx7o0 commented Apr 21, 2024

Steps to reproduce

Download an anime episode, cancel the download, then redownload the same episode again. Some of them will get stuck at 100%.

Expected behavior

When the download reaches 100%, the download is finished.

Actual behavior

The download is stuck at 100% and gives a red exclamation mark in the anime page.
Screenshot_20240421_083053_Aniyomi
Screenshot_20240421_083902_Aniyomi

Crash logs

This issue doesn't involve crashes.

Aniyomi version

0.15.2.4-7513 (or) Preview r7513

Android version

Android 14, One UI 6.1

Device

Samsung galaxy s23 ultra

Other details

Acknowledgements:
1- I searched as best as I can, and I didn't find this issue. Though I only looked at the titles that had the keyword "download".

3- I'm pretty sure the issue is from aniyomi and not from the extension. Because I can successfully download the episodes with an external download manager. If I'm wrong, I'll remove the issue and repost it in the extensions repository.

8- This issue doesn't involve crashes, so I left the Crash logs section empty

Thoughts:
I think i got it. The problem occurs when you download an episode, cancel it, then redownload it again. It seems aniyomi doesn't delete the file after you cancel the download.
Screenshot_20240421_091912_MiXplorer

After manually deleting the files, then redownloading it, the download finishes successfully.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • If this is an issue with an official extension, I should be opening an issue in the extensions repository.
  • If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
  • I have gone through the FAQ and troubleshooting guide.
  • I have updated the app to version 0.15.2.4.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.
@z9xx7o0
Copy link
Author

z9xx7o0 commented Apr 21, 2024

So basically, I deleted every _tmp folder, then tried downloading again. And they all worked.

This issue isn't considered closed. Because every time I choose to cancel a download, or the app closes, or anything that resets the download, I have to manually delete the tmp folder.

I hope you can implement automatically checking for a tmp folder before the download starts. And if there is one, it should be deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant