473,398 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

wxPython resource editor bug (syntax error)

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 <ro******@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 $
Jul 18 '05 #1
1 1795
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
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Grant Edwards | last post by:
Can anybody recommend a good book on wxPython? Are there any books on wxPython? I've been trying to learn wxPython and/or wax for a few weeks, and I'm just not getting it. wxWindows seems...
6
by: OKB (not okblacke) | last post by:
I've started taking a look at wxPython, and, well, I've noticed that the syntax needed to code with it is extremely ugly. I am wondering if there exist any preprocessing tools or clever...
13
by: Peter Maas | last post by:
Recently I replaced Win2k with Linux on my desktop computer. Using mostly multi-platform software I thought this would be easy. It was not as easy as expected getting wxPython to work. There seemed...
11
by: Danny Pressley | last post by:
I have a VS.NET 2003 Visual C++ MFC Application Project in which I added a new resource file, I then added an icon to this new resource file and did a rebuild and got the following error: "fatal...
0
by: Bill | last post by:
Hi Everyone, I am having some difficulty in using the Windows Resource Localization Editor (WinRes.exe) on several Visual Basic .NET forms (.resx files) in two different projects. The editor...
1
by: codemania | last post by:
Disappointing me extremely, with the "generate python" function within Resource Editor, I only get a segment of python code which load xrc(xml format) file, rather than real python code in which I...
3
by: =?Utf-8?B?TGV4?= | last post by:
I have a standard MFC application, every now and then, probably after editing resources or classes it changes the #included statement in the .RC file from resource.h to reasource. I then have to...
3
by: teh_sAbEr | last post by:
I'm busy trying to learn wxPython, and i'm trying to run the following piece of code (its from the wxPyWiki tutorial): import wx ID_ABOUT = 101 ID_EXIT = 110 class MainWindow(wx.Frame):...
6
by: Ivan Reborin | last post by:
Hello all, I'm new to python, new as newbies get, so please, don't take wrongly if this seems like a stupid or overly simple question. I'm going through examples in a book I have ("Beginning...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.