trying to test my program under Linux,
(not knowing anything about Linux),
I installed Ubuntu in Virtual Box,
and tried to run the script in Ubuntu
(oh what is that terrible complex, coming from windows
and get the following error:
聽聽聽聽Segmentation fault
(Remembers me of windows 10 years ago
Now I cut my program to the minimum,
and it looks that the Notebook is causing the problems.
(I can run other Python scripts in Ubuntu correctly)
Could someone verify that the program given below is not working in Ubuntu ( and mayby other Linux systems) ?
Does someone has a solution or work around ?
Here are the wx versions:
Ubuntu : '2.8.7.1 (gtk2-unicode)'
Windows: '2.8.7.1 (msw-unicode)'
Sunday, October 12, 2008, 6:37:00 PM, Stef Mientki wrote:
hello,
trying to test my program under Linux,
(not knowing anything about Linux),
I installed Ubuntu in Virtual Box,
and tried to run the script in Ubuntu
(oh what is that terrible complex, coming from windows
and get the following error:
Segmentation fault
(Remembers me of windows 10 years ago
Now I cut my program to the minimum,
and it looks that the Notebook is causing the problems.
(I can run other Python scripts in Ubuntu correctly)
Could someone verify that the program given below is not working in
Ubuntu ( and mayby other Linux systems) ?
Does someone has a solution or work around ?
Here are the wx versions:
Ubuntu : '2.8.7.1 (gtk2-unicode)'
Windows: '2.8.7.1 (msw-unicode)'
trying to test my program under Linux,
(not knowing anything about Linux),
I installed Ubuntu in Virtual Box,
and tried to run the script in Ubuntu
(oh what is that terrible complex, coming from windows
and get the following error:
Segmentation fault
(Remembers me of windows 10 years ago
Now I cut my program to the minimum,
and it looks that the Notebook is causing the problems.
(I can run other Python scripts in Ubuntu correctly)
Could someone verify that the program given below is not working in Ubuntu ( and mayby other Linux systems) ?
Does someone has a solution or work around ?
Here are the wx versions:
Ubuntu : '2.8.7.1 (gtk2-unicode)'
Windows: '2.8.7.1 (msw-unicode)'
both changes were necessary to make it run correctly under Ubuntu.
The code might have looked a bit strange,
but that's because this code was generated by a program,
so I'll adapt the generator.
both changes were necessary to make it run correctly under Ubuntu.
Only the imageId is necessary,
so apparently you're not allowed to specify the imageId,
before assigning the imagelist,
...
but then it's a bug in the Ubuntu version of wxPython, or not ?
Stef
路路路
The code might have looked a bit strange,
but that's because this code was generated by a program,
so I'll adapt the generator.
Only the imageId is necessary,
so apparently you're not allowed to specify the imageId,
before assigning the imagelist,
...
but then it's a bug in the Ubuntu version of wxPython, or not ?
Defining a pointer to a non existing list is a programmer's fault that might go undetected under the Windows version of wxPython
both changes were necessary to make it run correctly under Ubuntu.
Only the imageId is necessary,
so apparently you're not allowed to specify the imageId,
before assigning the imagelist,
...
but then it's a bug in the Ubuntu version of wxPython, or not ?
Not. One of the core wx developers once said something to this effect: wxWidgets is about making properly written code behave the same way on all supported platforms, *not* about making improperly written code to behave or misbehave in the same ways on all platforms.
In other words, trying to use an image before there is an image list is improper, but the fact that it happens to work okay on MSW is just an accident.
路路路
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!