Message12121
jython.py appears broken on Linux by the shebang line:
#!/usr/bin/env python2.7 -E
This doesn't work because a shebang is not processed like a shell command (see https://unix.stackexchange.com/questions/63979/shebang-line-with-usr-bin-env-command-argument-fails-on-linux). env receives everything after the space as one argument and you get the message that it cannot find the file "python2.7 -E".
An option -S (--split-string) is documented that addresses the problem, but it doesn't work on my Linux system. I could maybe install a later env, but then it will fail for anyone who hasn't done that with "invalid option -- 'S'".
This mostly does not show in a development environment because dist/bin/jython means the shell script version, but it fails in tests that explicitly ask for jython.py (test_jython_launcher). |
|
Date |
User |
Action |
Args |
2018-09-25 07:22:07 | jeff.allen | set | recipients:
+ jeff.allen |
2018-09-25 07:22:07 | jeff.allen | set | messageid: <1537860127.85.0.545547206417.issue2707@psf.upfronthosting.co.za> |
2018-09-25 07:22:07 | jeff.allen | link | issue2707 messages |
2018-09-25 07:22:06 | jeff.allen | create | |
|