wxPython resource editor bug (syntax error)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark Carter

    wxPython resource editor bug (syntax error)

    Running xrced.py produced:
    Traceback (most recent call last):
    File "C:\Python23\Li b\site-packages\wxPyth on\tools\XRCed\ xrced.py", line 28, in ?
    from tree import * # imports xxx which imports params
    File "C:\Python23\Li b\site-packages\wxPyth on\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 <rolinsky@mema. ucl.ac.be>
    # Created: 02.12.2002
    # RCS-ID: $Id: tree.py,v 1.1.2.7 2003/05/12 14:11:30 ROL Exp $
  • Cliff Wells

    #2
    Re: wxPython resource editor bug (syntax error)

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

    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


    Comment

    Working...