I answer to myself :

I forgot to change the exclude_binaries option !!!!


On 25 jan, 10:54, O Ravard <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I use Pyinstaller for a long time now to build applications on windows
> (XP and Vista).
> It works fine until last week for all my apps. Today, nothing is
> working.
>
> I try a very small application like :
>
> import wx
> print 'ok'
>
> I build (debug=1 and console=1), run my apps and the result is :
>
> Extracting binaries
> C:/Users/ravard/AppData/Local/Temp/_MEI6012/python25.dll
> C:/Users/ravard/AppData/Local/Temp/_MEI6012/MSVCR71.dll
> Setting up to run child
> Setting magic environment var
> Creating child process
> Waiting for child process to finish...
> C:\Users\ravard\dist\hyperloc-1.7\HyperLoc\disttest_app\python25.dll
> Manipulating evironment
> PYTHONPATH=C:/Users/ravard/AppData/Local/Temp/_MEI6012;C:/Users/ravard/
> dist/disttest_app
> O
> importing modules from CArchive
> iu
> struct
> archive
> Installing import hooks
> out1.pyz
> Running scripts
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "C:\Users\ravard\workspace\packages\pyinstaller-1.3\iu.py",
> line 312, in importHook
>     mod = _self_doimport(nm, ctx, fqname)
>   File "C:\Users\ravard\workspace\packages\pyinstaller-1.3\iu.py",
> line 398, in doimport
>     exec co in mod.__dict__
>   File "C:\Users\ravard\dist\buildtest_app\out1.pyz/wx", line 45, in
> <module>
>   File "C:\Users\ravard\workspace\packages\pyinstaller-1.3\iu.py",
> line 312, in importHook
>     mod = _self_doimport(nm, ctx, fqname)
>   File "C:\Users\ravard\workspace\packages\pyinstaller-1.3\iu.py",
> line 398, in doimport
>     exec co in mod.__dict__
>   File "C:\Users\ravard\dist\\buildtest_app\out1.pyz/wx._core", line
> 4, in <module>
>   File "C:\Users\ravard\workspace\packages\pyinstaller-1.3\iu.py",
> line 334, in importHook
>     raise ImportError, "No module named %s" % fqname
> ImportError: No module named _core_
>  RC: -1 from test_app
> OK.
>
> and the file wx._core_.pyd is in the app directoy. Any ideas ? Is
> running the app depends on environment variables ?
>
> Thanks a lot.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to