Message137441
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. |
|
Date |
User |
Action |
Args |
2011-06-01 16:49:25 | neologix | set | recipients:
+ neologix, Cal.Leeming |
2011-06-01 16:49:25 | neologix | set | messageid: <1306946965.31.0.234744157636.issue12235@psf.upfronthosting.co.za> |
2011-06-01 16:49:24 | neologix | link | issue12235 messages |
2011-06-01 16:49:24 | neologix | create | |
|