Thanks,
First of all, I can run bibus in my python shell without error
I found bibus redirects the stderr to a wxwindow, so I took off the
commnet before
[code]
#fsock = open('out.log', 'w')
#sys.stderr = fsock
[/code]
and here is the info in out.log
[quote]
Traceback (most recent call last):
File "<string>", line 142, in ?
File "c:\bibus-1.2.0\buildbibus\out1.pyz/BibFrame", line 190, in __init__
File "c:\bibus-1.2.0\buildbibus\out1.pyz/display_panel", line 25, in __init__
AttributeError: DisplayPanel instance has no attribute 'Bind'
[/quote]
I comment this line out as
[code]
#self.Bind(wx.EVT_NOTEBOOK_PAGE_CHANGED, self.onPageChange,
self.Display_notebook)
[/code]
and run pyinstaller, then bibus.exe says
[quote]
Traceback (most recent call last):
File "<string>", line 145, in ?
File "c:\bibus-1.2.0\buildbibus\out1.pyz/BibFrame", line 214, in __init__
File "c:\bibus-1.2.0\buildbibus\out1.pyz/BibFrame", line 237, in autoConnect
File "c:\bibus-1.2.0\buildbibus\out1.pyz/BibFrame", line 256, in __noDB
File "c:\bibus-1.2.0\buildbibus\out1.pyz/display_panel", line 54, in Clear
AttributeError: wxNotebook instance has no attribute 'GetCurrentPage'
[/quote]
so I modify the code to
[code]
#self.Display_notebook.GetCurrentPage().Clear()
pass
[/code]
and pyinstaller creates a runable bibus.exe this time. however the
'styles' menu can not be activated.
[/quote]
I think that because pyinstaller does not treate wxPython module correctly.
thank you for your help
_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller