Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gconf-sharp, Version=2.20.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.

Bug #330025 reported by Fernando Miguel on 2009-02-16
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Do
Medium
Alex Launi
gnome-do (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: gnome-do

$ gnome-do

** (Do:24098): WARNING **: The following assembly referenced from /home/bugabundo/.local/share/gnome-do/plugins-0.8.0/addins/Do.DiskMounter.1.0/DiskMounter.dll could not be loaded:
     Assembly: gnome-vfs-sharp (assemblyref_index=1)
     Version: 2.20.0.0
     Public Key: 35e10195dab3c99f
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/bugabundo/.local/share/gnome-do/plugins-0.8.0/addins/Do.DiskMounter.1.0).

** (Do:24098): WARNING **: Could not load file or assembly 'gnome-vfs-sharp, Version=2.20.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
[Error 09:56:37.781] [PluginManager] Encountered error loading plugin: TypeLoadException "Could not load type 'DiskMounter.DriveItemSource' from assembly 'DiskMounter, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'."
Could not read MPD database file: ApplicationName='/usr/bin/mpc', CommandLine='playlist --format ":%title%:%artist%:%album%:%file%"', CurrentDirectory=''
Could not locate Skype on D-Bus. Make sure Skype is running
Could not locate Skype on D-Bus. Make sure Skype is running
Could not locate Skype on D-Bus. Make sure Skype is running
Error while getting object for node in path '/Do/ItemSource'.
System.TypeLoadException: Could not load type 'DiskMounter.DriveItemSource' from assembly 'DiskMounter, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
  at (wrapper managed-to-native) System.MonoType:GetConstructors_internal (System.Reflection.BindingFlags,System.Type)
  at System.MonoType.GetConstructors (BindingFlags bindingAttr) [0x00000]
  at System.MonoType.GetConstructorImpl (BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00000]
  at System.Type.GetConstructor (BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00000]
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000]
  at System.Activator.CreateInstance (System.Type type) [0x00000]
  at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000]
  at Mono.Addins.InstanceExtensionNode.GetInstance () [0x00000]
  at Mono.Addins.InstanceExtensionNode.GetInstance (System.Type expectedType) [0x00000]
  at Mono.Addins.ExtensionNode.GetChildObjects (System.Type arrayElementType, Boolean reuseCachedInstance) [0x00000]
Evolution.ContactItemSource "Evolution Contacts" encountered an error in UpdateItems: An exception was thrown by the type initializer for Evolution.SourceList.
Mozilla.Firefox.BookmarkItemSource "Firefox Bookmarks" encountered an error in Items: Directory '/home/bugabundo/.mozilla/firefox/bsswcvar.ubufox/bookmarkbackups' not found..

** (Do:24098): WARNING **: The following assembly referenced from /home/bugabundo/.local/share/gnome-do/plugins-0.8.0/addins/Do.GNOMETerminal.1.0/GNOME-Terminal.dll could not be loaded:
     Assembly: gconf-sharp (assemblyref_index=6)
     Version: 2.20.0.0
     Public Key: 35e10195dab3c99f
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/bugabundo/.local/share/gnome-do/plugins-0.8.0/addins/Do.GNOMETerminal.1.0).

** (Do:24098): WARNING **: Could not load file or assembly 'gconf-sharp, Version=2.20.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.

** (Do:24098): WARNING **: Could not load file or assembly 'gconf-sharp, Version=2.20.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
GNOME.Terminal.ProfileItemSource "GNOME Terminal Profiles" encountered an error in UpdateItems: Missing or incorrect header for method .ctor.
GMail.GMailItemSource "GMail Contacts" encountered an error in Items: A type load exception has occurred..

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gconf-sharp, Version=2.20.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'gconf-sharp, Version=2.20.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'

this is related to bug 314516

$ sudo apt-get install gnome-sharp2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  gnome-sharp2: Depends: libart2.0-cil but it is not going to be installed
                Depends: libgconf2.0-cil but it is not going to be installed
                Depends: libgnome2.0-cil but it is not going to be installed
                Depends: libgnome-vfs2.0-cil but it is not going to be installed
