Remove the patch and try replacing '--dummy--' with os.path.dirname(os.path.abspath(__file__)) + ' '
It worked for me on Windows 7. On Oct 10, 4:37 pm, Martin Zibricky <[email protected]> wrote: > 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) > > When trying the patch I got the following traceback: > > ------------------------------------------------------- > > 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 > Traceback (most recent call last): > File "<string>", line 33, in <module> > File "<string>", line 21, in __init__ > File "Z:\tmp\pyi_trunk\test_multiprocess_2.2\build\pyi.win32 > \test_multiprocess > _2.2\outPYZ1.pyz\multiprocessing.process", line 130, in start > File "<string>", line 7, in __init__ > OSError: [Errno 42] Illegal byte sequence > RC: -1 from test_multiprocess_2.2 > 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 -- 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.
