Ticket #848 (closed defect: fixed)

Opened 20 months ago

Last modified 20 months ago

new thread-based processmanager fails in py2exe

Reported by: https://me.yahoo.com/postrockrob#52e3a Owned by: rob
Priority: major Milestone: 0.15
Component: py2exe Keywords:
Cc:

Description

Attempting to run a script through an interpreter fails when bundled with py2exe with:

processmanager.pyo:68 JobOutputSidebarController.startupFailureCallback: Couldn't run '"C:\Python25\python.exe" -u "z:/src/peppy/tests/samples/job-control-without-bangpath.py" ':
 error: [Error 6] The handle is invalid

According to the  py2exe wiki, this can be solved by not using None for any of stdin/stdout/stderr and closing the pipes immediately if not used.

Attachments

Change History

Changed 20 months ago by rob

  • status changed from new to closed
  • resolution set to fixed

(In [2538]) Fixed #848: py2exe wiki solution worked: specify stdin as pipe but close immediately if no stdin data

Add/Change #848 (new thread-based processmanager fails in py2exe)

Author


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


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.