GNOME Bugzilla – Bug 397861
System.Collections.Generic.KeyNotFoundException on startup
Last modified: 2007-01-18 08:24:14 UTC
I removed some files from my library that no longer existed on my hard drive, and when I restart banshee now, it crashes (see below for stack trace). I removed my ~/.gnome2/banshee directory and it worked again. (Note: I have save it if you want to check it out) 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.OnLibraryReloaded (System.Object o, System.EventArgs args) [0x00000] at Banshee.PlayerUI.InitialLoadTimeout () [0x00000] at Banshee.PlayerUI..ctor () [0x00000] at Banshee.BansheeEntry+<>c__CompilerGenerated1.<>c__AnonymousMethod15 () [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () 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] Real-time signal 1
This is a duplicate of bug 354092. Could you attach your corrupt database there? I'll look into this when I've got time. *** This bug has been marked as a duplicate of 354092 ***