Hartmut Goebel píše v Po 10. 10. 2011 v 15:56 +0200: > You may try this patch to solve the '--dummy--' problem: > > =================================================================== > --- PyInstaller/archive.py (Revision 1649) > +++ PyInstaller/archive.py (Arbeitskopie)
Previously I run wrong code example. When applying patch for --dummy-- this is the output. There is only error in activating context. --------------------------------------------------- Z:\tmp\pyi_trunk>.\test_multiprocess_2.2\dist\test_multiprocess_2.2 \test_multipr ocess_2.2.exe _MEIPASS2 is NULL Extracting binaries Executing self as child with Setting up to run child Creating child process Waiting for child process to finish... _MEIPASS2 is Z:\tmp\pyi_trunk\test_multiprocess_2.2\dist \test_multiprocess_2.2\ Already in the child - running! manifestpath: Z:\tmp\pyi_trunk\test_multiprocess_2.2\dist \test_multiprocess_2.2\ test_multiprocess_2.2.exe.manifest Activation context created Activation context activated Z:\tmp\pyi_trunk\test_multiprocess_2.2\dist\test_multiprocess_2.2 \python27.dll Manipulating evironment PYTHONPATH=Z:/tmp/pyi_trunk/test_multiprocess_2.2/dist/test_multiprocess_2.2 importing modules from CArchive extracted iu extracted struct extracted archive Installing import hooks outPYZ1.pyz Running scripts pyb pyb OK. Deactivating activation context Releasing activation context Done Back to parent... Freeing status for Z:\tmp\pyi_trunk\test_multiprocess_2.2\dist \test_multiprocess _2.2\test_multiprocess_2.2.exe _MEIPASS2 is --dummy-- Z:\tmp\pyi_trunk>Already in the child - running! manifestpath: --dummy--test_multiprocess_2.2.exe.manifest Error activating the context Z:\tmp\pyi_trunk\test_multiprocess_2.2\dist\test_multiprocess_2.2 \python27.dll Manipulating evironment PYTHONPATH=--dummy-;Z:/tmp/pyi_trunk/test_multiprocess_2.2/dist/test_multiproces s_2.2 importing modules from CArchive extracted iu extracted struct extracted archive Installing import hooks outPYZ1.pyz Running scripts SendeventProcess SendeventProcess -- 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.
