|
From: <phi...@ac...> - 2010-12-14 15:18:27
|
Hello,
I have written a script for the chemical transformations. It runs very well on win xp.
I'm trying to run this script on ubuntu 10.10.
One error appears
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14636, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "avancement.py", line 116, in on_initialize
self.Update()
File "avancement.py", line 232, in Update
self.GenerateImage(self.strM,'M')
File "avancement.py", line 139, in GenerateImage
self.components.ImageButtonM._setBitmap( self.components.ImageButtonM._getBitmap() )
File "/usr/lib/pymodules/python2.6/PythonCard/components/image.py", line 87, in _setBitmap
self.SetBitmap( aValue.getBits() )
AttributeError: 'Bitmap' object has no attribute 'getBits'
I create a image bitmap which cannot be loaded on pythoncard on linux.
getBits is not an attribute of the bitmap object.
ftp://ftp-champo.ac-toulouse.fr/pub/pdalet/python/Avancement-0.6.zip
Thanks a lot for your answers.
Ph DALET
|