-
Notifications
You must be signed in to change notification settings - Fork 6
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
renameDocument Problem #81
Comments
Thanks for providing all the details! This is the main issue:
Mihon is creating a new file, writing the data, closing the file, and then renaming the file. However, closing a file is asynchronous on Android. So what happens is:
Android's (terrible) APIs have no way to make a client app wait for closing the file to actually complete. I plan to add an option to disable caching (#79), but this only reduces the chance of the problem happening. It does not eliminate it. For cloud providers that need to perform some processing after the file is uploaded, closing the file is still not instant. I think to actually solve this, I will need to update |
This is fixed/worked around in #90, which will be included in the next release of RSAF. |
I'm using a comic book program: Mihon.
I'm save a comic using his download function, and the comic program doesn't report an error, but it doesn't seem to be working properly.
In DocumentsUI, I see the following:
And So on. Look like a small number of files succeeded.
More information
logcat
Using internal storage here.
RcloneProvider
Another logcat
Also get some error messages in testing
The text was updated successfully, but these errors were encountered: