[tor-bugs] #17631 [Chutney]: chutney fails on systems with python2, but no python
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Jan 29 16:29:23 UTC 2016
#17631: chutney fails on systems with python2, but no python
---------------------+-----------------------------------
Reporter: teor | Owner: nickm
Type: defect | Status: needs_information
Priority: Medium | Milestone:
Component: Chutney | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Sponsor: |
---------------------+-----------------------------------
Changes (by cypherpunks):
* status: needs_review => needs_information
Comment:
Replying to [comment:1 teor]:
> See my branch bug17631-python on https://github.com/teor2345/chutney.git
I'm rewriting the Python detection to use a loop and run through a list of
python versions which easier to extend with future Python releases and
less error-prone than the current one-liner.
During the rewrite i stumbled upon
{{{
# Use python2 if the checks that use "command" fail
${PYTHON:=python2} -m chutney.TorNet "$@
}}}
which is at the end of the chutney shell script. I believe this isn't
going to work if the previous command checks didn't find `python2`
already. Isn't it better to display an error message and abort further
execution of Chutney?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17631#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list