Autopano - problem with Mono installation

Hi
I’m OpenSuSe 10.3 user. I have problem with my Mono installation. When I try running autopano program (it requieres Mono) I get this error:

** (/usr/local/bin/generatekeys.exe:16894): WARNING **: The following
assembly referenced from /usr/local/bin/generatekeys.exe could not be
loaded:
Assembly: gtk-sharp (assemblyref_index=1)
Version: 1.0.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 (/usr/local/bin).

** (/usr/local/bin/generatekeys.exe:16894): WARNING **: Could not load
file or assembly ‘gtk-sharp, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f’ or one of its dependencies.

** (/usr/local/bin/generatekeys.exe:16894): WARNING **: Missing method
Init in assembly /usr/local/bin/generatekeys.exe, type Gtk.Application

Unhandled Exception: System.IO.FileNotFoundException: Could not load
file or assembly ‘gtk-sharp, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f’ or one of its dependencies.
File name: “gtk-sharp, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f”

This is my Mono installation test:


whereis mono
mono: /usr/bin/mono /etc/mono /usr/lib/mono /usr/bin/X11/mono /usr/
share/man/man1/mono.1.gz


and gac listing:

gacutil -l | grep 35e10195dab3c99f
art-sharp, Version=2.16.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
atk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gconf-sharp, Version=2.16.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gconf-sharp-peditors, Version=2.16.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gdk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
glade-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
glib-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gnome-sharp, Version=2.16.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gnome-vfs-sharp, Version=2.16.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gsf-sharp, Version=0.0.0.7, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gtk-dotnet, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gtk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gtkhtml-sharp, Version=2.16.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
pango-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.10.atk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.10.gdk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.10.glade-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.10.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.10.gtk-dotnet, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.10.gtk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.10.pango-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.art-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.atk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.gconf-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.gconf-sharp-peditors, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.gdk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.glade-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.gnome-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.gnome-vfs-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.gtk-dotnet, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.gtk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.gtkhtml-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.4.pango-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.art-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.atk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.gconf-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.gconf-sharp-peditors, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.gdk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.glade-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.gnome-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.gnome-vfs-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.gtk-dotnet, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.gtk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.gtkhtml-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.6.pango-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.art-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.atk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.gconf-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.gconf-sharp-peditors, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.gdk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.glade-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.gnome-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.gnome-vfs-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.gtk-dotnet, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.gtk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.gtkhtml-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
policy.2.8.pango-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f

What could be the problem (maybe version gtk-sharp)? What I can do with it? Mono is installed by the Yast repo…

Best regards
mario

I’m not sure if this is the problem you’re having but when I installed hugin and autopano I got a lot of error codes relating to generatekeys.exe. I found this ( - UU-DOT ] - Voor gevorderden! » Blog Archive » autopano-sift, HuginOSX on a mac without gtk-sharp](http://voorgevorderden.com/2007/08/30/autopano-sift-huginosx-on-a-mac-without-gtk-sharp/) ) forum thread for a Mac and I followed the steps shown in the thread on my openSUSE installation instead and autopano now works fine. Basically, open “/usr/local/bin/autopano-complete.sh” (without quotes) and replace all instances of “generatekeys.exe” (without quotes) with “generatekeys-sd.exe” (without quotes) and it worked fine for me.

I cover this in the hugin section on my tutorial at openSUSE 10.3 Configuration Guide

I hope it helps, I was certainly spending ages trying to find out what was wrong with Mono and gtk-sharp when it was just a simple issue with autopano!

I don’t know how but It works :slight_smile: You are The Great :slight_smile:

Thank you very much

Best regards
mario