GNOME Bugzilla – Bug 647412
An unhandled exception was thrown: Could not read add-in description at Mono.Addins.Addin.get_Description ()
Last modified: 2011-06-15 11:33:54 UTC
This happened to me after upgrading banshee in Ubuntu 11.04 and also 10.10. I upgraded through the update manager. In both OS when I try to launch banshee I get an error message that reads: Exception has been thrown by the target of an invocation An unhandled exception was thrown: Could not read add-in description at Mono.Addins.Addin.get_Description () [0x00000] in <filename unknown>:0 at Mono.Addins.AddinSessionService.CheckHostAssembly (System.Reflection.Assembly asm) [0x00000] in <filename unknown>:0 at Mono.Addins.AddinSessionService.ActivateRoots () [0x00000] in <filename unknown>:0 at Mono.Addins.AddinSessionService.Initialize () [0x00000] in <filename unknown>:0 at Mono.Addins.AddinManager.Initialize (System.String configDir) [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.ServiceManager.InitializeAddins () [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.ServiceManager.DefaultInitialize () [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.Application.Initialize () [0x00000] in <filename unknown>:0 at Banshee.Gui.GtkBaseClient.Initialize (Boolean registerCommonServices) [0x00000] in <filename unknown>:0 at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault, System.String defaultIconName) [0x00000] in <filename unknown>:0 at Banshee.Gui.GtkBaseClient..ctor () [0x00000] in <filename unknown>:0 at Nereid.Client..ctor () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 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] in <filename unknown>:0 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in <filename unknown>:0 at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] in <filename unknown>:0 .NET Version: 2.0.50727.1433 OS Version: Unix 2.6.38.8 Assembly Version Information: System.Xml (2.0.0.0) Banshee.Core (2.0.0.0) Hyena.Data.Sqlite (2.0.0.0) System.Core (3.5.0.0) gdk-sharp (2.12.0.0) Mono.Addins (0.4.0.0) atk-sharp (2.12.0.0) Hyena.Gui (2.0.0.0) gtk-sharp (2.12.0.0) Banshee.ThickClient (2.0.0.0) Nereid (2.0.0.0) NDesk.DBus.Proxies (0.0.0.0) Mono.Posix (2.0.0.0) Hyena (2.0.0.0) NDesk.DBus (1.0.0.0) glib-sharp (2.12.0.0) System (2.0.0.0) Banshee.Services (2.0.0.0) Banshee (2.0.0.0) mscorlib (2.0.0.0) Platform Information: Linux 2.6.38-8-generic-pae i686 i386 GNU/Linux Disribution Information: [/etc/lsb-release] DISTRIB_ID=Ubuntu DISTRIB_RELEASE=11.04 DISTRIB_CODENAME=natty DISTRIB_DESCRIPTION="Ubuntu Natty (development branch)" [/etc/debian_version] squeeze/sid I get the same error in Ubuntu 10.10. I can't launch the program.
Created attachment 185680 [details] banshee log
Created attachment 185681 [details] Log in Maverick
Attachment 185680 [details] is from Natty.
If I run [Info 00:14:33.251] Running Banshee 2.0.0: [Ubuntu Natty (development branch) (linux-gnu, i686) @ 2011-04-09 07:25:01 UTC] Exception has been thrown by the target of an invocation. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Could not read add-in description at Mono.Addins.Addin.get_Description () [0x00000] in <filename unknown>:0 at Mono.Addins.AddinSessionService.CheckHostAssembly (System.Reflection.Assembly asm) [0x00000] in <filename unknown>:0 at Mono.Addins.AddinSessionService.ActivateRoots () [0x00000] in <filename unknown>:0 at Mono.Addins.AddinSessionService.Initialize () [0x00000] in <filename unknown>:0 at Mono.Addins.AddinManager.Initialize (System.String configDir) [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.ServiceManager.InitializeAddins () [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.ServiceManager.DefaultInitialize () [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.Application.Initialize () [0x00000] in <filename unknown>:0 at Banshee.Gui.GtkBaseClient.Initialize (Boolean registerCommonServices) [0x00000] in <filename unknown>:0 at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault, System.String defaultIconName) [0x00000] in <filename unknown>:0 at Banshee.Gui.GtkBaseClient..ctor () [0x00000] in <filename unknown>:0 at Nereid.Client..ctor () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in <filename unknown>:0 at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] in <filename unknown>:0 followed by the error posted above. If I run sudo banshee --debug-addins: Info 00:16:41.854] Running Banshee 2.0.0: [Ubuntu Natty (development branch) (linux-gnu, i686) @ 2011-04-09 07:25:01 UTC] Checking: /usr/lib/banshee Checking: /usr/lib/banshee/Backends Checking: /usr/lib/banshee/Extensions Folders checked (42 ms) [Warn 00:16:42.518] DBus support could not be started. Disabling for this session. [Warn 00:16:45.781] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys') at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0 [Warn 00:16:45.781] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached. [Warn 00:16:45.891] Caught an exception - System.ArgumentNullException: Argument cannot be null. Parameter name: address (in `NDesk.DBus') at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0 at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 [Warn 00:16:45.891] Extension `Banshee.SoundMenu.SoundMenuService' not started: Unable to open the session message bus. [Info 00:16:45.897] Updating web proxy from GConf [Warn 00:16:45.955] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys') at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0 [Warn 00:16:45.955] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached. (Banshee:2360): Gtk-WARNING **: Refusing to add non-unique action 'CloseAction' to action group 'Global' [Warn 00:16:45.957] Caught an exception - System.ArgumentNullException: Argument cannot be null. Parameter name: address (in `NDesk.DBus') at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0 at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 [Warn 00:16:45.961] Extension `Banshee.SoundMenu.SoundMenuService' not started: Unable to open the session message bus. [Info 00:16:45.963] All services are started 3.44297 ** (Banshee:2360): DEBUG: Syncdaemon not running, waiting for it to start in NameOwnerChanged (Banshee:2360): libsoup-WARNING **: No feature manager for feature of type 'U1RequestChrome' ** (Banshee:2360): WARNING **: Error calling get_info: Process /usr/lib/ubuntuone-client/ubuntuone-syncdaemon exited with status 1 ** (Banshee:2360): CRITICAL **: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed ** (Banshee:2360): WARNING **: Error rescanning Purchased Music: No such file or directory ** (Banshee:2360): DEBUG: Loading the real store page ** (Banshee:2360): WARNING **: Got less number of items in credentials hash table than expected! [Info 00:16:49.360] nereid Client Started [Info 00:16:49.582] GStreamer version 0.10.32.0, gapless: True, replaygain: False Then banshee starts asking me to move my music to my root Music directory.
(In reply to comment #4) > If I run banshee --debug-addins > > [Info 00:14:33.251] Running Banshee 2.0.0: [Ubuntu Natty (development branch) > (linux-gnu, i686) @ 2011-04-09 07:25:01 UTC] > Exception has been thrown by the target of an invocation. > System.Reflection.TargetInvocationException: Exception has been thrown by the > target of an invocation. ---> System.InvalidOperationException: Could not read > add-in description > at Mono.Addins.Addin.get_Description () [0x00000] in <filename unknown>:0 > at Mono.Addins.AddinSessionService.CheckHostAssembly > (System.Reflection.Assembly asm) [0x00000] in <filename unknown>:0 > at Mono.Addins.AddinSessionService.ActivateRoots () [0x00000] in <filename > unknown>:0 > at Mono.Addins.AddinSessionService.Initialize () [0x00000] in <filename > unknown>:0 > at Mono.Addins.AddinManager.Initialize (System.String configDir) [0x00000] in > <filename unknown>:0 > at Banshee.ServiceStack.ServiceManager.InitializeAddins () [0x00000] in > <filename unknown>:0 > at Banshee.ServiceStack.ServiceManager.DefaultInitialize () [0x00000] in > <filename unknown>:0 > at Banshee.ServiceStack.Application.Initialize () [0x00000] in <filename > unknown>:0 > at Banshee.Gui.GtkBaseClient.Initialize (Boolean registerCommonServices) > [0x00000] in <filename unknown>:0 > at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault, System.String > defaultIconName) [0x00000] in <filename unknown>:0 > at Banshee.Gui.GtkBaseClient..ctor () [0x00000] in <filename unknown>:0 > at Nereid.Client..ctor () [0x00000] in <filename unknown>:0 > at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke > (object,object[],System.Exception&) > at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags > invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, > System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 > --- End of inner exception stack trace --- > at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags > invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, > System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 > at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, > System.Reflection.Binder binder, System.Object[] parameters, > System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 > at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) > [0x00000] in <filename unknown>:0 > at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) > [0x00000] in <filename unknown>:0 > at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename > unknown>:0 > at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in <filename unknown>:0 > at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler > startup) [0x00000] in <filename unknown>:0 > > followed by the error posted above. > > If I run sudo banshee --debug-addins: > > > Info 00:16:41.854] Running Banshee 2.0.0: [Ubuntu Natty (development branch) > (linux-gnu, i686) @ 2011-04-09 07:25:01 UTC] > Checking: /usr/lib/banshee > Checking: /usr/lib/banshee/Backends > Checking: /usr/lib/banshee/Extensions > Folders checked (42 ms) > [Warn 00:16:42.518] DBus support could not be started. Disabling for this > session. > [Warn 00:16:45.781] Caught an exception - System.ApplicationException: No > support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys') > at > Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize > () [0x00000] in <filename unknown>:0 > at Banshee.ServiceStack.ServiceManager.StartExtension > (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0 > [Warn 00:16:45.781] Extension `Banshee.MultimediaKeys.MultimediaKeysService' > not started: No support GNOME Settings Daemon could be reached. > [Warn 00:16:45.891] Caught an exception - System.ArgumentNullException: > Argument cannot be null. > Parameter name: address (in `NDesk.DBus') > at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename > unknown>:0 > at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 > [Warn 00:16:45.891] Extension `Banshee.SoundMenu.SoundMenuService' not > started: Unable to open the session message bus. > [Info 00:16:45.897] Updating web proxy from GConf > [Warn 00:16:45.955] Caught an exception - System.ApplicationException: No > support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys') > at > Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize > () [0x00000] in <filename unknown>:0 > at Banshee.ServiceStack.ServiceManager.StartExtension > (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0 > [Warn 00:16:45.955] Extension `Banshee.MultimediaKeys.MultimediaKeysService' > not started: No support GNOME Settings Daemon could be reached. > > (Banshee:2360): Gtk-WARNING **: Refusing to add non-unique action 'CloseAction' > to action group 'Global' > [Warn 00:16:45.957] Caught an exception - System.ArgumentNullException: > Argument cannot be null. > Parameter name: address (in `NDesk.DBus') > at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename > unknown>:0 > at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 > [Warn 00:16:45.961] Extension `Banshee.SoundMenu.SoundMenuService' not > started: Unable to open the session message bus. > [Info 00:16:45.963] All services are started 3.44297 > ** (Banshee:2360): DEBUG: Syncdaemon not running, waiting for it to start in > NameOwnerChanged > > (Banshee:2360): libsoup-WARNING **: No feature manager for feature of type > 'U1RequestChrome' > > ** (Banshee:2360): WARNING **: Error calling get_info: Process > /usr/lib/ubuntuone-client/ubuntuone-syncdaemon exited with status 1 > > ** (Banshee:2360): CRITICAL **: syncdaemon_folder_info_get_subscribed: > assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed > > ** (Banshee:2360): WARNING **: Error rescanning Purchased Music: No such file > or directory > ** (Banshee:2360): DEBUG: Loading the real store page > > ** (Banshee:2360): WARNING **: Got less number of items in credentials hash > table than expected! > [Info 00:16:49.360] nereid Client Started > [Info 00:16:49.582] GStreamer version 0.10.32.0, gapless: True, replaygain: > False > > Then banshee starts asking me to move my music to my root Music directory.
Please obtain a Debug log. http://live.gnome.org/Banshee/CommonQuestions/Logs
I believe the issue was because I was sharing a /home folder with natty and maverick with the same username. As soon as I changed this it resolved my issue. I'm sorry it took so long to get back top you.
*** Bug 648443 has been marked as a duplicate of this bug. ***
Reopening
*** Bug 648798 has been marked as a duplicate of this bug. ***
I'm hopeful that moving to Mono.Addins 0.6 will fix this issue in future releases.
Gabriel: This does fix it. I've upgraded using the following ppa for libmono addins https://launchpad.net/~docky-core/+archive/ppa and now I can use banshee again :) Hopefully this is moved to the official repositories very soon so I can move away from a somewhat untrusted source. Thanks!
Nevermind this does not work, it actually fixes this bug but causes another one. Banshee locks up in about 10 seconds using this version of mono addins.....I have no music player until this issue is resolved :(:(
right after I closed this originally I started noticing that a lot of people were seeing this or similar problems. I had it once but when I tried to run it with --debug-addins it disappeared and never returned so I stopped investigating. Thanks for reopening. I also believe I saw something similar to this on my friends Windows XP machine when I tried to demo Banshee for him so it seems we are at least striking one for equality.
wow, my apologies, that wasn't intended for this bug.
*** Bug 649820 has been marked as a duplicate of this bug. ***
Joel, please file a new bug for your mono-addins 0.6 freeze, and include the log (see http://banshee.fm/contribute/file-bugs/ for how to get a useful one with thread dumps while the app is frozen).
*** This bug has been marked as a duplicate of bug 583107 ***