[MonoDevelop] Can't start monodevelop

peter apvx95 at dsl.pipex.com
Mon Oct 17 15:08:31 EDT 2005


Lluis Sanchez wrote:

>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.
>  
>
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.

So it doesn't look like that's the problem, I'm afraid, unless I'm 
missing something.

Cheers

Peter




More information about the Monodevelop-list mailing list