bitmap object

<[email protected]> Tue, 14 Dec 2010 15:47:25 +0100
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
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

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d