Hi all,
>
>I am running Python 2.2 with wxPython and Boa to develop a system. Last
>night I installed the new version of wxGTK (version 2.4.0.2-1) via RPM
>on a Redhat 8.0 system.
>
>I was running Boa 1.5, but after installation of this new wxGTK version
>I got the error "Global name 'string' not defined", and it aborts. The
>problem remains the same after installation of version 0.2.0 of Boa.
>
>It looks like a bug in wxGTK. Anybody any ideas?
>
I installed boa 0.2.0 and all the relates wxGTK stuff and got the same problem.
All the .py files giving the same error didn't import string but they import * from wxPython.wx
As werner pointed to you this can be solved adding import string on top of the wx.py module usually found at
/usr/lib/python2.X/site-packages/wxPython/wx.py
This worked fine to me, and hope will do for you.
Regards
Jose Chaso.
ยทยทยท
--
\\\
( o o )
-------------ooO----(_)----Ooo--------------
Jose Jesus Chaso Gonzalez
Tlfno: 654 825 368
Email: jose_chaso@yahoo.es
ZeuX Ingenieros Consultores S.L.
--------------------------------------------
>__|__|
>> >>
ooO Ooo
___________________________________________________
Yahoo! M?viles
Personaliza tu m?vil con tu logo y melod?a favorito en http://moviles.yahoo.es