Plan-G https://plan-g.app/ Print view |
|
v4 did not start https://plan-g.app/viewtopic.php?t=203 |
Page 1 of 1 |
Author: | georg [ Tue May 07, 2024 6:24 am ] |
Post subject: | v4 did not start |
Hi there, I have been using Plan-G v4 since the 4.0 beta and I am very satisfied. Now I wanted to update to 4.2.3.288, but the program closes immediately after the start screen. The log file says: 08:11:15.6 Starting Plan-Gv4 build 4.2.3.288 08:11:15.6 OS is Microsoft Windows NT 6.1.7600.0 08:11:15.6 Plan-G Files folder is: C:\Users\georg\Documents\Plan-Gv4 Files 08:11:15.6 CheckCreateDatabase: C:\Users\georg\Documents\Plan-Gv4 Files\Data 08:11:16.7 Logbook schema is out of date. Archiving current database. 08:11:16.7 CheckCreateDatabase: System.TypeInitializationException: The type initializer for 'Plan_G.Data.Logbook' threw an exception. ---> System.IO.IOException: The process cannot access the file because it is being used by another process. at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite) at System.IO.File.Move(String sourceFileName, String destFileName, Boolean overwrite) at System.IO.File.Move(String sourceFileName, String destFileName) at Plan_G.Data.Logbook.BackupDatabase(String theDB) in C:\Users\Tim\source\repos\plan-g\Data\Logbook.cs:line 115 at Plan_G.Data.Logbook..cctor() in C:\Users\Tim\source\repos\plan-g\Data\Logbook.cs:line 52 --- End of inner exception stack trace --- at Plan_G.Data.Logbook.SchemaCheck() in C:\Users\Tim\source\repos\plan-g\Data\Logbook.cs:line 86 at Plan_G.Data.FSData.CheckCreateDatabase() in C:\Users\Tim\source\repos\plan-g\Data\FSData.cs:line 4881 08:11:16.7 Initializing main window öhm, I do not have a folder ...\Users\Tim posting.php?mode=post&f=5# When I look into my windows events, I found 2 Error: Application Error (0xe0434352 with error module KERNALBASE.dll) and, maybe more importend .NET Runtime (V 7.0.5 - see attachted file) because of the error msg, I installed .net 7.0.5 new. But nothing changed. Interestingly, the old v4 beta is still running fine. I wouldn't want to do without my Plan-G under any circumstances, but I would also like to have a new version from time to time. What else can I do? Kind regards Georg |
Author: | Tim [ Wed May 08, 2024 9:13 pm ] |
Post subject: | Re: v4 did not start |
At some point the database format of the logbook changed (I don't remember when it was, but it was some time ago, during the beta). If Plan-G sees the logbook is in the old format, it tries to update it. This is what's failing (it's actually a bug in the mysql database engine). Code: Select all
Actually, if you are upgrading from the beta, I'd recommend deleting the whole Data folder and letting it build fresh databases. The logbook file is in C:\Users\georg\Documents\Plan-Gv4 Files\Data |
Author: | georg [ Sat May 11, 2024 5:54 am ] |
Post subject: | Re: v4 did not start |
Great, that was it. I don't care to much about the logbook. I don't have so much aircraft. Thank's a lot. Georg |
All times are UTC | Page 1 of 1 |
Powered by phpBB® Forum Software © phpBB Limited |