wizzkid
January 14th, 2006, 06:48 AM
I follow this this site http://www.arson-network.com/index.php?class=tutorial&subargs=430
im not sure if I have these:
Python = installed as defaul. .2.4
GTK
Glade = installed
pyGTK
pyGlade
the other im not sure.. how to check.
But I followed and created the program. but I encounter error upon running ./swap.py
Error is:
(swap.py:11343): Gdk-WARNING **: locale not supported by Xlib
(swap.py:11343): Gdk-WARNING **: cannot set locale modifiers
Traceback (most recent call last):
File "./swap.py", line 69, in ?
app=gui() #9
File "./swap.py", line 39, in __init__
dic = {"on_swap_clicked" : #2
AttributeError: gui instance has no attribute 'on_swap_clicked'
I've attached the tar.gz file which contains the cource code..
Sorry. Im a newbie that want to learn programming. this is my first step in python
thanks
im not sure if I have these:
Python = installed as defaul. .2.4
GTK
Glade = installed
pyGTK
pyGlade
the other im not sure.. how to check.
But I followed and created the program. but I encounter error upon running ./swap.py
Error is:
(swap.py:11343): Gdk-WARNING **: locale not supported by Xlib
(swap.py:11343): Gdk-WARNING **: cannot set locale modifiers
Traceback (most recent call last):
File "./swap.py", line 69, in ?
app=gui() #9
File "./swap.py", line 39, in __init__
dic = {"on_swap_clicked" : #2
AttributeError: gui instance has no attribute 'on_swap_clicked'
I've attached the tar.gz file which contains the cource code..
Sorry. Im a newbie that want to learn programming. this is my first step in python
thanks