Closed pjfayer closed 4 years ago
Unfortunately we cannot replicate the error, because the "Save to Drive" Sharing option works fine on all our test hardware.
As a start, to exclude a couple of possible causes, please try to clear the cache of the Drive App (in Drive's Settings -> Clear Cache
), and then go on Android System Settings -> Apps -> Drive
and press "Force stop".
Finally please try again to Share a track to Drive, to test if the issue is resolved.
Ya, thanks. A little later, I saw that in several places online as well. And I tried it (both clear cache, then force stop, and vice versa). No effect (problem persists). I even uninstalled Drive and reinstalled it, and nope.
I just now tried Dropbox. It failed too, and when I tapped Details (Kudos to them, they offer that!), it said "We don't have permission to read 2020....etc.kml". Hmm. Why not?
So I checked. Both Drive and Dropbox have no permissions denied (i.e. Storage access IS allowed). Attempting to show the track on Google Earth also fails, it seems (for the same reason?)
I've seen something similar (stupid uninformative "Something bad happened, but we're not telling you what" error messages), when some apps can't update files on an SD card filesystem (which I have, BTW), which begs the question: Where do you store your files?
So WHAT is preventing some apps from reading your files on my phone? Does any of the above help? Is there anything else I can try, please?
Thanks for the information and for the complete feedback of your tests. In effect the problem seems to be related to system permissions.
Please be kind and make for us another test:
Open your file manager on your Android Device, go on /GPSLogger
folder and try to share a KML (or a GPX) file with Drive and with Dropbox, and report what happen (if it fails or it succeed);
Then try to copy the same KML (or GPX) file into /My Documents
and repeat the Sharing test.
As last, copy the same KML (or GPX) file into /Download
and test to Share it again from here.
I suspect that the first test will fail, and the second and the third will succeed.
I opened the Files app, went to "Internal Storage"/GPSLogger/AppData
and found the KML file there.
I was able to "Share" it to both Drive and Dropbox from that location (several times). I checked, and they were there and available to my PC.
I copied the file to Internal Storage/Download
and was able to share it to both Drive and Dropbox. (I don't have a /My Documents
folder.)
I went back to the GPSLogger app, and got the same error messages as before.
I'm sorry, I too thought the first test would fail, but that is not the case.
It is definitively a problem of GPS Logger with Android 10. We'll find a solution for it and we'll release an update of the App as soon as possible, in order to correct this important bug.
Thanks for your time, your patience, and your very useful reporting!
We found that the issue is caused by the introduction of the Scoped Storage in Android 10, that broken the compatibility with the Sharing Method we are using in v.2.2.5.
We re-implemented the Sharing feature on Scoped Storage via FileProvider with the commit f5fb633. The issues with Android 10 should be resolved. The fix will be included into the next App's update, as soon as it will be tested.
Attempting to show the track on Google Earth also fails, it seems (for the same reason?)
@pjfayer I think your problem with Earth could have another cause: Please check in your Android System Settings, section Apps, that Earth has the Storage Permission granted. If not, please enable it.
Blush Oops. I thought I'd checked Earth, but nope; It was denied Storage. You're right of course, it worked fine after I allowed it.
Today We released the Update v2.2.6, that should fix the Sharing Feature on Android 10 Systems.
@pjfayer Compatibly with your Time, When you update GPS Logger please make some Tests in order to verify whether all the Problems you reported are resolved. We would be glad to receive your Feedback.
Thank you! Yes. That works (both DropBox and Drive). No new bugs detected.
On Sat, 4 Jul 2020 at 05:03, GrazianoCapelli notifications@github.com wrote:
Today We released the Update v2.2.6, that should fix the Sharing Feature on Android 10 Systems.
@pjfayer https://github.com/pjfayer Compatibly with your Time, When you update GPS Logger please make some Tests in order to verify whether all the Problems you reported are resolved. We would be glad to receive your Feedback.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BasicAirData/GPSLogger/issues/86#issuecomment-653741761, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQCLOME2MMHRR2F4ZGF2FFDRZ3V6HANCNFSM4OII6VKQ .
-- /PJF, Peter Jaspers-Fayer pjfayer@gmail.com. Cell:519-835-0829 23 Birmingham St, Guelph, ON N1H 4X3 Canada https://goo.gl/maps/C1ZSVdrPZZeHg8v27
The user's feedback are a fundamental base to develop a good open source application. Thus, thanks again for your time and for your precious collaboration.
We close the issue; if anyone still encounters this problem, we will reopen it.
I've got GPSlogger set to export GPX+KML. Whenever I attempt to "share" to a Google Drive folder, I get a notification from Drive that says "Upload was unsuccessful. Unable to schedule 2 files for upload" (no other details visible). So I have to resort to emailing to myself.
Please tell me what I can do to determine the reason for the failure?
I'm using a Samsung Note10+, with all Android 10 and app updates currently available.
I've tried sharing just KML or GPX, but single files fail as well.
Sharing to the same Google Drive folder from other apps succeeds.