wxPython resource editor bug (syntax error)

Cliff Wells clifford.wells at comcast.net
Thu Aug 7 20:29:00 EDT 2003


On Thu, 2003-08-07 at 06:36, Mark Carter wrote:
> Running xrced.py produced:
> Traceback (most recent call last):
>   File "C:\Python23\Lib\site-packages\wxPython\tools\XRCed\xrced.py", line 28, in ?
>     from tree import *                      # imports xxx which imports params
>   File "C:\Python23\Lib\site-packages\wxPython\tools\XRCed\tree.py", line 1174
>     
>     ^
> SyntaxError: invalid syntax

I've got tree.py version 1.1.2.8 (cvs) which only has 939 lines.  I'd
try to edit the file and see if there is perhaps some garbage at the end
(I suspect line 1174 is at the end).  Just delete everything after the
last character in the program and save it.

Regards,

Cliff

-- 
She licked her lips and turned to feather
                                -Bauhaus






More information about the Python-list mailing list