This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients Cal.Leeming, neologix
Date 2011-06-01.16:49:24
SpamBayes Score 2.2843228e-07
Marked as misclassified No
Message-id <1306946965.31.0.234744157636.issue12235@psf.upfronthosting.co.za>
In-reply-to
Content
Python is not raising this error, your OS is.
It doesn't find the interpreter, and if you look carefully, it's clear why:

bash: ***/src/webapp/tools/grab.sh: /bin/sh^M: bad interpreter: No such file or directory

See the ^M after /bin/sh?
It's looks like a DOS line ending, and the spurious \r character is concatenated to the intepreter path, leading to this error.
You didn't copy this script through a Windows box, didn't you?
Just run dos2unix on your script, and it should solve your problem.
History
Date User Action Args
2011-06-01 16:49:25neologixsetrecipients: + neologix, Cal.Leeming
2011-06-01 16:49:25neologixsetmessageid: <1306946965.31.0.234744157636.issue12235@psf.upfronthosting.co.za>
2011-06-01 16:49:24neologixlinkissue12235 messages
2011-06-01 16:49:24neologixcreate