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 647412 - An unhandled exception was thrown: Could not read add-in description at Mono.Addins.Addin.get_Description ()
An unhandled exception was thrown: Could not read add-in description at Mono....
Status: RESOLVED DUPLICATE of bug 583107
Product: banshee
Classification: Other
Component: general
2.0.0
Other Linux
: Normal critical
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 648443 648798 649820 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-04-11 03:54 UTC by Matthew Hollis
Modified: 2011-06-15 11:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
banshee log (4.45 KB, text/x-log)
2011-04-11 03:55 UTC, Matthew Hollis
Details
Log in Maverick (4.36 KB, application/octet-stream)
2011-04-11 05:12 UTC, Matthew Hollis
Details

Description Matthew Hollis 2011-04-11 03:54:12 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.
Comment 1 Matthew Hollis 2011-04-11 03:55:36 UTC
Created attachment 185680 [details]
banshee log
Comment 2 Matthew Hollis 2011-04-11 05:12:17 UTC
Created attachment 185681 [details]
Log in Maverick
Comment 3 Matthew Hollis 2011-04-11 05:13:28 UTC
Attachment 185680 [details] is from Natty.
Comment 4 Matthew Hollis 2011-04-14 04:20:35 UTC
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.
Comment 5 Matthew Hollis 2011-04-14 04:36:54 UTC
(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.
Comment 6 David Nielsen 2011-04-18 13:58:34 UTC
Please obtain a Debug log.
http://live.gnome.org/Banshee/CommonQuestions/Logs
Comment 7 Matthew Hollis 2011-04-22 12:56:37 UTC
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.
Comment 8 David Nielsen 2011-04-24 07:36:20 UTC
*** Bug 648443 has been marked as a duplicate of this bug. ***
Comment 9 David Nielsen 2011-04-24 07:37:22 UTC
Reopening
Comment 10 Gabriel Burt 2011-05-02 22:49:44 UTC
*** Bug 648798 has been marked as a duplicate of this bug. ***
Comment 11 Gabriel Burt 2011-05-02 22:50:38 UTC
I'm hopeful that moving to Mono.Addins 0.6 will fix this issue in future releases.
Comment 12 Joel Madero 2011-05-08 18:47:19 UTC
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!
Comment 13 Joel Madero 2011-05-08 18:49:11 UTC
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 :(:(
Comment 14 David Nielsen 2011-05-08 21:58:41 UTC
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.
Comment 15 David Nielsen 2011-05-08 22:00:53 UTC
wow, my apologies, that wasn't intended for this bug.
Comment 16 Gabriel Burt 2011-05-09 20:08:26 UTC
*** Bug 649820 has been marked as a duplicate of this bug. ***
Comment 17 Gabriel Burt 2011-05-09 20:10:04 UTC
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).
Comment 18 Andrés G. Aragoneses (IRC: knocte) 2011-06-15 11:33:54 UTC

*** This bug has been marked as a duplicate of bug 583107 ***