irfan-arshad-arbisoft / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

Error importing GPX/KML #1511

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. import GPX file 
2. nondescriptive error (0/1 files imported)

What is the expected output? What do you see instead?

Expected to see an imported track. See unhelpful error instead. 

What version of MyTracks are you using? On what version of Android? On what
phone?

MyTracks 2.0.6, Android 4.2.2 (CyanogenMod 10.1), Galaxy Nexus (I9250XXLJ1), 
Kernel 3.0.31

If possible please provide a log by uploading here.
Detailed instructions can be found here:
http://code.google.com/p/mytracks/wiki/HowToReportErrors

Please provide any additional information here:

I couldn't attach the GPX file because it contain privacy-sensitive data, 
sorry. However, I've attached a logcat trace of the process in question which 
appears to be throwing exceptions that should be sufficient in tracking down 
the problem.

D/StrictMode(11832): StrictMode policy violation; ~duration=59 ms: 
android.os.StrictMode$StrictModeDiskWriteViolation: policy=31 violation=1
D/StrictMode(11832):    at 
android.os.StrictMode$AndroidBlockGuardPolicy.onWriteToDisk(StrictMode.java:1081
)
D/StrictMode(11832):    at 
android.database.sqlite.SQLiteConnection.applyBlockGuardPolicy(SQLiteConnection.
java:1036)
D/StrictMode(11832):    at 
android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:545)
D/StrictMode(11832):    at 
android.database.sqlite.SQLiteSession.beginTransactionUnchecked(SQLiteSession.ja
va:323)
D/StrictMode(11832):    at 
android.database.sqlite.SQLiteSession.beginTransaction(SQLiteSession.java:298)
D/StrictMode(11832):    at 
android.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:505)
D/StrictMode(11832):    at 
android.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:416)
D/StrictMode(11832):    at 
com.google.android.apps.analytics.PersistentHitStore.putEvent(Unknown Source)
D/StrictMode(11832):    at 
com.google.android.apps.analytics.GoogleAnalyticsTracker.createEvent(Unknown 
Source)

Original issue reported on code.google.com by niels.brouwers@gmail.com on 12 May 2014 at 1:29

Attachments:

GoogleCodeExporter commented 9 years ago
Looking at the log, the problem is due to the gpx file content, not the warning 
message above.

The log contains lots of statement of "Time difference not positive." 

Check your gpx file and the timestamp associated with each point. If you want 
to reopen the bug, please include the gpx file you are trying to import.

Original comment by jshih@google.com on 11 Jun 2014 at 8:03