News:

Buying something from Amazon? Please consider using my affiliate links - Amazon.com or Amazon.co.uk - You get your stuff, Plan-G gets a little boost :)   

Main Menu

Can't load trail file

Started by Blicker, January 16, 2013, 12:08:49 AM

Previous topic - Next topic

Blicker

Hi!
Can't load trail file.
IGC and Log files in attachment.

Any ideas?

sky one

Neather do I.

(I can load it without errors, but nothing is displayed: is it the same as you?)

Ciao
Cristiano
X-plane user

Blicker

Yes, nothing displayed and in log this:
18:50:44.8 _Backstage_IsOpenChanged: True
18:50:47.1 _Backstage_IsOpenChanged: False
18:50:54.7 OpenTrail: System.FormatException: Input string was not in a correct format.
   at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
   at Plan_G3.Model.UserAircraft.OpenTrail(String fileName, List`1& altList, List`1& terrainList) in C:\Users\skyhawk\Documents\Visual Studio 2010\Projects\Plan-G3\Plan-G3\Model\UserAircraft.cs:line 265

Blicker

Now all working, but I`m don`t know why :(
In sending IGC file with error, G-Plan wrote string as:

B0228264831,347N12301,462WV0003600001005338000
but now it writes as:

B1914054838865N12325083WV0002000001005264000

I did nothing  :-\

I just replaced the comma by dot in decimal point section of the regional settings. Maybe it affected?

gert57

Hi Tim and all,
I have the same problem.
I've done what Bliker suggests, but that doesn't help. The trail still doesn't show .
When I look at the trail file, the last two digits of the geographical position are separated by a comma.
When I remove the comma's manually, the trail DOES show.
Maybe this helps in solving the problem.
BTW, Tim thanks for a very usefull program!!
Gert57

tim arnot


Tim. @TimArnot

gert57

Hi Tim,
I also observe something else.
I opened the file in notepad and removed all the comma's in the position lines.
The trail and vertical navigation did display ok on the map.
But the original Flightplan line didn't show up.
In the file the flight plan was mentioned above the "position lines"
I hope this helps in solving the problem.
Sincerely yours,
Gert57