paktan / osmtracker-android

Automatically exported from code.google.com/p/osmtracker-android
GNU General Public License v3.0
0 stars 0 forks source link

Crash on exporting to GPX #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open app.
2. Long tap on existing track. 
3. Export to GPX.

What is the expected output? What do you see instead?
GPX file expected to be created. However the app crashes and the file is not 
created. 

What version of the product are you using (See "About" screen)?
0.6.6

Make/model of your device, and Android version?
Samsung Galaxy Note 3.
Lollipop.

Please provide any additional information below.
This problem did not occur earlier. I was on a trip and recorded 5 tracks of 
which I was able to export the first one. I noticed the problem after recording 
4 more tracks. See attached screenshot.
I plan to reinstall the app but do not want to lose data. Appreciate a way it 
as I need the GPX files. 

Original issue reported on code.google.com by ksa...@gmail.com on 25 May 2015 at 5:52

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

I can see some crash reports on the Google Play console that have to do with 
GPX export but unfortunately I haven't been able to reproduce them which makes 
them very hard to fix...

* Is that happening consistently?
* Does that happen when you extract all tracks?
* Does that happen when you extract tracks one by one?
* If so, does that happen on a specific track?

If you can reproduce it consistently what would be super useful is a logcat 
output if you're able to get one:
* http://developer.android.com/tools/help/logcat.html
* http://forum.xda-developers.com/showthread.php?t=2274119

Original comment by nicolas@guillaumin.me on 25 May 2015 at 11:52

GoogleCodeExporter commented 9 years ago
Thanks so much for the immediate response. 
Yes this is consistent Happens with all tracks whether I choose a single one or 
all of them. 
I an not too sure if I will be able to provide a logcat. Went through the 
second link. It's a bit technical. Will try. 

Appreciate if you could let me know if I can again install the app. I do not 
want to lose data. Or any files I need to backup? So that I can use them once I 
reinstall. 

Original comment by ksa...@gmail.com on 26 May 2015 at 4:47

GoogleCodeExporter commented 9 years ago
Unfortunately I think re-installing the app. will delete the data (and I'm 
pretty sure it won't help anyway if it's a bug in the code). The data is stored 
in an internal "SQLite" database but I'm not aware of any easy way to export 
that then re-import it once the app. has been reinstalled...

Original comment by nicolas@guillaumin.me on 26 May 2015 at 8:03

GoogleCodeExporter commented 9 years ago
Could you let me know the location of the Sql lite database. Our the file 
within which it is contained. That may be of help. Thanks. 

Original comment by ksa...@gmail.com on 28 May 2015 at 6:46

GoogleCodeExporter commented 9 years ago
I can't because it's managed by Android and it's stored in a folder you can't 
access unless you root your phone as far as I know. Usually it's in 
/data/data/<application>/...

Only the app. can access it, so I was thinking of implementing a debug button 
in OSMTracker to have the app. copy the database on the SD card so that it can 
be attached to issues, that would be helpful for debugging.

Original comment by nicolas@guillaumin.me on 28 May 2015 at 9:51

GoogleCodeExporter commented 9 years ago
Thanks. And that's a good idea!!

Original comment by ksa...@gmail.com on 28 May 2015 at 6:43

GoogleCodeExporter commented 9 years ago
Hi, I just pushed a new update which adds an "Export database" button on the 
About screen. Could you try that? It should generate a file 
OSMTracker.sqlitedb.gz inside the OSMTracker directory, just attach it to the 
ticket here.

Thanks!

Original comment by nicolas@guillaumin.me on 30 May 2015 at 6:28

GoogleCodeExporter commented 9 years ago
Hi,I have version 0.6.6 and Play store shows 0.6.10 but does not give me an 
update option. Our simply says 'Open'

Original comment by ksa...@gmail.com on 30 May 2015 at 7:01

GoogleCodeExporter commented 9 years ago

Original comment by ksa...@gmail.com on 30 May 2015 at 7:06

Attachments:

GoogleCodeExporter commented 9 years ago
Ah! I should have paid more attention to the version number... You're on v0.6.6 
and there was a fix for the GPX export crash on Lollipop on v0.6.7! See issue 
#253. So presumably your problem is already fixed.

I have no idea why the upgrade doesn't work, and there's not much I can do on 
that as it's managed by the OS and/or the Play market. I guess one thing you 
can try is to download the APK and install it manually, see the "Downloads" tab 
on the project.

Original comment by nicolas@guillaumin.me on 30 May 2015 at 11:39