Modify ↓
Ticket #146 (new defect)
pyinstaller not working with multiprocessing.Manager()
| Reported by: | spongebob | Owned by: | giovannibajo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | PyInstaller | Version: | |
| Severity: | major | Keywords: | |
| Cc: |
Description (last modified by giovannibajo) (diff)
I'm trying to build a standalone .exe using python's multiprocessing.Manager with pyinstaller but I get the following error:
Process SyncManager-1: Traceback (most recent call last): File "c:\trunk-r767\trunk\manager_test\build\pyi.win32\manager_test\outPYZ1.py z/multiprocessing.process", line 232, in _bootstrap File "c:\trunk-r767\trunk\manager_test\build\pyi.win32\manager_test\outPYZ1.py z/multiprocessing.process", line 88, in run File "c:\trunk-r767\trunk\manager_test\build\pyi.win32\manager_test\outPYZ1.py z/multiprocessing.managers", line 520, in _run_server IOError: [Errno 6] The handle is invalid Traceback (most recent call last): File "<string>", line 7, in <module> File "c:\trunk-r767\trunk\manager_test\build\pyi.win32\manager_test\outPYZ1.py z/multiprocessing", line 98, in Manager File "c:\trunk-r767\trunk\manager_test\build\pyi.win32\manager_test\outPYZ1.py z/multiprocessing.managers", line 499, in start EOFError
If i build to a directory instead of a standalone package, it runs fine.
configuration:
latest svn of pyinstaller
activepython 2.6.4.8
test script to reproduce error:
import multiprocessing
if __name__ == '__main__':
multiprocessing.freeze_support()
man=multiprocessing.Manager()
Question: Can you suggest a workaround/solution?
Attachments
Note: See
TracTickets for help on using
tickets.
