GNOME Bugzilla – Bug 494036
Banshee fatal error at startup
Last modified: 2007-11-29 14:44:12 UTC
The error below appear after i install flac into my Ubuntu, which i still can play music before it. Not really sure is it the real reason of it. An unhandled exception was thrown: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2[System.Int32,Banshee.Base.TrackInfo].get_Item (Int32 ) [0x00000] at Banshee.Sources.PlaylistSource.LoadFromDatabase () [0x00000] at Banshee.Sources.PlaylistSource..ctor (Int32 id) [0x00000] at Banshee.Sources.PlaylistUtil.LoadSources () [0x00000] at Banshee.Sources.LibrarySource.LoadPlaylists () [0x00000] at Banshee.Sources.LibrarySource..ctor () [0x00000] at Banshee.Sources.LibrarySource.get_Instance () [0x00000] at Banshee.PlayerUI.OnStartupRunFinished (System.Object o, System.EventArgs args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at Banshee.Base.ComponentInitializer.OnRunFinished () [0x00000] at Banshee.Base.ComponentInitializer.Run () [0x00000] at Banshee.Base.Globals.Initialize (Banshee.Base.ComponentInitializerHandler interfaceStartupHandler) [0x00000] at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] .NET Version: 2.0.50727.42 Assembly Version Information: System.Configuration (2.0.0.0) glade-sharp (2.10.0.0) Boo.Lang.Compiler (1.0.0.0) Banshee.Plugins.Recommendation (0.13.1.23544) Banshee.Plugins.Radio (0.13.1.23543) Banshee.Plugins.Podcast (0.13.1.23542) Banshee.Plugins.NotificationAreaIcon (0.13.1.23540) Banshee.Plugins.MiniMode (0.13.1.23539) Banshee.Plugins.MetadataSearch (0.13.1.23538) Banshee.Plugins.Bookmarks (0.13.1.23535) Banshee.Plugins.Audioscrobbler (0.13.1.23535) njb-sharp (0.3.0.42394) Banshee.Dap.Njb (0.13.1.23534) gnome-vfs-sharp (2.16.0.0) Banshee.Dap.MassStorage (0.13.1.23533) ipod-sharp (0.0.1.0) Banshee.Dap.Ipod (0.13.1.23533) Banshee.MediaEngine.GStreamer (0.13.1.23532) System.Xml (2.0.0.0) System.Transactions (2.0.0.0) gconf-sharp (2.16.0.0) System.Data (2.0.0.0) Mono.Data.SqliteClient (2.0.0.0) pango-sharp (2.10.0.0) Mono.Cairo (2.0.0.0) Hal (0.0.0.0) Banshee.Widgets (0.13.1.23525) Last.FM (0.0.0.0) NDesk.DBus (1.0.0.0) Mono.Posix (2.0.0.0) NDesk.DBus.GLib (1.0.0.0) gnome-sharp (2.16.0.0) gdk-sharp (2.10.0.0) System (2.0.0.0) atk-sharp (2.10.0.0) glib-sharp (2.10.0.0) gtk-sharp (2.10.0.0) Banshee.Base (0.13.1.23528) banshee (0.13.1.23531) mscorlib (2.0.0.0) Platform Information: Linux 2.6.22-14-generic x86_64 unknown GNU/Linux Disribution Information: [/etc/debian_version] lenny/sid [/etc/lsb-release] DISTRIB_ID=Ubuntu DISTRIB_RELEASE=7.10 DISTRIB_CODENAME=gutsy DISTRIB_DESCRIPTION="Ubuntu 7.10" THIS IS THE DEBUG MODE Debug: [11/6/2007 3:18:27 PM] (Loading audio profiles) - /usr/share/banshee/audio-profiles Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2[System.Int32,Banshee.Base.TrackInfo].get_Item (Int32 ) [0x00000] at Banshee.Sources.PlaylistSource.LoadFromDatabase () [0x00000] at Banshee.Sources.PlaylistSource..ctor (Int32 id) [0x00000] at Banshee.Sources.PlaylistUtil.LoadSources () [0x00000] at Banshee.Sources.LibrarySource.LoadPlaylists () [0x00000] at Banshee.Sources.LibrarySource..ctor () [0x00000] at Banshee.Sources.LibrarySource.get_Instance () [0x00000] at Banshee.Base.Library.ReloadLibraryThread () [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () Debug: [11/6/2007 3:18:28 PM] (Default player engine) - GStreamer 0.10 Debug: [11/6/2007 3:18:28 PM] (Audio CD Core Initialized) - Debug: [11/6/2007 3:18:28 PM] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_82D846F0D846E251 Debug: [11/6/2007 3:18:28 PM] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_82D846F0D846E251 Debug: [11/6/2007 3:18:28 PM] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_CE6CB00D6CAFEF01 Debug: [11/6/2007 3:18:28 PM] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_CE6CB00D6CAFEF01 Debug: [11/6/2007 3:18:28 PM] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_C40CA3B80CA3A3C0 Debug: [11/6/2007 3:18:28 PM] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_C40CA3B80CA3A3C0 Warning: [11/6/2007 3:18:28 PM] (Power Management Call Failed) - Cannot find GNOME Power Manager: Name org.gnome.PowerManager has no owner Debug: [11/6/2007 3:18:28 PM] (Enabled multimedia keys support) - Using org.gnome.SettingsDaemon The given key was not present in the dictionary. System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2[System.Int32,Banshee.Base.TrackInfo].get_Item (Int32 ) [0x00000] at Banshee.Sources.PlaylistSource.LoadFromDatabase () [0x00000] at Banshee.Sources.PlaylistSource..ctor (Int32 id) [0x00000] at Banshee.Sources.PlaylistUtil.LoadSources () [0x00000] at Banshee.Sources.LibrarySource.LoadPlaylists () [0x00000] at Banshee.Sources.LibrarySource..ctor () [0x00000] at Banshee.Sources.LibrarySource.get_Instance () [0x00000] at Banshee.PlayerUI.OnStartupRunFinished (System.Object o, System.EventArgs args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at Banshee.Base.ComponentInitializer.OnRunFinished () [0x00000] at Banshee.Base.ComponentInitializer.Run () [0x00000] at Banshee.Base.Globals.Initialize (Banshee.Base.ComponentInitializerHandler interfaceStartupHandler) [0x00000] at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] Segmentation fault (core dumped)
This is a duplicate of bug #354092. Thanks for reporting; we'll need to update that bug there.
Also, FYI: bug #354092 indicates that this *might* be caused by a corrupt database. Can you move your banshee.db out of ~/.config/banshee/ (or possibly ~/.banshee) and test? Just a workaround for the time being, but it may get Banshee working again for you. :)
moving it works and banshee start working again.. thx
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. Glad that workaround works for you. You can see on bug #354092 that they're working on fixing this problem once and for all. *** This bug has been marked as a duplicate of 354092 ***