[Mono-list] monodevelop won't run
peter
apvx95 at dsl.pipex.com
Tue Nov 1 15:32:26 EST 2005
caminoix (sent by Nabble.com) wrote:
> i've installed mono 1.1.9.2 and everything works fine except for
> monodevelop.
> this is the error message i get:
>
>Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gnome.ModuleInfo ---> System.DllNotFoundException: gnomesharpglue-2
>in (wrapper managed-to-native) Gnome.ModuleInfo:gnomesharp_gnome_moduleinfo_get_name_offset ()
>in <0x00008> Gnome.ModuleInfo:.cctor ()--- End of inner exception stack trace ---
>
>in <0x00000>
>in <0x00025> Gnome.Modules:get_UI ()
>in <0x0044c> MonoDevelop.SharpDevelopMain:Main (System.String[] args)
>
I get the same error. I've tried posting here and to the monodevelop
list without success.
I did get this suggestion:
*************************
"The method gnomesharp_gnome_moduleinfo_get_name_offset is defined in
libgnomesharpglue-2. The problem may be that you have two different
versions of this library in different prefixes and gnome# is loading the
wrong one."
*****************************
to which I replied saying that it could well be correct, but which one
should I get rid of. This is what I wrote:
*******************************
"I tried the following:
linux:~ # cd /usr/lib
linux:/usr/lib # ls -l libgnome*
-rwxr-xr-x 1 root root 11988 Sep 8 01:49 libgnomesharpglue-2.so
-rwxr-xr-x 1 root root 11460 May 16 18:42 libgnomesharpglue.so
linux:/usr/lib # mv libgnomesharpglue-2.so libgnomesharpgleu-2.so.sav
linux:/usr/lib # mv libgnomesharpglue.so libgnomesharpglue.so.sav
I then tried to run monodevelop, as follows:
peter at linux:~> monodevelop
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for Gnome.ModuleInfo --->
System.EntryPointNotFoundException:
gnomesharp_gnome_moduleinfo_get_name_offset
in (wrapper managed-to-native)
Gnome.ModuleInfo:gnomesharp_gnome_moduleinfo_get_name_offset ()
in <0x00008> Gnome.ModuleInfo:.cctor ()--- End of inner exception stack
trace ---
in <0x00000> <unknown method>
in <0x00025> Gnome.Modules:get_UI ()
in <0x0044c> MonoDevelop.SharpDevelopMain:Main (System.String[] args)
Then I tried:
linux:/usr/lib # cd /usr/local/lib
linux:/usr/local/lib # ls -l libgnome*
-rw-r--r-- 1 root root 64362 Apr 23 12:18 libgnomesharpglue-2.a
-rwxr-xr-x 1 root root 2105 Apr 23 12:18 libgnomesharpglue-2.la
-rwxr-xr-x 1 root root 61605 Apr 23 12:18 libgnomesharpglue-2.so
linux:/usr/local/lib # mv libgnomesharpglue-2.so libgnomesharpglue-2.so.sav
linux:/usr/local/lib # mv libgnomesharpglue-2.la libgnomesharpglue-2.la.sav
linux:/usr/local/lib # mv libgnomesharpglue-2.a libgnomesharpglue-2.a.sav
linux:/usr/local/lib # ls -l libgnome*
-rw-r--r-- 1 root root 64362 Apr 23 12:18 libgnomesharpglue-2.a.sav
-rwxr-xr-x 1 root root 2105 Apr 23 12:18 libgnomesharpglue-2.la.sav
-rwxr-xr-x 1 root root 61605 Apr 23 12:18 libgnomesharpglue-2.so.sav
and I got, when I tried to start monodevelop:
peter at linux:~> monodevelop
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for
MonoDevelop.Gui.Dialogs.SplashScreenForm --->
System.TypeInitializationException: An exception was thrown by the type
initializer for Gtk.Container ---> System.EntryPointNotFoundException:
gtksharp_gtk_container_get_focus_child_offset
in (wrapper managed-to-native)
Gtk.Container:gtksharp_gtk_container_get_focus_child_offset ()
in <0x0000a> Gtk.Container:.cctor ()--- End of inner exception stack
trace ---
in <0x00000> <unknown method>
in <0x0000e> Gtk.Bin:.ctor (IntPtr raw)
in <0x0002f> Gtk.Window:.ctor (WindowType type)
in <0x00025> MonoDevelop.Gui.Dialogs.SplashScreenForm:.ctor ()
in <0x00016> MonoDevelop.Gui.Dialogs.SplashScreenForm:.cctor ()--- End
of inner exception stack trace ---
in <0x00000> <unknown method>
in <0x0054b> MonoDevelop.SharpDevelopMain:Main (System.String[] args)
So I tried:
linux:/usr/local/lib # mv libgnomesharpglue-2.a.sav libgnomesharpglue-2.a
linux:/usr/local/lib # ls -l libgnome*
-rw-r--r-- 1 root root 64362 Apr 23 12:18 libgnomesharpglue-2.a
-rwxr-xr-x 1 root root 2105 Apr 23 12:18 libgnomesharpglue-2.la.sav
-rwxr-xr-x 1 root root 61605 Apr 23 12:18 libgnomesharpglue-2.so.sav
and tried again:
peter at linux:~> monodevelop
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for
MonoDevelop.Gui.Dialogs.SplashScreenForm --->
System.TypeInitializationException: An exception was thrown by the type
initializer for Gtk.Container ---> System.EntryPointNotFoundException:
gtksharp_gtk_container_get_focus_child_offset
in (wrapper managed-to-native)
Gtk.Container:gtksharp_gtk_container_get_focus_child_offset ()
in <0x0000a> Gtk.Container:.cctor ()--- End of inner exception stack
trace ---
in <0x00000> <unknown method>
in <0x0000e> Gtk.Bin:.ctor (IntPtr raw)
in <0x0002f> Gtk.Window:.ctor (WindowType type)
in <0x00025> MonoDevelop.Gui.Dialogs.SplashScreenForm:.ctor ()
in <0x00016> MonoDevelop.Gui.Dialogs.SplashScreenForm:.cctor ()--- End
of inner exception stack trace ---
in <0x00000> <unknown method>
in <0x0054b> MonoDevelop.SharpDevelopMain:Main (System.String[] args)
Then I tried:
linux:/usr/local/lib # mv libgnomesharpglue-2.la.sav libgnomesharpglue-2.la
linux:/usr/local/lib # ls -l libgnome*
-rw-r--r-- 1 root root 64362 Apr 23 12:18 libgnomesharpglue-2.a
-rwxr-xr-x 1 root root 2105 Apr 23 12:18 libgnomesharpglue-2.la
-rwxr-xr-x 1 root root 61605 Apr 23 12:18 libgnomesharpglue-2.so.sav
and got:
peter at linux:~> monodevelop
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for
MonoDevelop.Gui.Dialogs.SplashScreenForm --->
System.TypeInitializationException: An exception was thrown by the type
initializer for Gtk.Container ---> System.EntryPointNotFoundException:
gtksharp_gtk_container_get_focus_child_offset
in (wrapper managed-to-native)
Gtk.Container:gtksharp_gtk_container_get_focus_child_offset ()
in <0x0000a> Gtk.Container:.cctor ()--- End of inner exception stack
trace ---
in <0x00000> <unknown method>
in <0x0000e> Gtk.Bin:.ctor (IntPtr raw)
in <0x0002f> Gtk.Window:.ctor (WindowType type)
in <0x00025> MonoDevelop.Gui.Dialogs.SplashScreenForm:.ctor ()
in <0x00016> MonoDevelop.Gui.Dialogs.SplashScreenForm:.cctor ()--- End
of inner exception stack trace ---
in <0x00000> <unknown method>
in <0x0054b> MonoDevelop.SharpDevelopMain:Main (System.String[] args)
Finally I did:
linux:/usr/local/lib # mv libgnomesharpglue-2.so.sav libgnomesharpglue-2.so
Which put me back where I started and gave the same error I reported
before."
********************************************
Unfortunately, I got no reply to this.
HTH
Peter
More information about the Mono-list
mailing list