On 10/13/10 6:46 AM, Carey Gagnon wrote: > I've compiled my AppWizard app successfully. I've tried it on 2 machines and > it worked with no trouble. Tried it on a third machine today and it failed. > > Machine 1 at home: This is the machine the app was compiled on > Windows XP Pro SP3 > Python 2.6.5 > wxPython 2.8.11.0 > dabo installed in c:\src\dabo with dabo.pth file in > c:\Python26\Lib\site-packages point to c:\src\dabo > compiled exe runs no problems on this machine > > Machine 2 at work: > Windows XP Home SP3 > Python 2.5 > wxPython 2.8 > dabo installed in c:\src\dabo with dabo.pth file in > c:\Python25\Lib\site-packages point to c:\src\dabo > compiled exe runs no problems on this machine > > Machine 3 at work: > Windows XP Home SP2 > No python or dabo installed on this machine. > Compiled exe fails to run with the following entry in the log file. > > Traceback (most recent call last): > File "dabo\ui\__init__.pyo", line 58, in loadUI > File "<string>", line 1, in<module> > File "zipextimporter.pyo", line 82, in load_module > File "dabo\ui\uiwx\__init__.pyo", line 38, in<module> > File "zipextimporter.pyo", line 82, in load_module > File "wx\__init__.pyo", line 45, in<module> > File "zipextimporter.pyo", line 82, in load_module > File "wx\_core.pyo", line 4, in<module> > File "zipextimporter.pyo", line 98, in load_module > ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd > Traceback (most recent call last): > File "dabo\ui\__init__.pyo", line 58, in loadUI > File "<string>", line 1, in<module> > File "zipextimporter.pyo", line 82, in load_module > File "dabo\ui\uiwx\__init__.pyo", line 38, in<module> > File "zipextimporter.pyo", line 82, in load_module > File "wx\__init__.pyo", line 45, in<module> > File "zipextimporter.pyo", line 82, in load_module > File "wx\_core.pyo", line 4, in<module> > File "zipextimporter.pyo", line 98, in load_module > ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd > Traceback (most recent call last): > File "dc_dex.py", line 25, in<module> > File "dabo\dApp.pyo", line 394, in start > AttributeError: 'dApp' object has no attribute 'uiApp' > > Being a python noob it seems to me the main failure is the import error for > wx\_core_.pyd, which to me would mean that py2exe isn't including this at > compile time and the reason it works on the 2 machines is because python is > installed on them. > > Am I on the right track?
You need to copy the entire contents of the dist/ directory to each machine, not merely the .exe. Paul _______________________________________________ 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]
