[tor-bugs] #11190 [Obfsproxy]: obfsproxy shebang should point to "python2", not "python"

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 12 14:52:36 UTC 2014


#11190: obfsproxy shebang should point to "python2", not "python"
-------------------------+-------------------------------------------------
     Reporter:  yawning  |      Owner:  asn
         Type:  defect   |     Status:  reopened
     Priority:  normal   |  Milestone:
    Component:           |    Version:
  Obfsproxy              |   Keywords:  python version, obfsproxy, tbb,
   Resolution:           |  flashproxy
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------

Comment (by mcs):

 This has now been picked up for the TBB builds.  But on Mac OS 10.9.2 at
 least, there is no /usr/bin/python2 symlink, so obfsproxy is broken.  The
 tor/tor.real hack used in TBB on Mac OS makes the python2 unnecessary,
 because these two lines are executed before starting tor:

 export VERSIONER_PYTHON_VERSION=2.6
 export VERSIONER_PYTHON_PREFER_32_BIT=yes

 I do not know what the best solution is for this problem.  Mac OS 10.9.2
 does have python2.5 and python2.6 symlinks, but using either one of those
 always selects 64-bit execution.  Also, I have not checked to see what is
 present on older versions of Mac OS (TBB supports 10.6 and newer).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11190#comment:14>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list