GNOME Bugzilla – Bug 693947
Fatal Error at start after power cut
Last modified: 2013-02-16 12:02:11 UTC
Exception has been thrown by the target of an invocation. An unhandled exception was thrown: Sqlite error 11: database disk image is malformed (SQL: SELECT COUNT(*) FROM sqlite_master WHERE Type='table' AND Name='CoreTracks') at Hyena.Data.Sqlite.Connection.CheckError (Int32 errorCode, System.String sql) [0x00000] in <filename unknown>:0 at Hyena.Data.Sqlite.Statement.CheckError (Int32 code) [0x00000] in <filename unknown>:0 at Hyena.Data.Sqlite.Statement..ctor (Hyena.Data.Sqlite.Connection connection, System.String sql) [0x00000] in <filename unknown>:0 at Hyena.Data.Sqlite.Connection.Query[Object] (System.String sql) [0x00000] in <filename unknown>:0 at Hyena.Data.Sqlite.HyenaSqliteCommand.Execute (Hyena.Data.Sqlite.HyenaSqliteConnection hconnection, Hyena.Data.Sqlite.Connection connection) [0x00000] in <filename unknown>:0 Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.ServiceManager.RegisterService (System.Type type) [0x00000] in <filename unknown>:0 Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in <filename unknown>:0 at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] in <filename unknown>:0 .NET Version: 4.0.30319.1 OS Version: Unix 3.2.0.37 Assembly Version Information: System.Configuration (4.0.0.0) gconf-sharp (2.24.0.0) Banshee.Gnome (2.4.0.0) Banshee.NowPlaying (2.4.0.0) System.Xml (4.0.0.0) Banshee.Core (2.4.0.0) Hyena.Data.Sqlite (2.4.0.0) gdk-sharp (2.12.0.0) Mono.Addins (0.6.0.0) atk-sharp (2.12.0.0) Hyena.Gui (2.4.0.0) Mono.Posix (4.0.0.0) gtk-sharp (2.12.0.0) Banshee.ThickClient (2.4.0.0) Nereid (2.4.0.0) DBus.Proxies (0.0.0.0) dbus-sharp-glib (1.0.0.0) System.Core (4.0.0.0) Hyena (2.4.0.0) dbus-sharp (1.0.0.0) glib-sharp (2.12.0.0) System (4.0.0.0) Banshee.Services (2.4.0.0) Banshee (2.4.0.0) mscorlib (4.0.0.0) Platform Information: Linux 3.2.0-37-generic x86_64 x86_64 GNU/Linux Disribution Information: [/etc/lsb-release] DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS" [/etc/os-release] NAME="Ubuntu" VERSION="12.04.2 LTS, Precise Pangolin" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu precise (12.04.2 LTS)" VERSION_ID="12.04" [/etc/debian_version] wheezy/sid
Hi poslano, thanks for your bug report. I'm afraid that the power cut most likely caused the corruption of your database, and Banshee doesn't have yet a backup-mechanism for your DB. Do you have your own backup of it? I'm going to mark this bug as a duplicate of the feature request for the automatic backup mechanism. Sorry that I cannot be of much help. (Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.) *** This bug has been marked as a duplicate of bug 621057 ***