[IronPython] Glade

Phillip Neumann bob at sofsis.cl
Mon Sep 20 19:44:39 CEST 2004


IronPython seems greate...  but i cannot use Glade with it.. 8(

(yes, with C# i can use it...)

why does this happend?

killfill at book /> uname -a
FreeBSD book.sofsis.cl 5.3-BETA5 FreeBSD 5.3-BETA5 #0: Sun Sep 19
20:01:12 UTC 2004     root at book.sofsis.cl:/usr/obj/usr/src/sys/GENERIC 
killfill at book /> ironpython
>>> import Gtk
>>> import Glade
IronPython.Objects.PythonImportError: can't load Glade
in <0x00074> IronPython.Objects.module:Import (string,bool)
in <0x00024> IronPython.Objects.Ops:Import
in <0x0002f> input_1:Run (IronPython.Objects.Frame)
in <0x001c5> IronPythonConsole.IronPython:DoInteractive ()

>>> import Gtk.Glade
IronPython.Objects.PythonAttributeError: 'package#' object has no
attribute 'Glade'
in <0x001e6> IronPython.Objects.Ops:GetAttr (object,string)
in <0x00066> IronPython.Objects.Importer:ImportFrom (object,string)
in <0x000fd> IronPython.Objects.Importer:ImportOne (string,bool)
in <0x00025> IronPython.Objects.module:Import (string,bool)
in <0x00024> IronPython.Objects.Ops:Import
in <0x0002f> input_2:Run (IronPython.Objects.Frame)
in <0x001c5> IronPythonConsole.IronPython:DoInteractive ()

killfill at book /usr/local/lib/mono/gtk-sharp> ls
art-sharp.dll            gdk-sharp.dll            gtk-sharp.dll
atk-sharp.dll            glade-sharp.dll          gtkhtml-sharp.dll
gconf-sharp-peditors.dll glib-sharp.dll           pango-sharp.dll
gconf-sharp.dll          gnome-sharp.dll          rsvg-sharp.dll
gda-sharp.dll            gnomedb-sharp.dll        vte-sharp.dll

Phillip Neumann <bob at sofsis.cl>

More information about the Ironpython-users mailing list