473,387 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Python 2.3.4 hangs when run from modern cygwin/bash in WinXP, but is otherwise fine

I just installed a Python 2.3.4 Windows binary on a friend's WinXP
machine (because the latest Cygwin-provided Python 2.3 build leaves
out the winsound module for some reason).

When I try and run this newly installed Python from bash it just hangs
(no version message, no prompt, CPU is idle). When I run it from IDLE,
or the DOS CMD prompt, it runs fine. Also, Python scripts using the
new version run fine, even invoked on the bash command line. It seems
there's some problem with terminal i/o when invoked from bash.

However, using this same installer, Python 2.3.4 runs fine on my WinXP
machine (though mine is using an older version of cygwin).

Meanwhile, his cygwin-provided Python 2.3 runs fine from bash.

I haven't been able to figure out what's wrong. Does anyone have any
suggestions?

Thanks kindly in advance!

Eric Woudenberg
Jul 18 '05 #1
2 2961
Eric Woudenberg wrote:
I just installed a Python 2.3.4 Windows binary on a friend's WinXP
machine (because the latest Cygwin-provided Python 2.3 build leaves
out the winsound module for some reason).

When I try and run this newly installed Python from bash it just hangs
(no version message, no prompt, CPU is idle). When I run it from IDLE,
or the DOS CMD prompt, it runs fine. Also, Python scripts using the
new version run fine, even invoked on the bash command line. It seems
there's some problem with terminal i/o when invoked from bash.

However, using this same installer, Python 2.3.4 runs fine on my WinXP
machine (though mine is using an older version of cygwin).

Meanwhile, his cygwin-provided Python 2.3 runs fine from bash.

I haven't been able to figure out what's wrong. Does anyone have any
suggestions?

Thanks kindly in advance!

Eric Woudenberg


Yes, set CYGWIN=notty and then run python -i (to force it into
interactive mode)

David
Jul 18 '05 #2
Eric,

On Fri, Jun 18, 2004 at 06:07:43PM -0700, Eric Woudenberg wrote:
I haven't been able to figure out what's wrong. Does anyone have any
suggestions?


See the attached.

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

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jorgen Grahn | last post by:
I couldn't think of a good solution, and it's hard to Google for... I write python command-line programs under Win2k, and I use the bash shell from Cygwin. I cannot use Cygwin's python package...
2
by: John Dalberg | last post by:
I hsve an ASP.NET app whch hangs when I start it with debugging and the CPU usage is 100%. Starting without debugging works fine. Any ideas? -- John Dalberg
1
by: JQA Academia | last post by:
I've reinstalled twice now... I've got the Visual Studio.net Academic version 2003. During installation, I get no errors but when I try to open a new project from the inital start page, it just...
1
by: Panagiotis | last post by:
Hi everyone, this is what I want to do in C#: 1) start a Cygwin Bash Shell 2) send the Shell a command, for example "ls -l" 3) capture all the output of the command The code below seems to...
1
by: Mathijs | last post by:
Hi, I have a small Compact Framework tcpclient application (c#). This is my connection procedure: tcpclient = new TcpClient(ip, port); stream = tcpclient.GetStream(); Sent("HELLO");...
3
by: catstevens | last post by:
I'm trying to build a DTS package that will copy data from one server to another, and I'm using the latest teradata ODBC driver to connect to teradata. The problem is when i setup the dts package -...
1
by: malooga | last post by:
Hello, I'm having a problem connecting to DB2 on a remote iSeries host from a Linux server, both of which reside on my company's internal network. I'm using the IBM Linux Client V9.1. When I try...
1
by: Gros Bedo | last post by:
Yes I've seen that each python script calls its own instance of Python. Buthow to know which is the good one in bash ? Is there a command that gets the parameters of process, so I could use grep to...
4
by: MrDeej | last post by:
Hello! I have a complex .accdb database which i after yesterdays changes cannot enter the VBA anymore. Most of the forms and all tables/queries works fine. But one of the forms causes it to hang...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.