dss91 / omgps

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

track's src read file fail #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. go to track menu
2. select a track
3. press 'Export .gpx'

What is the expected output? What do you see instead?
The expected is that we get a messagebox 'Read src file failed' for all
tracks and success for the last recorded track. However when loaded in JOSM
this last track is useless as it not being displayed anywhere.

What version of the product are you using? On what operating system?
Using omgps_0.1_20090618_armv4t on SHR distribution.

Please provide any additional information below.
Have not tried recording new tracks since the update.

Original issue reported on code.google.com by unachiev...@gmail.com on 17 Jun 2009 at 9:00

GoogleCodeExporter commented 9 years ago
may be caused due to integer math -- signed op unsigned

Original comment by meng.qin...@gmail.com on 17 Jun 2009 at 11:38

GoogleCodeExporter commented 9 years ago
potential fix was submitted, see
http://omgps.googlecode.com/files/omgps_0.1_20090618-2_armv4t.ipk,
need more tests, better to provide problematic track files please.

Original comment by meng.qin...@gmail.com on 18 Jun 2009 at 3:56

GoogleCodeExporter commented 9 years ago
likely caused by "%lf" in Xprintf, when in specific locale, dot ('.') in 
floating
point number is not '.' 

Original comment by meng.qin...@gmail.com on 19 Jun 2009 at 8:46

GoogleCodeExporter commented 9 years ago
finally found the cause: locale setting (LC_NUMERIC)
expicitly set locale LC_ALL as "C", since no translation planned for now.

Original comment by meng.qin...@gmail.com on 22 Jun 2009 at 10:20