Re: argparse for cygwin python

2012-01-17 Thread Rick Rankin
- Original Message - > From: Jason Tishler > To: xxx@xxx > Cc: > Sent: Tuesday, January 17, 2012 11:23 AM > Subject: Re: argparse for cygwin python > > On Tue, Jan 17, 2012 at 01:04:46PM -0500, LMH wrote: >> I have a python script and when I try to run it I get an error for no >>

Re: Don't want executive attribute

2012-01-17 Thread Pan ruochen
> Like it or not, it's how Windows works. There's no exact match for > "executable" attribute behavior, as it is on *NIX systems. > If you tell us, what is your real problem/what you want to achieve, we may be > able to help you. > Actually I don't have any problem about this. I just want cygwin m

Re: Can't install cygwin, but can visit the URL

2012-01-17 Thread Pan ruochen
I successfully installed cygwin simply using Internet Explorer Proxy Settings. Many thanks all your guys for kindly suggestions. On Tue, Jan 17, 2012 at 6:11 PM, Johan van den Berg wrote: > See > > http://cygwin.com/faq-nochunks.html#faq.setup.cli > > regarding how to specify --proxy / -p as a co

Re: Madness with the 'select' function, sigalrm, and stdout. (CYGWIN_NT-6.1-WOW64)

2012-01-17 Thread Robert F
Larry Hall (Cygwin cygwin.com> writes: > So you're saying the snapshot exhibits the above behavior? > No, this was happening pre and post snapshot. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com

Re: Madness with the 'select' function, sigalrm, and stdout. (CYGWIN_NT-6.1-WOW64)

2012-01-17 Thread Larry Hall (Cygwin)
On 1/17/2012 6:24 PM, Robert F wrote: Larry Hall (Cygwin cygwin.com> writes: Your advice did solve the problem, thanks! I wonder which specific entry in the changelog did it... Great! I thought you might at least see some different behavior. There has been a fair bit of work done in th

Re: Madness with the 'select' function, sigalrm, and stdout. (CYGWIN_NT-6.1-WOW64)

2012-01-17 Thread Larry Hall (Cygwin)
On 1/17/2012 5:34 PM, Robert F wrote: This has me stumped. I'd suggest trying a snapshot - If that doesn't help, a full problem report might help someone on the list spot an issue. Problem reports: http://cygwin.com/problems.html I might give the

Re: Madness with the 'select' function, sigalrm, and stdout. (CYGWIN_NT-6.1-WOW64)

2012-01-17 Thread Robert F
Larry Hall (Cygwin cygwin.com> writes: > Your advice did solve the problem, thanks! I wonder which specific entry in the changelog did it... The unwillignness to show any text until it finds a newline seems it could be a cygwin issue. Taking the following code: #ifndef __CYGWIN__ #define SLEE

Re: Madness with the 'select' function, sigalrm, and stdout. (CYGWIN_NT-6.1-WOW64)

2012-01-17 Thread Robert F
Robert F hotmail.co.uk> writes: > > > > I might give the snapshot a shot. Do you know how far from the release > > build > > the latest snapshot is and when the next one is planned? > > > > Update: I did a flat replacement of cygwin1.dll with the latest snapshot of it > and all my cygwin ap

Re: Madness with the 'select' function, sigalrm, and stdout. (CYGWIN_NT-6.1-WOW64)

2012-01-17 Thread Robert F
> I might give the snapshot a shot. Do you know how far from the release build > the latest snapshot is and when the next one is planned? > Update: I did a flat replacement of cygwin1.dll with the latest snapshot of it and all my cygwin apps go apesh*t. Is it because I didn't update the whole

Re: Madness with the 'select' function, sigalrm, and stdout. (CYGWIN_NT-6.1-WOW64)

2012-01-17 Thread Robert F
> > This has me stumped. > > I'd suggest trying a snapshot - > > If that doesn't help, a full problem report might help someone on the list > spot an issue. > > > Problem reports: http://cygwin.com/problems.html > I might give the snapshot a shot. Do

Re: Madness with the 'select' function, sigalrm, and stdout. (CYGWIN_NT-6.1-WOW64)

2012-01-17 Thread Larry Hall (Cygwin)
On 1/17/2012 5:25 PM, Larry Hall (Cygwin) wrote: On 1/17/2012 5:16 PM, Robert F wrote: This could be a cygwin bug, but I'm not 100% sure. It may even be a weird interaction with the windows console. I have a single threaded app that loops, polls network activity with a 'select' function and int

Re: Madness with the 'select' function, sigalrm, and stdout. (CYGWIN_NT-6.1-WOW64)

2012-01-17 Thread Larry Hall (Cygwin)
On 1/17/2012 5:16 PM, Robert F wrote: This could be a cygwin bug, but I'm not 100% sure. It may even be a weird interaction with the windows console. I have a single threaded app that loops, polls network activity with a 'select' function and interrupts the flow of the loop when a SIGALRM signa

Re: ls does not show any output

2012-01-17 Thread Larry Hall (Cygwin)
On 1/17/2012 12:57 PM, marco atzeri wrote: On 1/17/2012 6:36 PM, Tom Chiverton wrote: On 17 January 2012 15:23, Corinna Vinschen wrote: This sounds as if you made an update without stopping all Cygwin processes. Do you have some Cygwin services like sshd running? Could well be that. Is the se

Madness with the 'select' function, sigalrm, and stdout. (CYGWIN_NT-6.1-WOW64)

2012-01-17 Thread Robert F
This could be a cygwin bug, but I'm not 100% sure. It may even be a weird interaction with the windows console. I have a single threaded app that loops, polls network activity with a 'select' function and interrupts the flow of the loop when a SIGALRM signal is ran, the handler of which sets a va

Re: argparse for cygwin python

2012-01-17 Thread Yaakov (Cygwin/X)
On Tue, 2012-01-17 at 13:23 -0500, Jason Tishler wrote: > See the following: > > http://docs.python.org/dev/library/argparse.html > > argparse is not available until Python 3.2; Cygwin Python is 2.6. It is also in 2.7, FWIW. But it can also be installed separately for older versions of Pyth

Re: argparse for cygwin python

2012-01-17 Thread Jason Tishler
On Tue, Jan 17, 2012 at 01:04:46PM -0500, LMH wrote: > I have a python script and when I try to run it I get an error for no > such module, "ImportError: No module named argparse". > > [snip] > > Any suggestions? See the following: http://docs.python.org/dev/library/argparse.html argparse

what happened to [PATCH] setup -e, --separate-src-dirs option (http://sourceware.org/ml/cygwin-apps/2011-12/msg00022.html)

2012-01-17 Thread Hans Horn
As subject line says. As far as I recall, this got a lot of +1 votes. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: argparse for cygwin python

2012-01-17 Thread LMH
Thanks for the information, but that didn't fix the issue. There is now a file argparse.py located in, cygwin\lib\python2.6\site-packages\stgit but I am still getting the error. Do I need to restart or something, or do I need to do something else to let python know where the package is? LMH

Re: Another example of intermittent shell failure...

2012-01-17 Thread marco atzeri
On 1/17/2012 5:10 PM, Paul Breslin wrote: 0 [main] sh 2272 exception::handle: Exception: STATUS_ACCESS_VIOLATION 630 [main] sh 2272 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump 0 [main] sh 3392 exception::handle: Exception: STATUS_ACCESS_VIOLATION 808 [main

Re: argparse for cygwin python

2012-01-17 Thread marco atzeri
On 1/17/2012 7:04 PM, LMH wrote: I have a python script and when I try to run it I get an error for no such module, "ImportError: No module named argparse". The only package I have installed is numpy, but I don't see argparse mentioned in any of the other packages. I have run this script on this

argparse for cygwin python

2012-01-17 Thread LMH
I have a python script and when I try to run it I get an error for no such module, "ImportError: No module named argparse". The only package I have installed is numpy, but I don't see argparse mentioned in any of the other packages. I have run this script on this computer before, but I don't r

Re: ls does not show any output

2012-01-17 Thread marco atzeri
On 1/17/2012 6:36 PM, Tom Chiverton wrote: On 17 January 2012 15:23, Corinna Vinschen wrote: This sounds as if you made an update without stopping all Cygwin processes. Do you have some Cygwin services like sshd running? Could well be that. Is the setup.exe meant to check that ? If not, I thi

Re: ls does not show any output

2012-01-17 Thread Tom Chiverton
On 17 January 2012 15:23, Corinna Vinschen wrote: > This sounds as if you made an update without stopping all Cygwin > processes.  Do you have some Cygwin services like sshd running? Could well be that. Is the setup.exe meant to check that ? If not, I think it should. -- Tom -- Problem reports:

Another example of intermittent shell failure...

2012-01-17 Thread Paul Breslin
0 [main] sh 2272 exception::handle: Exception: STATUS_ACCESS_VIOLATION 630 [main] sh 2272 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump 0 [main] sh 3392 exception::handle: Exception: STATUS_ACCESS_VIOLATION 808 [main] sh 3392 open_stackdumpfile: Dumping stack trac

Re: Can't install cygwin, but can visit the URL

2012-01-17 Thread Larry Hall (Cygwin)
On 1/17/2012 5:11 AM, Johan van den Berg wrote: On Tue, Jan 17, 2012 at 3:20 PM, Johan van den Berg wrote: Do you have a proxy configuration in your browser? Regards Johan On 17 Jan 2012, at 9:44 AM, Pan ruochen wrote: Yes, I do. So it is the cause? See http://cygwin.com/faq-nochunks.ht

Re: ls does not show any output

2012-01-17 Thread Corinna Vinschen
On Jan 17 15:13, Tom Chiverton wrote: > On 17 January 2012 13:26, marco atzeri wrote: > > your cygwin dll is 1.7.7 while last one is 1.7.9, > > so your update did not work. > > Hmm. I'm just re-running the (latest) setup.exe - what else should I do ? > In c:\cygwin\bin I found a cygwin1.dll.new w

Re: ls does not show any output

2012-01-17 Thread Tom Chiverton
On 17 January 2012 13:26, marco atzeri wrote: > your cygwin dll is 1.7.7 while last one is 1.7.9, > so your update did not work. Hmm. I'm just re-running the (latest) setup.exe - what else should I do ? In c:\cygwin\bin I found a cygwin1.dll.new with version 1007.9.0.0 as well as one with the rig

Re: ls does not show any output

2012-01-17 Thread marco atzeri
On 1/17/2012 1:52 PM, Tom Chiverton wrote: And here is a report of the message. Let's see if that works OK now the attachment is in the archive : ls on my Windows XP box recently stopped working. Running an update from the latest setup.exe hasn't helped. your cygwin dll is 1.7.7 while last one

Re: Don't want executive attribute

2012-01-17 Thread Andrey Repin
Greetings, Pan ruochen! > Cygwin treat most of files executive. But I really don't like this > feature. Is there any option to disable it? Like it or not, it's how Windows works. There's no exact match for "executable" attribute behavior, as it is on *NIX systems. If you tell us, what is your rea

Re: ls does not show any output

2012-01-17 Thread Tom Chiverton
And here is a report of the message. Let's see if that works OK now the attachment is in the archive : ls on my Windows XP box recently stopped working. Running an update from the latest setup.exe hasn't helped. If I type just 'ls', not output. Same for 'ls bin' when I know that folder has stuff

/etc/profile set $TMP to /tmp. It's insecure!

2012-01-17 Thread Atry
Original $TMP and $TEMP is unset in /etc/defaults/etc/skel/.bashrc version 3.9-3, which make %USERPROFILE% directory dirty. After some disscuss at http://cygwin.com/ml/cygwin/2011-03/msg00211.html, /etc/profile version 4.0-6 set $TMP and $TEMP to /tmp. Now any program start from bash, create tempor

Re: ls does not show any output

2012-01-17 Thread marco atzeri
On 1/17/2012 11:35 AM, Tom Chiverton wrote: Problem reports: http://cygwin.com/problems.html I thought I had, sorry. There's an attachment on the initial post and I've included my native O/S version, and mentioned I'm using the latest release. What did I miss ? I do not see your initia

Re: ls does not show any output

2012-01-17 Thread Tom Chiverton
> Problem reports:       http://cygwin.com/problems.html I thought I had, sorry. There's an attachment on the initial post and I've included my native O/S version, and mentioned I'm using the latest release. What did I miss ? -- Tom -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Can't install cygwin, but can visit the URL

2012-01-17 Thread Johan van den Berg
> On Tue, Jan 17, 2012 at 3:20 PM, Johan van den Berg > wrote: >> >> Do you have a proxy configuration in your browser? >> >> Regards >> Johan > > On 17 Jan 2012, at 9:44 AM, Pan ruochen wrote: > Yes, I do. So it is the cause? See http://cygwin.com/faq-nochunks.html#faq.setup.cli regarding

Re: ls does not show any output

2012-01-17 Thread marco atzeri
On 1/17/2012 10:34 AM, Tom Chiverton wrote: On 16 January 2012 09:40, Tom Chiverton wrote: ls on my Windows XP box recently stopped working. Running an update from the latest setup.exe hasn't helped. Do I need to provide any more info to help ? Is this an obvious problem the FAQ and Google do

Re: Don't want executive attribute

2012-01-17 Thread marco atzeri
On 1/17/2012 10:32 AM, Pan ruochen wrote: Hi Al, Cygwin treat most of files executive. But I really don't like this feature. Is there any option to disable it? which files ? Your question is not very clear. Please read documentation http://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-perm

Re: ls does not show any output

2012-01-17 Thread Tom Chiverton
On 16 January 2012 09:40, Tom Chiverton wrote: > ls on my Windows XP box recently stopped working. Running an update > from the latest setup.exe hasn't helped. Do I need to provide any more info to help ? Is this an obvious problem the FAQ and Google don't locate for me ? -- Tom -- Problem rep

Don't want executive attribute

2012-01-17 Thread Pan ruochen
Hi Al, Cygwin treat most of files executive. But I really don't like this feature. Is there any option to disable it? -- Best Regards, Pan Ruochen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/doc