GNOME Bugzilla – Bug 626791
banshee crashes on startup due to disabled amazon plugin? (V1.7.3)
Last modified: 2010-08-29 20:16:20 UTC
An unhandled exception was thrown: The required addin 'Banshee.AmazonMp3,1.0' is disabled. at Mono.Addins.AddinSessionService.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, Boolean optional) [0x00000] at Mono.Addins.AddinSessionService.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, Boolean optional) [0x00000] 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] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Banshee.Gui.GtkBaseClient.Startup () [0x00000] at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] .NET Version: 2.0.50727.1433 OS Version: Unix 2.6.32.24 Assembly Version Information: Banshee.FileSystemQueue (1.7.0.0) Banshee.PlayQueue (1.7.0.0) Banshee.CoverArt (1.7.0.0) Banshee.LastfmStreaming (1.7.0.0) Lastfm (1.7.0.0) System.Configuration (2.0.0.0) Banshee.Dap (1.7.0.0) Banshee.LibraryWatcher (1.7.0.0) Banshee.MultimediaKeys (1.7.0.0) Banshee.Bpm (1.7.0.0) Banshee.Lastfm (1.7.0.0) pango-sharp (2.12.0.0) Banshee.Fixup (1.7.0.0) Banshee.Widgets (1.7.0.0) Banshee.Hal (1.7.0.0) Banshee.Unix (1.7.0.0) Banshee.GStreamer (1.7.0.0) Mono.Media (1.7.0.0) System.Transactions (2.0.0.0) NDesk.DBus.GLib (1.0.0.0) gconf-sharp (2.24.0.0) Banshee.Gnome (1.7.0.0) Banshee.NowPlaying (1.7.0.0) Mono.Cairo (2.0.0.0) System.Data (2.0.0.0) Mono.Data.Sqlite (1.7.0.0) System.Xml (2.0.0.0) Banshee.Core (1.7.0.0) Hyena.Data.Sqlite (1.7.0.0) gdk-sharp (2.12.0.0) Mono.Addins (0.4.0.0) atk-sharp (2.12.0.0) Hyena.Gui (1.7.0.0) Mono.Posix (2.0.0.0) gtk-sharp (2.12.0.0) Banshee.ThickClient (1.7.0.0) Nereid (1.7.0.0) NDesk.DBus.Proxies (0.0.0.0) System.Core (3.5.0.0) NDesk.DBus (1.0.0.0) glib-sharp (2.12.0.0) Hyena (1.7.0.0) System (2.0.0.0) Banshee.Services (1.7.0.0) Banshee (1.7.0.0) mscorlib (2.0.0.0) Platform Information: Linux 2.6.32-24-generic x86_64 unknown GNU/Linux Disribution Information: [/etc/lsb-release] DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS" [/etc/debian_version] squeeze/sid
Can you attach the full log?
Created attachment 167782 [details] startup crash (on disabled extension?) Add-in could not be loaded: The required addin 'Banshee.AmazonMp3,1.0' is disabled
When this happened to me, ~/.config/banshee-1/addin-db-001/config.xml contained: <Addin id="Banshee.AmazonMp3,1.0" enabled="False" /> but not <Addin id="Banshee.AmazonMp3.Store,1.0" enabled="False" /> Since AmazonMp3.Store seems to depend on AmazonMp3, the original configuration was bad. Workaround: a.) remove the AmazonMp3 entry above from the config.xml to start with an enabled Amazon plugin, or b.) add the AmazonMp3.Store entry above to start with a disabled Amazon plugin. PS: Configuring it from within Banshee works fine - it takes care of that dependency.
Thanks Hernando, I tried workaround a) and that fixed the problem.
Fixed in master, thanks for filing: commit 9aa9c5369c4d1e2ce8990e1870b1893769b0a433 Author: Gabriel Burt <gabriel.burt@gmail.com> Date: Tue Aug 24 12:59:34 2010 [SourceManager] Catch exceptions with extension sources Fixes bgo#626791 where the AmazonMp3.Store extension would throw an exception when we tried to load it if the AmazonMp3 (downloader) extension was somehow disabled.
*** Bug 628179 has been marked as a duplicate of this bug. ***