[ python-Bugs-1413378 ] Popenhangs with latest Cygwin update

SourceForge.net noreply at sourceforge.net
Tue Jan 24 03:08:07 CET 2006


Bugs item #1413378, was opened at 2006-01-23 18:01
Message generated for change (Settings changed) made by sferic
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1413378&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.4
>Status: Deleted
Resolution: None
Priority: 5
Submitted By: Eric McRae (sferic)
Assigned to: Martin v. Löwis (loewis)
Summary: Popenhangs with latest Cygwin update

Initial Comment:
Today's update of my Cygwin installation caused a long
running Python/Tkinter application to fail to start. 
Further investigation shows it hanging on a simple
popen call.  The problem seems associated with
importing Tkinter:
===========
#! /usr/bin/python

from Tkinter import *
from os import popen

print "Here"
#grab a calander in case we need it
calpipe = popen("/usr/bin/cal -3")
caltext = calpipe.read(1000)
calpipe.close()
print "There"

print caltext
==========
prints "Here" and hangs.  Windows task manager shows
sh.exe and a copy of Python2.4.exe sharing most of the
CPU time.  If 

If I comment out the from Tkinter line, everthing works
fine.

Cygcheck info attached


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1413378&group_id=5470


More information about the Python-bugs-list mailing list