Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > wxPython resource editor bug (syntax error)

Reply
Thread Tools

wxPython resource editor bug (syntax error)

 
 
Mark Carter
Guest
Posts: n/a
 
      08-07-2003
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 <(E-Mail Removed)>
# Created: 02.12.2002
# RCS-ID: $Id: tree.py,v 1.1.2.7 2003/05/12 14:11:30 ROL Exp $
 
Reply With Quote
 
 
 
 
Cliff Wells
Guest
Posts: n/a
 
      08-08-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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use "Resource Editor" in wxPython ? codemania Python 1 08-31-2007 01:46 PM
bug in vs 2005 resource editor? Robert Dufour ASP .Net 0 04-28-2007 08:42 PM
Resource manager problem: naming for embedded resource. Dirc Khan-Evans ASP .Net 1 10-17-2005 12:52 PM
ANN: New low-cost XML Editor, XSLT Editor, XSLT Debugger, DTD/Schema Editor Stylus Studio Java 0 08-03-2004 03:53 PM



Advertisments