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

Downloaded chapter arent saved to storage #1569

Open
6 tasks done
smarttommyau opened this issue Dec 12, 2024 · 2 comments
Open
6 tasks done

Downloaded chapter arent saved to storage #1569

smarttommyau opened this issue Dec 12, 2024 · 2 comments
Labels
Bug Something isn't working

Comments

@smarttommyau
Copy link

smarttommyau commented Dec 12, 2024

Steps to reproduce

Just download a chapter

Expected behavior

After all page is downloaded, it should be saved.

Actual behavior

Instead, after all page downloaded, it failed to saved and shows error.

Crash logs

crashlog.txt

Mihon version

0.17.1

Android version

Android 12(DroiTong container under HarmonyOS Next)

Device

HUAWEI Pura 70 ultra

Other details

This container is very new, therefore it is uncertain if this it due to some issues in the container or is something can be done on the mihon side.

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.
  • I have gone through the FAQ and troubleshooting guide.
  • I have updated the app to version 0.17.1.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.
@smarttommyau smarttommyau added the Bug Something isn't working label Dec 12, 2024
@Smol-Ame
Copy link
Contributor

Smol-Ame commented Dec 12, 2024

  1. You can just upload the crash log file instead of pasting the whole chunk of text here.
  2. I'm inclined to say it's because you're trying to run the app in whatever container/unsupported setup.

From a Reddit post talking about this container thing (mainly about the file access bit):

Screenshot_20241212_205425_RVX Reddit.png

@smarttommyau
Copy link
Author

  1. You can just upload the crash log file instead of pasting the whole chunk of text here.
  2. I'm inclined to say it's because you're trying to run the app in whatever container/unsupported setup.

From a Reddit post talking about this container thing (mainly about the file access bit):

Screenshot_20241212_205425_RVX Reddit.png

  1. I am sorry for the chunk. Edited with a txt file.
  2. For reddit post you mention, it has no relationship for what he mentioned. He mention about the filesystem access between the host system and the container. But, mihon is running in container and saving in container, not writing to the host system, so it is not the case.

I just take a look on the code that cause the error, the issue is kind of weird. While using a similar api for creating file and renaming files in the code, which call the same api from Android, only renaming files crash the code. Probably is some issue with incomplete support to DocumentsProvider. Anyway, I have also contact the team of Droitong, see if they can follow up 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
Projects
None yet
Development

No branches or pull requests

2 participants