GtkLabel is not defined
Donn <[email protected]> Sat, 10 Apr 2004 19:41:21 +0200
| Newsgroups | gmane.comp.python.anygui.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have looked in the mail archives and only found 2 references to this
problem. I would like to know if this has been solved since those posts (Jan
2003).
I am running Fedora Core 1 and have not done any funny stuff like upgrading
GTK or Python.
The install seems smooth enough, but a run gives the error listed at the end.
I want to use Python as a language to teach kids about coding and anygui would
be just brilliant to cut-down the sheer amount of download this and download
that that gui programming seems to demand on Linux.
Well, I would say thanks for a brilliant product, but I still gotta see it!
Regards
Donn
South Africa
[root@donn test]# python test.py
Traceback (most recent call last):
File "test.py", line 3, in ?
from anygui.Utils import log
File "/usr/lib/python2.2/site-packages/anygui/__init__.py", line 87, in ?
_backend_passthrough()
File "/usr/lib/python2.2/site-packages/anygui/__init__.py", line 59, in
_backend_passthrough
mod = _dotted_import('anygui.backends.%sgui' % name,)
File "/usr/lib/python2.2/site-packages/anygui/__init__.py", line 41, in
_dotted_import
mod = __import__(name, globals(), locals(), [])
File "/usr/lib/python2.2/site-packages/anygui/backends/gtkgui.py", line 64,
in ?
class Label(ComponentMixin, AbstractLabel):
File "/usr/lib/python2.2/site-packages/anygui/backends/gtkgui.py", line 65,
in Label
_gtk_class = GtkLabel
NameError: name 'GtkLabel' is not defined
--
an ion plague ;
secret adapts a moon
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click