Re: [Banshee-List] Banshee fatal error ("database disk image is malformed") (Xubuntu 14.04 64bit)



"sudo banshee" will work because "sudo" changes you to "root", who has
another profile with their own Banshee database.

What happens if you install "sqlite3" and run the command "sqlite3
~/.config/banshee-1/banshee.db"? You should get a command prompt that
says "sqlite>". You can then type ".tables" and hit Enter to see if
sqlite3 can pull the tables from the database file. Type ".quit" and
press Enter to quit.

If sqlite3 errors then it might be possible to debug it more or try to
fix it. Unfortunately, with a malformed database then everything could
well be lost and unrecoverable (unless you've got a backup of your
config directory with it in).



On 14/09/15 00:16, KirillDeVries wrote:
After an unexpected shutdown, I get the following fatal error message
whenever I try to launch Banshee:

An unhandled exception was thrown: Sqlite error 11: database disk image is
malformed (SQL: 
                    DELETE FROM CoreCache WHERE ModelID = 21;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 21,
CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID,
CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 83 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year)

  at Hyena.Data.Sqlite.Connection.CheckError (Int32 errorCode, System.String
sql) [0x00000] in <filename unknown>:0 
  at Hyena.Data.Sqlite.Connection.Execute (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.InternalInvoke (System.Object obj,
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.17020
OS Version: Unix 3.13.0.63

Assembly Version Information:

mscorlib (4.0.0.0)
Banshee (2.6.0.0)
Banshee.Services (2.6.0.0)
System (4.0.0.0)
glib-sharp (2.12.0.0)
dbus-sharp (1.0.0.0)
Hyena (2.6.0.0)
dbus-sharp-glib (1.0.0.0)
System.Core (4.0.0.0)
DBus.Proxies (0.0.0.0)
Nereid (2.6.0.0)
Banshee.ThickClient (2.6.0.0)
Hyena.Gui (2.6.0.0)
gtk-sharp (2.12.0.0)
Mono.Posix (4.0.0.0)
atk-sharp (2.12.0.0)
Mono.Addins (1.0.0.0)
gdk-sharp (2.12.0.0)
Hyena.Data.Sqlite (2.6.0.0)
Banshee.Core (2.6.0.0)
System.Xml (4.0.0.0)
Mono.Security (4.0.0.0)
Banshee.NowPlaying (2.6.0.0)
Banshee.Gnome (2.6.0.0)
gconf-sharp (2.24.0.0)
System.Configuration (4.0.0.0)
Banshee.GStreamer (2.6.0.0)
Banshee.Gio (2.6.0.0)
gudev-sharp (1.0.0.0)
gio-sharp (2.14.0.0)
Banshee.Widgets (2.6.0.0)
Banshee.Fixup (2.6.0.0)
Mono.Cairo (4.0.0.0)
pango-sharp (2.12.0.0)
Banshee.Lastfm (2.6.0.0)
Lastfm (2.6.0.0)
Banshee.Daap (2.6.0.0)
Banshee.Dap (2.6.0.0)
Banshee.Mpris (2.6.0.0)
Banshee.MultimediaKeys (2.6.0.0)
Banshee.SoundMenu (2.6.0.0)
notify-sharp (0.4.0.0)
Banshee.OpticalDisc (2.6.0.0)
Banshee.LastfmStreaming (2.6.0.0)
Banshee.Bpm (2.6.0.0)

Platform Information: Linux 3.13.0-63-generic x86_64 x86_64 GNU/Linux

Disribution Information:

[/etc/lsb-release]
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"

[/etc/os-release]
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/";
SUPPORT_URL="http://help.ubuntu.com/";
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";

[/etc/debian_version]
jessie/sid


And after displaying the message, the program quits.
How can I solve this problem?
When I use the sudo banshee command, it starts; however, even if it starts,
my stats (playlists, the number of times I played a certain song and when I
played it) are no longer there! So unless I solve the problem, I can no
longer access my listening data and stuff.



P.S. this is what I get when I run 'sudo banshee':

[Warn  00:43:25.959] DBus support could not be started. Disabling for this
session. - System.ArgumentNullException: Argument cannot be null.
Parameter name: address (in `dbus-sharp')
  at DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0 
  at DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 
System.Exception: Unable to open the session message bus. (in `dbus-sharp')
  at DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 
  at DBus.BusG.Init () [0x00000] in <filename unknown>:0 
  at Banshee.ServiceStack.DBusConnection.Connect (System.String serviceName,
Boolean init) [0x00000] in <filename unknown>:0 
  at Banshee.ServiceStack.DBusConnection.GrabDefaultName () [0x00000] in
<filename unknown>:0 
[Info  00:43:25.970] Running Banshee 2.6.2: [Ubuntu 14.04.1 LTS (linux-gnu,
x86_64) @ 2014-08-12 14:04:38 UTC]

(Banshee:2308): GLib-CRITICAL **: Source ID 106 was not found when
attempting to remove it

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkComponent) to class (__gtksharp_49_Hyena_Gui_BaseWidgetAccessible) after
class_init

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkTable) to class
(__gtksharp_50_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_TrackInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
after class_init

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkSelection) to class
(__gtksharp_50_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_TrackInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
after class_init

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkTable) to class
(__gtksharp_56_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_Database_QueryFilterInfo+601+5b+5bSystem_String+2c+20mscorlib+2c+20Version+3d4_0_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3db77a5c561934e089+5d+5d+2c+20Banshee_Services+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
after class_init

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkSelection) to class
(__gtksharp_56_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_Database_QueryFilterInfo+601+5b+5bSystem_String+2c+20mscorlib+2c+20Version+3d4_0_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3db77a5c561934e089+5d+5d+2c+20Banshee_Services+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
after class_init

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkTable) to class
(__gtksharp_62_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_ArtistInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
after class_init

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkSelection) to class
(__gtksharp_62_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_ArtistInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
after class_init

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkTable) to class
(__gtksharp_68_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_YearInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
after class_init

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkSelection) to class
(__gtksharp_68_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_YearInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
after class_init

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkTable) to class
(__gtksharp_74_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_AlbumInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
after class_init

(Banshee:2308): GLib-GObject-WARNING **: attempting to add an interface
(AtkSelection) to class
(__gtksharp_74_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_AlbumInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
after class_init

(Banshee:2308): IBUS-WARNING **: The owner of
/home/arcturus/.config/ibus/bus is not root!
[Info  00:43:27.019] Updating web proxy from GConf
[Warn  00:43:27.112] Caught an exception - System.ArgumentNullException:
Argument cannot be null.
Parameter name: address (in `dbus-sharp')
  at DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0 
  at DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 
[Warn  00:43:27.112] Extension `Banshee.SoundMenu.SoundMenuService' not
started: Unable to open the session message bus.
[Warn  00:43:27.113] Caught an exception - System.ApplicationException: No
support GNOME Settings Daemon could be reached. (in
`Banshee.MultimediaKeys')
  at
Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize
() [0x00000] in <filename unknown>:0 
  at Banshee.ServiceStack.ServiceManager.StartExtension
(Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0 
[Warn  00:43:27.113] Extension
`Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME
Settings Daemon could be reached.

(Banshee:2308): Gtk-WARNING **: Refusing to add non-unique action
'CloseAction' to action group 'Global'
[Warn  00:43:27.180] Caught an exception - System.ArgumentNullException:
Argument cannot be null.
Parameter name: address (in `dbus-sharp')
  at DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0 
  at DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 
[Warn  00:43:27.180] Extension `Banshee.SoundMenu.SoundMenuService' not
started: Unable to open the session message bus.
[Warn  00:43:27.180] Caught an exception - System.ApplicationException: No
support GNOME Settings Daemon could be reached. (in
`Banshee.MultimediaKeys')
  at
Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize
() [0x00000] in <filename unknown>:0 
  at Banshee.ServiceStack.ServiceManager.StartExtension
(Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0 
[Warn  00:43:27.180] Extension
`Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME
Settings Daemon could be reached.
[Info  00:43:27.181] All services are started 0.886887

(Banshee:2308): GLib-CRITICAL **: Source ID 138 was not found when
attempting to remove it
[Info  00:43:27.583] AmazonMP3 store redirect URL:
http://integrated-services.banshee.fm/amz/redirect.do/

(Banshee:2308): GLib-CRITICAL **: Source ID 260 was not found when
attempting to remove it
[Info  00:43:27.915] nereid Client Started
[Info  00:43:28.052] GStreamer version 1.2.4.0, gapless: True, replaygain:
False

(Banshee:2308): GLib-CRITICAL **: Source ID 742 was not found when
attempting to remove it

(Banshee:2308): GLib-CRITICAL **: Source ID 462 was not found when
attempting to remove it

(Banshee:2308): GLib-CRITICAL **: Source ID 746 was not found when
attempting to remove it

(Banshee:2308): GLib-CRITICAL **: Source ID 669 was not found when
attempting to remove it

(Banshee:2308): GLib-CRITICAL **: Source ID 514 was not found when
attempting to remove it

(Banshee:2308): GLib-CRITICAL **: Source ID 745 was not found when
attempting to remove it

(Banshee:2308): GLib-CRITICAL **: Source ID 4518 was not found when
attempting to remove it

(Banshee:2308): GLib-CRITICAL **: Source ID 5688 was not found when
attempting to remove it

(Banshee:2308): GLib-CRITICAL **: Source ID 4898 was not found when
attempting to remove it

(Banshee:2308): GLib-CRITICAL **: Source ID 4467 was not found when
attempting to remove it

(Banshee:2308): GLib-CRITICAL **: Source ID 4821 was not found when
attempting to remove it



--
View this message in context: 
http://banshee-media-player.2283330.n4.nabble.com/Banshee-fatal-error-database-disk-image-is-malformed-Xubuntu-14-04-64bit-tp4652390.html
Sent from the Banshee Media Player mailing list archive at Nabble.com.
_______________________________________________
banshee-list mailing list
banshee-list gnome org
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]