After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 397861 - System.Collections.Generic.KeyNotFoundException on startup
System.Collections.Generic.KeyNotFoundException on startup
Status: RESOLVED DUPLICATE of bug 354092
Product: banshee
Classification: Other
Component: general
0.11.3
Other Linux
: Normal normal
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-18 02:21 UTC by Scott Ellington
Modified: 2007-01-18 08:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Scott Ellington 2007-01-18 02:21:44 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
Comment 1 Ruben Vermeersch 2007-01-18 08:24:14 UTC
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 ***