Carl Karsten wrote:
> run DaboDemo.py on windows, the green dabo thing doesn't show up.
> http://dev.personnelware.com/carl/a/daboerr1.png
I have a feeling it is related to constructing the path to
dabo_lettering_250x100.png on windows.
This is the what defines the part that is missing, right?
<afterInit><![CDATA[
def afterInit(self):
self.Source = """<div align="center"><img
src="dabo_lettering_250x100.png"></div>
<h1 align="center">Dabo Demonstration</h1>
Where can I put a print so that I can see what path name it is coming up with?
(unlike the next one, this is not a py2exe problem.)
>
> On Linux it does:
> http://dev.personnelware.com/carl/a/daboerr2.png
>
> on win, if I make/run DaboDemo.exe, it errors:
>
> Traceback (most recent call last):
> File "DaboDemo.py", line 27, in <module>
> File "DaboDemo.py", line 20, in main
> File "dabo\dApp.pyo", line 259, in start
> File "dabo\dApp.pyo", line 220, in setup
> File "dabo\ui\uiwx\__init__.pyo", line 188, in getUiApp
> File "dabo\ui\uiwx\uiApp.pyo", line 107, in __init__
> File "wx\_core.pyo", line 7757, in __init__
> File "wx\_core.pyo", line 7354, in _BootstrapApp
> File "dabo\ui\uiwx\uiApp.pyo", line 157, in OnInit
> File "dabo\ui\uiwx\uiApp.pyo", line 35, in __init__
> File "dabo\ui\uiwx\__init__.pyo", line 1310, in pathToBmp
> File "wx\_core.pyo", line 3270, in ConvertToBitmap
> wx._core.PyAssertionError: C++ assertion "image.Ok()" failed at
> ..\..\src\msw\bitmap.cpp(799) in wxBitmap::CreateFromImage(): invalid image
>
It seems to be having trouble with the splash screen,
img = os.path.join(basepath, "icons", "daboSplashName.png")
print img
P:\dabodev\dabodemo\DaboDemo\dist\library.zip\dabo\icons\daboSplashName.png
some py2exe thing I have to set.
Carl K
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/%(messageid)s