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 626791 - banshee crashes on startup due to disabled amazon plugin? (V1.7.3)
banshee crashes on startup due to disabled amazon plugin? (V1.7.3)
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
1.7.3
Other Linux
: Normal critical
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 628179 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-08-13 07:41 UTC by Arutha
Modified: 2010-08-29 20:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
startup crash (on disabled extension?) (3.11 KB, text/plain)
2010-08-13 08:28 UTC, Arutha
Details

Description Arutha 2010-08-13 07:41:34 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
Comment 1 Gabriel Burt 2010-08-13 07:44:07 UTC
Can you attach the full log?
Comment 2 Arutha 2010-08-13 08:28:54 UTC
Created attachment 167782 [details]
startup crash (on disabled extension?)

Add-in could not be loaded: The required addin 'Banshee.AmazonMp3,1.0' is disabled
Comment 3 Hernando Torque 2010-08-23 13:06:04 UTC
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.
Comment 4 Serrano Pereira 2010-08-23 21:24:26 UTC
Thanks Hernando, I tried workaround a) and that fixed the problem.
Comment 5 Gabriel Burt 2010-08-24 18:05:48 UTC
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.
Comment 6 Gabriel Burt 2010-08-29 20:16:20 UTC
*** Bug 628179 has been marked as a duplicate of this bug. ***