Ok...I've created an appwizard app and not made any modifications at all
just to see how to create a Windows executable. The first issue I ran into
was the No win32com error which was solved with a quick search of the
forums.
Once I installed the the win32com package, I ran the buildwin.bat file in
the appwizard generated app directory and everything seemed to run ok. When
it was done I went into the created dist directory and double clicked the
exe file only to get the following:
The application has failed to start because the application configuration is
incorrect. Reinstalling the application may fix this problem.
I've read over several posts on the py2exe site and the Dabo forums with no
discernible resolution. During compilation I did get warnings along with:
*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.
See the entire output at the end of this post.
I'm running windows xp pro under virtualbox on Linux (pclinuxos 2010)
I've only installed the basic requirement for dabo under the windows virtual
machine. I'm using python version 2.5.
The app runs fine from the python files.
HELP!!!!!!!
Output from running buildwin.bat:
warning: py2exe: Version Info will not be included:
could not parse version number ''
The following modules appear to be missing
['Crypto.Cipher', 'Numeric', 'OpenGL.GL', 'OpenGL.GLUT', '_autosuper',
'_imaging
_gif', 'bind_constants', 'cjson', 'cx_Oracle', 'dbConnectionDefs',
'email.Genera
tor', 'email.Iterators', 'email.Utils', 'email.base64MIME', 'jarray',
'java.awt.
image', 'javax.imageio', 'json', 'kinterbasdb', 'libxml2',
'local_rl_config', 'm
atplotlib.backends.backend_agg', 'matplotlib.figure', 'mx', 'mx.DateTime',
'numa
rray', 'numpy.oldnumeric', 'psycopg2', 'psycopg2.extras', 'pudb', 'pyRXPU',
'pyl
ab', 'pymssql', 'pysqlite2', 'reportlab.lib._rl_accel',
'reportlab.lib.pyHnj', '
reportlab.monitor', 'rl_config', 'rlextra.graphics',
'rlextra.pageCatcher.pageCa
tcher', 'rlextra.rml2pdf.rml2pdf', 'settings_override', 'simplejson',
'tests.tes
t_platypus_tables', 'wx.lib.agw.flatnotebook', 'wx.lib.platebtn',
'wx.tools.Edit
ra.src.extern.flatnotebook', 'xmlrpcserver', 'yaml', 'wx.BitmapFromImage',
'wx.E
mptyIcon']
*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.
Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.
OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll
USER32.dll - C:\WINDOWS\system32\USER32.dll
POWRPROF.dll - C:\WINDOWS\system32\POWRPROF.dll
MPR.dll - C:\WINDOWS\system32\MPR.dll
WINMM.dll - C:\WINDOWS\system32\WINMM.dll
ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
msvcrt.dll - C:\WINDOWS\system32\msvcrt.dll
WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll
GDI32.dll - C:\WINDOWS\system32\GDI32.dll
NETAPI32.dll - C:\WINDOWS\system32\NETAPI32.dll
MSVCP71.dll -
C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\MSVCP71.dll
KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
gdiplus.dll -
C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\gdiplus.dll
WSOCK32.dll - C:\WINDOWS\system32\WSOCK32.dll
VERSION.dll - C:\WINDOWS\system32\VERSION.dll
ole32.dll - C:\WINDOWS\system32\ole32.dll
OPENGL32.dll - C:\WINDOWS\system32\OPENGL32.dll
MFC71.DLL - C:\Python25\lib\site-packages\Pythonwin\MFC71.DLL
SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
RPCRT4.dll - C:\WINDOWS\system32\RPCRT4.dll
comdlg32.dll - C:\WINDOWS\system32\comdlg32.dll
COMCTL32.dll - C:\WINDOWS\system32\COMCTL32.dll
WINSPOOL.DRV - C:\WINDOWS\system32\WINSPOOL.DRV
C:\normacapps\projman>rem You may need to change these paths:
C:\normacapps\projman>copy
c:\python25\lib\site-packages\wx-2.8-msw-unicode\wx\M
SVCP71.dll dist
1 file(s) copied.
C:\normacapps\projman>copy
c:\python25\lib\site-packages\wx-2.8-msw-unicode\wx\g
diplus.dll dist
1 file(s) copied.
C:\normacapps\projman>copy c:\windows\system32\mfc71.dll dist
1 file(s) copied.
Thanks in advance
Carey
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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]