os.popen() failing under ipython+cygwin, I'm stumped.

Jason Tishler jason at tishler.net
Wed Mar 10 16:44:08 EST 2004


Thorsten,

On Tue, Mar 09, 2004 at 11:30:48PM +0100, Thorsten Kampe wrote:
> * Jason Tishler (2004-03-09 21:18 +0100)
> > Can you be more specific?  We cannot address issues if we do not
> > know what they are.
> 
> I wasn't specific on purpose because this is a Cygwin issue and might
> not interest the Python folks.

Understood, so I will try to answer briefly -- please move this to the
Cygwin list if you would like to continue this discussion.  BTW, hanging
innuendos are not good for archive searchers...

> The readme written by this JT guy states:

Who is this JT guy?  Oh, that's me! :.)

> ,---
> | <WARNING>
> | Note it is *strongly* recommended that users only use rebaseall
> |  unless they *really* know what they are doing or are instructed by
> |  one of the Cygwin developers.
> | </WARNING>
> `---

The above warning is about rebase *not* rebaseall.

> I tried 'rebaseall' and it broke at least zsh

The zsh rebase issue has been resolved (i.e., at least worked around):

    http://cygwin.com/ml/cygwin-announce/2004-02/msg00021.html

> and sshd

I rebase my system *and* run sshd all the time.  I have never noticed
any sshd rebase problems.

> - and these were just the two I noticed immediately. Reemerging zsh
> helped and reemerging openssh would have helped probably, too. But the
> whole rebase might have broken dozens of other Cygwin apps and when I
> use those in a few days and they segfault I might not guess that it
> was the rebaseall and that I just have to reemerge them.

Since I have contributed Cygwin rebase, there have been relatively few
problems:

    Windows Me support (due to MS's broken imagehlp.dll on that platform)
    stripped executable support (only under certain conditions)
    zsh

AFAICT, all of them have been addressed.  IMO, implying rebase can break
dozens of apps seems unwarranted.

> So I modified the script that just the file list was written to a file
> and I deleted all the non Python dlls in the list. It helped with
> IPython but not with idle.

Probably because idle uses Tcl DLLs too.

> On the other hand I still have a working Cygwin installation (because
> I tried the "rebaseall" on a copy) - and this is more worth than a
> working idle but a broken Cygwin environment.

Like I said before, we can't address problems that we don't know exist.
BTW, you can always save a copy of your DLLs (e.g., tar up) before
rebasing...

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6




More information about the Python-list mailing list