Page 1 of 1

SQLiteException

Posted: Sun 31 Jul 2022 10:19 am
by ronilee
Hi,

today a had a strange Exception.

What can i do?

2022-07-31 12:15:07.817 !!! Unhandled Exception !!!
SQLite.SQLiteException: database disk image is malformed
bei SQLite.SQLite3.Prepare2(IntPtr db, String query)
bei SQLite.SQLiteCommand.Prepare()
bei SQLite.SQLiteCommand.ExecuteNonQuery()
bei SQLite.SQLiteConnection.Execute(String query, Object[] args)
bei SQLite.SQLiteConnection.CreateTable(Type ty, CreateFlags createFlags)
bei SQLite.SQLiteConnection.CreateTable[T](CreateFlags createFlags)
bei CumulusMX.WeatherStation..ctor(Cumulus cumulus)
bei CumulusMX.HttpStationEcowitt..ctor(Cumulus cumulus, WeatherStation station)
bei CumulusMX.Cumulus..ctor(Int32 HTTPport, Boolean DebugEnabled, String startParms)
bei CumulusMX.Program.RunAsAConsole(Int32 port, Boolean debug)
bei CumulusMX.Program.Main(String[] args)

Re: SQLiteException

Posted: Sun 31 Jul 2022 12:06 pm
by water01
This cumulusmx.db in the Data directory. I would suggest stopping CumulusMX, deleting cumulusmx.db and then restarting Cumulusmx and it will rebuild it.