#146: pyinstaller not working with multiprocessing.Manager()
-------------------------+--------------------------------------------------
 Reporter:  spongebob    |       Owner:  giovannibajo
     Type:  defect       |      Status:  new         
 Priority:  normal       |   Milestone:              
Component:  PyInstaller  |     Version:              
 Severity:  major        |    Keywords:              
-------------------------+--------------------------------------------------
 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?

-- 
Ticket URL: <http://www.pyinstaller.org/ticket/146>
Pyinstaller <http://www.pyinstaller.org>
PyInstaller Project

-- 
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