Hi there,
I have an application written in Python 2.3, wxPython 2.4 , C++, OpenGL
OS: Fedora Core 3
Now I need to upgrade it using Python 2.4 and wxPython 2.6 OS: Fedora Core 6
There was a few minor faults and it was easy to fix
But now I get this Segmentation fault error message
What is the diffrences between Python 2.3 and Python 2.4?
What is the diffrences between wxPython 2.4 and wxPython 2.6?
19 1879 bartonc 6,596
Recognized Expert Expert
Hi there,
I have an application written in Python 2.3, wxPython 2.4 , C++, OpenGL
OS: Fedora Core 3
Now I need to upgrade it using Python 2.4 and wxPython 2.6 OS: Fedora Core 6
There was a few minor faults and it was easy to fix
But now I get this Segmentation fault error message
What is the diffrences between Python 2.3 and Python 2.4?
What is the diffrences between wxPython 2.4 and wxPython 2.6?
The big problems seem to come when attempting to import modules that were compiled with earlier versions of the core include and header files into a newer version of python. On Widows, we get a very clear message that say something like "that was compiled with an earlier version of python". I've also read that compiled modules should be built with THE SAME compiler as python was built with, but, again, this issue is seldom seen on Windows because the production version of python is built with VC++. So if you have source code you can compile troublesome modules with current include and header files. If not look for current binaries (I have this problem with python-MySQLd).
As for wx, I didn't start using it until V2.6 and skipped the part of the release notes that talked about backward compatability. I do know that there are some issues, however. Of course, wx is now in version 2.8 as of December, 2006.
The big problems seem to come when attempting to import modules that were compiled with earlier versions of the core include and header files into a newer version of python. On Widows, we get a very clear message that say something like "that was compiled with an earlier version of python". I've also read that compiled modules should be built with THE SAME compiler as python was built with, but, again, this issue is seldom seen on Windows because the production version of python is built with VC++. So if you have source code you can compile troublesome modules with current include and header files. If not look for current binaries (I have this problem with python-MySQLd).
As for wx, I didn't start using it until V2.6 and skipped the part of the release notes that talked about backward compatability. I do know that there are some issues, however. Of course, wx is now in version 2.8 as of December, 2006.
I am going to check it out. But wxPython is only a GUI toolkit. Off course I am used to working on Windows from home as well. So far I havent test this program's compatibility on windows, thank you for your input
bartonc 6,596
Recognized Expert Expert
I am going to check it out. But wxPython is only a GUI toolkit. Off course I am used to working on Windows from home as well. So far I havent test this program's compatibility on windows, thank you for your input
You are welcome for the input. I have gotten to know wxPython quite well over the past 6 months (the most common widgets and all the methods of EVT_* class objects), so if you have questions there, I can probably guide you.
You are welcome for the input. I have gotten to know wxPython quite well over the past 6 months (the most common widgets and all the methods of EVT_* class objects), so if you have questions there, I can probably guide you.
Well, Thank you for the offer.
I myself have gotton to know wxPython quite well.
My problem is that I know wxPython 2.6 > better than I know wxPython 2.4
And the same with Python 2.4 > better than Python 2.3
bartonc 6,596
Recognized Expert Expert
Well, Thank you for the offer.
I myself have gotton to know wxPython quite well.
My problem is that I know wxPython 2.6 > better than I know wxPython 2.4
And the same with Python 2.4 > better than Python 2.3
Sounds like our skill sets may be on about the same level. I've never even tried to to stay 2.3 compatible. It seems like most significant changes took place in 2.2 and maybe now with 2.5 some new syntax has evolved, but I haven't really checked it out too much.
Sounds like our skill sets may be on about the same level. I've never even tried to to stay 2.3 compatible. It seems like most significant changes took place in 2.2 and maybe now with 2.5 some new syntax has evolved, but I haven't really checked it out too much.
Exactly, I have the same problem.
I am forced though to still use Python 2.3 and Python 2.4
I get an error with SetStringSelect ion.
[ERROR] wxPython.wxc.wx PyAssertionErro r
C++ assertion "wxAssertFailur e" failed in ../src/common/lboxcmn.cpp(81) : invalid string in SetStringSelect ion [/ERROR] - self.R.SetStringSelection(rol
)
bartonc 6,596
Recognized Expert Expert
Exactly, I have the same problem.
I am forced though to still use Python 2.3 and Python 2.4
I get an error with SetStringSelect ion.
[ERROR] wxPython.wxc.wx PyAssertionErro r
C++ assertion "wxAssertFailur e" failed in ../src/common/lboxcmn.cpp(81) : invalid string in SetStringSelect ion [/ERROR] - self.R.SetStringSelection(rol
)
This does not look like a python error (or version problem). Your wxPython version may be out of sink with wxWidgets installed. Post enough code to run and I'll try to run it to see if I get the same error. I am currnetly using Py2.4.4 because of current MySQL support.
This does not look like a python error (or version problem). Your wxPython version may be out of sink with wxWidgets installed. Post enough code to run and I'll try to run it to see if I get the same error. I am currnetly using Py2.4.4 because of current MySQL support.
What I haven't mensioned is that the application I am working on is very big, 1 Gb of code.
Keeping that in mind, you can understand that there is a lot of imports depending on each other, sending you enough code, isn't quite possible
But the good news is that I think I found my problem. A wxWidget problem.
Thank you so much for your help
bartonc 6,596
Recognized Expert Expert
What I haven't mensioned is that the application I am working on is very big, 1 Gb of code.
Keeping that in mind, you can understand that there is a lot of imports depending on each other, sending you enough code, isn't quite possible
But the good news is that I think I found my problem. A wxWidget problem.
Thank you so much for your help
OK, here's the plan: Make a simpleApp with enough code to produce the error on your machine. Then start a new discussion and post your simpleApp there and I'll run it. We should be targeting the wx installation since that is what the error looks like to me.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Emile van Sebille |
last post by:
QOTW: "If we get 2.3.3c1 out in early December, we could release 2.3.3 final
before the end of the year, and start 2004 with a 100% bug-free codebase
<wink>." -- Tim Peters
"cjOr proWe vbCould vbSettle prpFor noEnglish prpIn adjHungarian
noNotation :-)" -- noPeter
Jack Jensen reveals that python on mac continues as an osx option only...
|
by: Emile van Sebille |
last post by:
QOTW: "Have you ever used the copy module? I am *not* a beginner, and have
used it *once* (and I can't remember what for, either)." -- Michael Hudson
"It will likely take a little practice before this stuff rattles off your
fingertips easily." -- Paul Rubin
BJ MacNevin wants to run python from a CD....
|
by: Emile van Sebille |
last post by:
QOTW (in the OS agnostic category): "There is a (very popular) Python
package out there which exposes the win32 api. I'm not sure what it's
called. (win32api? pythonwin? win32all?)" -- Francis Avila
QOTW (in the popular vote category): "So far, python has been the easiest
language to learn I've ever come across. I tried learning perl,...
|
by: Raghu |
last post by:
Hello all,
I need small help regarding the diffrences of .obj files .
what is the difference in the .obj files in the following two cases apart
from teh names of the variables and functions?
1) the .obj file created when x.c is compiled noramlly as a "C" file?
2) the .obj file created when x.c is forced to be treated as CPP file by
using...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |