commit 8d136def559fd25fdc22749474eddba169a8bef8 Author: anadahz kojgelo@inbox.com Date: Wed Sep 9 14:46:06 2015 +0200
Workaround: uninstall/install a Twisted version >=12.2.0,<=14.0.0
By default pip grabs the latest Twisted version (15.x) which is not currently supported by ooniprobe. https://trac.torproject.org/projects/tor/ticket/15944 --- scripts/install.sh | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/scripts/install.sh b/scripts/install.sh index 01318ce..7897471 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -324,6 +324,11 @@ case "$lsb_dist" in set -x $sh_c 'apt-get install -y -q curl git-core python python-dev python-setuptools build-essential libdumbnet1 python-dumbnet python-libpcap tor tor-geoipdb libgeoip-dev libpcap0.8-dev libssl-dev libffi-dev libdumbnet-dev' $sh_c "PYTHONPATH=$PYTHONPATH pip install --install-option="--prefix=$PYTHON_PREFIX" ooniprobe" + # Unistall Twisted and install a version >=12.2.0,<=14.0.0 + # https://trac.torproject.org/projects/tor/ticket/15944 + $sh_c "PYTHONPATH=$PYTHONPATH pip uninstall Twisted" + $sh_c "PYTHONPATH=$PYTHONPATH pip install + --install-option="--prefix=$PYTHON_PREFIX" 'Twisted>=12.2.0,<=14.0.0'" ) fi
tor-commits@lists.torproject.org