Hi,
I've just started to dabble with Python and Dabo. Tried using Python
2.6, but got an error. Saw a reference to the same error in the
archives here which suggested using 2.5 instead, so I've uninstalled 2.6
and installed 2.5 and wxPython. From a command prompt I ran the "python
setup.py install" command and everything apparently went smoothly. (BTW
why does the How to Install topic on the wiki not include how to install
Dabo?)
Anyhow, I start up IDLE and open the DaboDemo.py and run it, but I get
this error:
Traceback (most recent call last):
File "C:\development\dabo\demo\DaboDemo.py", line 25, in <module>
main()
File "C:\development\dabo\demo\DaboDemo.py", line 21, in main
app.start()
File
"C:\Python25\lib\site-packages\dabo-0.9.1-py2.5.egg\dabo\dApp.py", line
360, in start
self.setup()
File
"C:\Python25\lib\site-packages\dabo-0.9.1-py2.5.egg\dabo\dApp.py", line
312, in setup
self.uiApp = dabo.ui.getUiApp(self, callback=self.initUIApp)
File
"c:\python25\lib\site-packages\Dabo-0.9.1-py2.5.egg\dabo\ui\uiwx\__init__.py",
line 218, in getUiApp
ret = uiApp(app, callback)
File
"C:\Python25\lib\site-packages\dabo-0.9.1-py2.5.egg\dabo\ui\uiwx\uiApp.py",
line 113, in __init__
wx.App.__init__(self, 0, *args)
File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7757, in __init__
self._BootstrapApp()
File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7354, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File
"C:\Python25\lib\site-packages\dabo-0.9.1-py2.5.egg\dabo\ui\uiwx\uiApp.py",
line 190, in OnInit
app.splashTimeout)
File
"C:\Python25\lib\site-packages\dabo-0.9.1-py2.5.egg\dabo\ui\uiwx\uiApp.py",
line 40, in __init__
self._bmp = dabo.ui.pathToBmp(bitmap)
File
"c:\python25\lib\site-packages\Dabo-0.9.1-py2.5.egg\dabo\ui\uiwx\__init__.py",
line 1619, in pathToBmp
return img.ConvertToBitmap()
File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 3270, in ConvertToBitmap
return _core_.Image_ConvertToBitmap(*args, **kwargs)
PyAssertionError: C++ assertion "image.Ok()" failed at
..\..\src\msw\bitmap.cpp(799) in wxBitmap::CreateFromImage(): invalid image
which looks like the same error I got when running with 2.6
Any ideas what I have done wrong?
--
Frank.
Frank Cazabon
Samaan Systems Ltd. - Developing Solutions
www.SamaanSystems.com/
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]