wxPython resource editor bug (syntax error)

Discussion in 'Python' started by Mark Carter, Aug 7, 2003.

  1. Mark Carter

    Mark Carter Guest

    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 <>
    # Created: 02.12.2002
    # RCS-ID: $Id: tree.py,v 1.1.2.7 2003/05/12 14:11:30 ROL Exp $
     
    Mark Carter, Aug 7, 2003
    #1
    1. Advertising

  2. Mark Carter

    Cliff Wells Guest

    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
     
    Cliff Wells, Aug 8, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stylus Studio
    Replies:
    0
    Views:
    694
    Stylus Studio
    Aug 3, 2004
  2. avishosh
    Replies:
    2
    Views:
    10,584
    avishosh
    Aug 8, 2004
  3. Robert Dufour

    bug in vs 2005 resource editor?

    Robert Dufour, Apr 28, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    325
    Robert Dufour
    Apr 28, 2007
  4. codemania
    Replies:
    1
    Views:
    311
  5. Good Night Moon
    Replies:
    9
    Views:
    284
    Rick DeNatale
    Jul 25, 2007
Loading...

Share This Page