USGlobalSat GPS Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: TGP: Unexpected Application Error Occur, Restart Again  (Read 1053 times)

gerhard

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 181
TGP: Unexpected Application Error Occur, Restart Again
« on: August 02, 2012, 06:04:43 am »

I do not use TGP much...
It is possible to view the activities with GPS only directly after importing, not when viewing them a second time.
The problem also occurred with the GH-625XT initially:
http://www.usglobalsat.com/forum/index.php?topic=4013.msg11488#msg11488

Seem to be a localization problem, decimal separator is "," in Sweden.
The .xml file contains "," for Latitude, Longitude and Speed where the 625XT/505 has ".".
(All devices have "," for Interval_x0020_Time and trackheader/lap MaxSpeed though).

The bug is in TGP, not the firmware as decimal separator is not specified in the firmware. However, it occurs in the 580 specific part of TGP.

Workaround: Search and replace in the .xml files (see link for location)

/Gerhard

Excerpt from logfile and .xml file

-------------------------------------------
2012-08-02 12:30:54
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
   at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
   at System.Convert.ToDouble(String value)
   at GH615_PC_Utility.MDIParent1.GetInterDist(String lat2, String lat1, String lon2, String lon1)
   at GH615_PC_Utility.MDIParent1.tvTrackHeadLap_AfterSelect(Object sender, TreeViewEventArgs e)
-------------------------------------------
  <trackLapPoints>
    <Sl_x0020_No>2675</Sl_x0020_No>
    <Latitude>57,680598</Latitude>
    <Longitude>12,038017</Longitude>
    <Altitude>72</Altitude>
    <Speed>8,59</Speed>
    <Heart_x0020_Rate>0</Heart_x0020_Rate>
    <Interval_x0020_Time>2,1</Interval_x0020_Time>
    <Index>729212034</Index>
    <Cadence>0</Cadence>
    <PwrCadence>0</PwrCadence>
    <Power>0</Power>
  </trackLapPoints>
Logged
Pages: [1]   Go Up
 

Page created in 0.213 seconds with 20 queries.