-
-
Notifications
You must be signed in to change notification settings - Fork 38
App crashes when Nextcloud directory is selected #190
Comments
Could you please try to obtain a crash log? (You most likely want to use a debug build from the GitHub actions tab for that). |
Sure, I got the latest artifact from Actions and followed the steps mentioned above. Here is the output of
|
Thanks for sharing the log! Seems like the culprit comes from the returned path by the Android file picker. Have you used any other app successfully yet that allows to save files to the Nextcloud folder (an open source would be nice so we can just see what they're doing differently)? For example apps like Seal should allow to set a custom download folder, or for example is it possible to download files via the Browser to the nextcloud folder? |
In the past month I've been actively searching for apps that could support accessing the Nextcloud document provider. I post a list of all the apps I've found right below. There are many apps that do not support the
Thank you for making me discover this app. It supports the
Neither Firefox nor chrome allow to select a custom directory for downloads. However, on Firefox it is possible to use an external download manager such as Download Navi, which supports setting a Nextcloud directory as a final destination Anyway, here's the list:
There's also MiXplorer, but it's closed source. I did not include apps which only supported other similar intents like |
Thanks for the list! I've started Nextcloud too recently, so I'm able to reproduce the issue as well now, which should make it easier (hopefully) to find a solution. I'm linking this article with some useful info about the file system for myself or anyone who wants to look into it. I'm in vacation currently however, so I won't be able to look into this too soon. Again, thanks for your help so far! |
I don't know if we will be able to fix this issue or not. in the above log the return recordingFile!! As we try to return a nullable value as not null |
I agree. The |
I wonder if this crash and mine are related. #194 I will have to try the debug version and see what I can discover. No pressure, though; have a great vacation! |
I think that is a very viable short term solution that would yield benefits in other circumstances where an apparently writeable destination doesn't work, for whatever reason. |
Thank you! My vacation is already over unfortunately, but it's been really nice :) We're now showing an error message when the directory can't be written too. |
You are super awesome. I'm both sorry and glad you're back from vacation. I'll have to play with this version if I get a chance and see if it changes the behavior I'm experiencing. If I'm just patient or too busy, how quickly do commits like this get to Fdroid? |
That will last until the next release in some weeks, my goal is to fix the whole issue before it. We have CI builds here, which allows to test the latest changes. However, the only thing you will see is an error message, it's still not possible to use the Nextcloud folder properly. |
Very helpful. Thank you. I'm not using a NextCloud synced folder, but wondering if perhaps the issue I experience occasionally isn't also connected to a peculiarity with writeability, in which case the error message would be both a stability improvement and an aid to troubleshooting. |
I downloaded and installed the CI build, and note that the visualization and record clock in the app do not work, but everything else is working. I will continue to use this build as a test to see if the visualization or a writeability issue might be the cause of the issue I have been having, #194. |
Steps to reproduce
Expected behavior
Recording should start. File should be saved in Nextcloud.
Actual behavior
App crashes
Record You version
7.0 (15)
Android version
Android 12
Other details
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: