wxPython resource editor bug (syntax error)

M

Mark Carter

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 not been having much luck with python lately!

---
Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)] on win32

---
# Name: tree.py
# Purpose: XRC editor, XML_tree class
# Author: Roman Rolinsky <[email protected]>
# Created: 02.12.2002
# RCS-ID: $Id: tree.py,v 1.1.2.7 2003/05/12 14:11:30 ROL Exp $
 
C

Cliff Wells

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top