When I try to run demo.py in 2.3.2.1-Py15, I get the following error:
Traceback (innermost last):
File "Main.py", line 496, in AfterSplash
frame = wxPythonDemo(None, -1, "wxPython: (A Demonstration)")
File "Main.py", line 126, in __init__
icon = wxIconFromXPMData(images.getMondrianData())
File "images.py", line 9, in getMondrianData
return cPickle.loads(zlib.decompress(
zlib.error: Error -3 while decompressing data: incorrect data check
after the splash screen disappears, and nothing else seems to happen. Some of the individual demo programs which import images (e.g. SplitTree) exit without error but also without displaying anything.
When I try to run demo.py in 2.3.2.1-Py15, I get the following error:
Traceback (innermost last):
File "Main.py", line 496, in AfterSplash
frame = wxPythonDemo(None, -1, "wxPython: (A Demonstration)")
File "Main.py", line 126, in __init__
icon = wxIconFromXPMData(images.getMondrianData())
File "images.py", line 9, in getMondrianData
return cPickle.loads(zlib.decompress(
zlib.error: Error -3 while decompressing data: incorrect data check
after the splash screen disappears, and nothing else seems to happen. Some of the individual demo programs which import images (e.g. SplitTree) exit without error but also without displaying anything.
Has anyone else had these problems?
I'm using Python 1.5.2 on Win98SE.
David
I just realized that you can re-create the images.py file by running encode_images.py. That seems to have fixed my problem with the demo, so I can finally try out the SplitTree demo!
Robin, you might want to check that the binary
wxPython-2.3.2.1-Py15-hybrid.exe
has an up-to-date images.py which works properly with Python 1.5.
I just realized that you can re-create the images.py file by running
encode_images.py. That seems to have fixed my problem with the demo, so
I can finally try out the SplitTree demo!
Robin, you might want to check that the binary
wxPython-2.3.2.1-Py15-hybrid.exe
has an up-to-date images.py which works properly with Python 1.5.
I've updated my dist build script to do it automatically.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!