News:

Plan-G has over 1700 followers on FACEBOOK! Click HERE and add your support

Main Menu

can't save or open plans

Started by Guenseli, January 14, 2010, 04:21:56 PM

Previous topic - Next topic

Guenseli

Hello!

First thanks for this great addon!


I have a problem to open or save flightplans
When I click at "save" or "open" absolutely nothing happens...

One thought was that my FSX Flightplan directory is different, because I have a german version, so there the folder where FSX puts its plans is called  "Flight SImulator X-Dateien", but I also have a folder Flight Simulator X Files as some Addons use this one.
And I copied some FSX plans into the other folder but no succes.
Same with "save as FSX plan"... no reaction

My System:
W7 Professional
2 Monitors (tested this behave on both screens)
8800GTS
FSX with Acceleration German Version
UAC disabled


thanks again"
Guenter

tim arnot

Have a look in the log file (plan-G_Log.txt), and see if there is an error reported

Tim. @TimArnot

Guenseli

Yes, there are many errors, you are right.

The list is very, very long, although I have just opend Plan-G, wanted to load a plan, and exited.

Here is a part if it.
If you want more you have to give me your email or I would PM you or whatever

20:34:50 error in GetMEF: System.Data.OleDb.OleDbException: Syntaxfehler (Komma) in Abfrageausdruck 'Latitude = 52 AND Longitude = -10,5'.
   bei System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
   bei System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
   bei System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
   bei System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
   bei System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   bei System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
   bei System.Data.OleDb.OleDbCommand.ExecuteReader()
   bei Plan_G.DataAccess.GetMEF(Double lat, Double lng)
20:34:50 error in GetMEF: System.Data.OleDb.OleDbException: Syntaxfehler (Komma) in Abfrageausdruck 'Latitude = 52 AND Longitude = -10,5'.
   bei System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
   bei System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
   bei System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
   bei System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
   bei System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   bei System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
   bei System.Data.OleDb.OleDbCommand.ExecuteReader()
   bei Plan_G.DataAccess.GetMEF(Double lat, Double lng)


I also have tried to change my system from german to english but that doesn't help....

thanks for the fast response,
Guenter


tim arnot

Ok, I see what the problem is. I'll fix it in the morning.

Tim. @TimArnot

Guenseli

Thank you very much! Good support!

tim arnot

If you'd like to re-download 0.9, this should now be fixed.

Tim. @TimArnot

Guenseli

Hello,
Unfortunally not!

Just tried it out, same behave as before.

Below is the log.
What I have done this session:
Opened Plan-G, created a flightplan (airport, VOR, airport), wanted to save.

Then I closed plan-G and got the message if I want to save the plan --> yes. But it isn't saved

12:26:15 PlanG constructor
12:26:15 executableFolder: N:\Zusatzprogramme\Plan-G
12:26:16 Starting Plan-G, build 0.9.0.410
12:26:16 FS9 is installed
12:26:16 FSX is installed
12:26:16 FSX database is built
12:26:16 Selected data set is FSX
12:26:21 Starting map
12:26:21 Initialisation complete.
12:26:21 Initializing Jump List
12:26:21 Clearing progress bar
12:26:21 Checking PLN file registration
12:26:21 Checking command line
12:26:21 Command line. Length = 1 args = N:\Zusatzprogramme\Plan-G\Plan-G.exe,
12:26:22  DEBUG: count=1
12:26:43 AddAirportToPlan -1
12:26:43 Airport = EDAD Dessau
12:26:43 DrawFlightPlan
12:26:43 DisplayFlightPlanDetail. MoveMap = False nodes = 1
12:26:43 DrawFlightPlan done
12:26:43 UpdatePlanWeather testing IsConnected
12:26:43 UpdatePlanWeather done
12:26:47 GetDefaultSrartPosition error:System.Data.OleDb.OleDbException: Syntaxfehler (Komma) in Abfrageausdruck 'Round(Latitude,2) = 51,99 AND Round(Longitude,2) = 11,79'.
   bei System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
   bei System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
   bei System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
   bei System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
   bei System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   bei System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
   bei System.Data.OleDb.OleDbCommand.ExecuteReader()
   bei Plan_G.DataAccess.GetNearestAirportID(Double lat, Double lng, Boolean isFSX)
12:26:47 MEF Metres = 250 Feet = 820 Rounded == 900

12:26:47 Plan: TrueBrg=304,131714918592 var=358 MagBrg=302 dist=17,5
12:26:47 DisplayFlightPlanDetail. MoveMap = False nodes = 2
12:26:47 UpdatePlanWeather testing IsConnected
12:26:51 AddAirportToPlan -1
12:26:51 Airport = EDBC Cochstedt/Schneidlingen
12:26:51 MEF Metres = 562 Feet = 1843 Rounded == 1900

12:26:51 Plan: TrueBrg=239,215924491081 var=359 MagBrg=238 dist=16,2
12:26:51 DrawFlightPlan
12:26:51 DisplayFlightPlanDetail. MoveMap = False nodes = 3
12:26:51 DrawFlightPlan done
12:26:51 UpdatePlanWeather testing IsConnected
12:26:51 UpdatePlanWeather done

tim arnot


Tim. @TimArnot

Guenseli

YOU try again or I try again?  ;)

tim arnot

You. There's a new build up...  ;)

Tim. @TimArnot

Guenseli

thanks, thats fast.... unfortunately no news...doesn't work..
I'm the only one who have this?

tim arnot

Nobody else has reported a problem...

Please send me the FULL log file, since it would appear there is more than one error, and fixing one error at a time could take all day. I will send you updated links by PM until this is resolved, to save mucking about any more with the public download.

Tim. @TimArnot