USGlobalSat GPS Forums

Please login or register.

Login with username, password and session length
Advanced search  


Pages: [1]   Go Down

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


  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 182
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:

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)


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)
Pages: [1]   Go Up

Page created in 0.158 seconds with 18 queries.