E: Broken packages

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: gnome-do 0.8.0-1~ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SourcePackage: gnome-do
Uname: Linux 2.6.28-7-generic x86_64

description: updated
Iain Lane (laney) wrote :

Hi,

I don't see this error [do and -plugins are transitioned correclty for gnome#]. Do you have gnome-do-plugins from the official repos installed? If not, please try installing that. Else please try moving your installed addins (in ~/.local/share/gnome-do/plugins-0.8.0/) out of the way and installing them again from the preferences window.

Thanks.

Changed in gnome-do:
importance: Undecided → Medium
status: New → Incomplete

moving the plugins seem to make DO start.

Changed in gnome-do:
status: Incomplete → New

I have these:

Do.Alias.1.0 Do.GNOMETerminal.1.0 Do.SystemServices.1.0
Do.DiskMounter.1.0 Do.Google Search.1.4 Do.Text.1.0
Do.Evolution.1.2 Do.Launchpad.1.1 Do.TinyUrl.1.0
Do.File.2.0 Do.MPD.1.0 Do.VinagreVNC.1.0
Do.Firefox.2.2 Do.Pastebin.1.1 Do.VolumeControl.1.0
Do.GMail.1.5 Do.Pidgin.1.6 Do.WindowManager.1.1
Do.GNOMEScreenshot.1.0 Do.Skype.1.1
Do.GNOMESession.1.5 Do.SSH.1.0

Chris Halse Rogers (raof) wrote :

Oh, drat.

This is an artefact of the way GNOME Do uses mono-addins. When you enable them in the preferences window, the plugins are copied from the repository that's distributed in the gnome-do-plugins package into ~/.local/share/gnome-do/plugins-$ABI_VER. What's worse, mono-addins won't overwrite the plugins already in there!

Basically the only way to fix this is to change the way gnome-do uses mono-addins. A work around, until it's fixed upstream, is to delete your ~/.local/share/gnome-do/plugins-* directories, but this sucks a bit.

Changed in gnome-do:
status: New → Confirmed
Sense Egbert Hofstede (sense) wrote :

I can confirm both the problem and the work-around. For the sake of completeness I'm attaching the console output.
If there's any more information you need, please don't hesitate to ask.

Robert Dyer (psybers) on 2009-06-18
Changed in do:
importance: Undecided → Medium
Alex Launi (alexlauni) wrote :

This should be fixed with the repoless plugins.

Changed in do:
assignee: nobody → Alex Launi (alexlauni)
milestone: none → 0.8.2
status: New → Fix Committed
Changed in do:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-do - 0.8.2+dfsg-1

---------------
gnome-do (0.8.2+dfsg-1) unstable; urgency=low

  * New upstream release
    + No longer uses a plugin repository. Fixes many plugin-
      related issues. (LP: #343096, LP: #330025, LP #345001)
    + No longer blocks on "About Do" (LP: #361679)
    + Reacts correctly when a Composite manager is enabled/
      disabled at runtime. (LP: #346347, LP: #390150)
    + Fixes for space reserved by Docky blocking drag and
      drop operations. (LP: #354729, LP: #347052, LP: #382843)
    + Properly sets "Hidden" key on autostart files in response to
      "Start on login" option. (Closes: #526023) (LP: #369988)
  * debian/patches/10_application_search_path:
    + Drop; included upstream
  * debian/patches/10_sk_translation_update:
    + Import sk translation update from Debian BTS.
      (Closes: #531779)
  * debian/patches/11_fix_autostart_when_directory_does_not_exist:
    + Patch from upstream. Fixes the "Start on login" option when the
      ~/.config/autostart directory does not exist. (LP: #393729)
  * debian/control:
    + Update standards version to 3.8.2; no changes required.
    + Add libtool to Build-Depends; required for autoreconf.
    + Add Recommends: on new gnome-do-docklets package.
  * debian/gnome-do.1
    + Fix spelling: GNOME-Do => GNOME Do.
    + Miscelaneous lintian fixes; NAME section, escaping minus signs with \-
  * debian/copyright:
    + Update for new copyright holders.
    + Minor update to DEP-5 format

 -- Steve Kowalik <email address hidden> Wed, 12 Aug 2009 07:36:56 +0100

Changed in gnome-do (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers