Banshee SQL Error after unexpected restart

Questions about applications and software
Forum rules
Before you post please read how to get help

Banshee SQL Error after unexpected restart

Postby gryle on Tue Feb 12, 2013 12:12 pm

I'm running LinuxMint14 on a Toshibat Satellite laptop. Yesterday I was using Banshee to sync playlists to a portable music player, when the laptop shut off without warning by itself. After powering it back on I found I can no longer run Banshee as a normal user. Whenever I try, I get a dialogue box titled "Encountered a Fatal Error: Exception has been thrown by the target of an invocation" with the following details:
Code: Select all
An unhandled exception was thrown: Sqlite error 11: database disk image is malformed (SQL: SELECT COUNT(*) FROM 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.QueryReader.Read () [0x00000] in <filename unknown>:0
  at Hyena.Data.Sqlite.Statement.Query[Object] () [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.5.0.17

Assembly Version Information:

System.Configuration (4.0.0.0)
gconf-sharp (2.24.0.0)
Banshee.Gnome (2.6.0.0)
Banshee.NowPlaying (2.6.0.0)
System.Xml (4.0.0.0)
Banshee.Core (2.6.0.0)
Hyena.Data.Sqlite (2.6.0.0)
gdk-sharp (2.12.0.0)
Mono.Addins (0.6.0.0)
atk-sharp (2.12.0.0)
Hyena.Gui (2.6.0.0)
Mono.Posix (4.0.0.0)
gtk-sharp (2.12.0.0)
Banshee.ThickClient (2.6.0.0)
Nereid (2.6.0.0)
DBus.Proxies (0.0.0.0)
dbus-sharp-glib (1.0.0.0)
System.Core (4.0.0.0)
Hyena (2.6.0.0)
dbus-sharp (1.0.0.0)
glib-sharp (2.12.0.0)
System (4.0.0.0)
Banshee.Services (2.6.0.0)
Banshee (2.6.0.0)
mscorlib (4.0.0.0)

Platform Information: Linux 3.5.0-17-generic x86_64 x86_64 GNU/Linux

Disribution Information:

[/etc/lsb-release]
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=14
DISTRIB_CODENAME=nadia
DISTRIB_DESCRIPTION="Linux Mint 14 Nadia"

[/etc/os-release]
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"

[/etc/debian_version]
wheezy/sid


Starting up Banshee through the terminal yields:
Code: Select all
[Info  11:00:23.298] Running Banshee 2.6.0: [Ubuntu quantal (development branch) (linux-gnu, x86_64) @ 2012-10-09 14:30:02 UTC]
[Warn  11:00:31.117] Caught an exception - Hyena.Data.Sqlite.SqliteException: Sqlite error 11: database disk image is malformed (SQL: SELECT COUNT(*) FROM CoreTracks) (in `Hyena.Data.Sqlite')
  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.QueryReader.Read () [0x00000] in <filename unknown>:0
  at Hyena.Data.Sqlite.Statement.Query[Object] () [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
[Error 11:00:31.118] Error initializing required service Banshee.Database.BansheeDbConnection
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Hyena.Data.Sqlite.SqliteException: Sqlite error 11: database disk image is malformed (SQL: SELECT COUNT(*) FROM 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.QueryReader.Read () [0x00000] in <filename unknown>:0
  at Hyena.Data.Sqlite.Statement.Query[Object] () [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
  --- End of inner exception stack trace ---
  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
  --- End of inner exception stack trace ---
  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


Running Banshee with sudo privledges works fine, so I'm guessing it's something in my personal user settings. I've tried starting Banshee with my media player connected but no luck. I've also tried uninstalling and resintalling with no luck. Obviously I can go to RythymBox or something like that but I'd prefer not to have to rebuild all my playlists from scratch, as I have a pretty extensive digital music collection on my laptop. Any suggestions?
gryle
Level 1
Level 1
 
Posts: 10
Joined: Thu Jul 26, 2012 10:47 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 15 guests