Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #562 (closed support: fixed)

Opened 12 months ago

Last modified 3 months ago

Multiprocessing still not working with Pyinstaller --onefile mode

Reported by: panyin Owned by:
Priority: normal Milestone: PyInstaller 2.1
Component: Platform Windows Version: 1.5.1
Severity: major Keywords: multiprocessing
Cc:

Description

Hi, I've written a python application that uses multiprocessing.Process to place an icon(and menu)in the windows system tray. This works well in my IDE but when packaged into onefile with pyinstaller it spits the error "AttributeError?: 'module' object has no attribute '_MEIPASS'". I tried the solution http://www.pyinstaller.org/wiki/Recipe/Multiprocessing, ticket:182 but its still not working. I also tried running the system tray code under the run() function in the solution provided. I need urgent help. How do I integrate the solution for this to work? I'm using pyinstaller 1.5.1 and Python 2.7.2(32 bit) on Windows 7. Thanks

Attachments

Change History

comment:1 Changed 12 months ago by matysek

  • Priority changed from high to normal
  • Type changed from defect to support
  • Milestone PyInstaller 2.0 deleted

The multiprocessing recipe requires pyinstaller 1.6 (was renamed to 2.0) or newer. Please use development version as suggested at the main page.

comment:2 Changed 9 months ago by matysek

  • Milestone set to PyInstaller 2.1

Please try latest development branch. It should work there. This seems like duplicate of #569.

Last edited 9 months ago by matysek (previous) (diff)

comment:3 Changed 3 months ago by matysek

  • Status changed from new to closed
  • Resolution set to fixed

The recipe is updated and it is reported to work.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.