You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then ran as given in the mailing list instructions -
[$] virtualenv ~/venv-ooniprobe-agent-alpha/
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/shirish/venv-ooniprobe-agent-alpha/bin/python2
Also creating executable in /home/shirish/venv-ooniprobe-agent-alpha/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
(venv-ooniprobe-agent-alpha) ┌─[shirish@debian] - [~] - [10093]
└─[$] pip install https://github.com/TheTorProject/ooni-probe/releases/download/v2.0.0-alpha.2/ooniprobe-2.0.0a2.tar.gz
Collecting https://github.com/TheTorProject/ooni-probe/releases/download/v2.0.0-alpha.2/ooniprobe-2.0.0a2.tar.gz
Downloading https://github.com/TheTorProject/ooni-probe/releases/download/v2.0.0-alpha.2/ooniprobe-2.0.0a2.tar.gz (2.2MB)
100% |████████████████████████████████| 2.2MB 109kB/s
Collecting pyasn1>=0.1.8 (from ooniprobe===2.0.0a2)
Using cached pyasn1-0.1.9-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools>=11.3 in ./venv-ooniprobe-agent-alpha/lib/python2.7/site-packages (from ooniprobe===2.0.0a2)
Collecting PyYAML>=3.10 (from ooniprobe===2.0.0a2)
Using cached PyYAML-3.11.zip
Collecting Twisted>=13.2.0 (from ooniprobe===2.0.0a2)
Using cached Twisted-16.3.0.tar.bz2
Collecting ipaddr>=2.1.10 (from ooniprobe===2.0.0a2)
Using cached ipaddr-2.1.11.tar.gz
Collecting pyOpenSSL>=0.15.1 (from ooniprobe===2.0.0a2)
Using cached pyOpenSSL-16.0.0-py2.py3-none-any.whl
Collecting geoip (from ooniprobe===2.0.0a2)
Using cached GeoIP-1.3.2.tar.gz
Collecting txtorcon>=0.7 (from ooniprobe===2.0.0a2)
Using cached txtorcon-0.15.1-py2-none-any.whl
Collecting txsocksx>=0.0.2 (from ooniprobe===2.0.0a2)
Using cached txsocksx-1.15.0.2-py2-none-any.whl
Collecting scapy>=2.2.0 (from ooniprobe===2.0.0a2)
Using cached scapy-2.3.2.tar.gz
Collecting pypcap>=1.1 (from ooniprobe===2.0.0a2)
Using cached pypcap-1.1.5.tar.gz
Collecting service-identity (from ooniprobe===2.0.0a2)
Downloading service_identity-16.0.0-py2.py3-none-any.whl
Collecting pydumbnet (from ooniprobe===2.0.0a2)
Downloading pydumbnet-1.12.1.tar.gz
Collecting zope.interface (from ooniprobe===2.0.0a2)
Downloading zope.interface-4.2.0.tar.gz (146kB)
100% |████████████████████████████████| 153kB 53kB/s
Collecting certifi (from ooniprobe===2.0.0a2)
Downloading certifi-2016.8.8-py2.py3-none-any.whl (384kB)
100% |████████████████████████████████| 389kB 47kB/s
Collecting klein (from ooniprobe===2.0.0a2)
Downloading klein-15.3.1-py2.py3-none-any.whl
Collecting cryptography>=1.3 (from pyOpenSSL>=0.15.1->ooniprobe===2.0.0a2)
Downloading cryptography-1.4.tar.gz (399kB)
100% |████████████████████████████████| 409kB 60kB/s
Collecting six>=1.5.2 (from pyOpenSSL>=0.15.1->ooniprobe===2.0.0a2)
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting ipaddress>=1.0.16 (from txtorcon>=0.7->ooniprobe===2.0.0a2)
Downloading ipaddress-1.0.16-py27-none-any.whl
Collecting Parsley>=1.2 (from txsocksx>=0.0.2->ooniprobe===2.0.0a2)
Downloading Parsley-1.3-py2.py3-none-any.whl (88kB)
100% |████████████████████████████████| 92kB 32kB/s
Collecting pyasn1-modules (from service-identity->ooniprobe===2.0.0a2)
Downloading pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting attrs (from service-identity->ooniprobe===2.0.0a2)
Downloading attrs-16.0.0-py2.py3-none-any.whl
Collecting werkzeug (from klein->ooniprobe===2.0.0a2)
Downloading Werkzeug-0.11.10-py2.py3-none-any.whl (306kB)
100% |████████████████████████████████| 307kB 40kB/s
Collecting idna>=2.0 (from cryptography>=1.3->pyOpenSSL>=0.15.1->ooniprobe===2.0.0a2)
Downloading idna-2.1-py2.py3-none-any.whl (54kB)
100% |████████████████████████████████| 61kB 27kB/s
Collecting enum34 (from cryptography>=1.3->pyOpenSSL>=0.15.1->ooniprobe===2.0.0a2)
Downloading enum34-1.1.6-py2-none-any.whl
Collecting cffi>=1.4.1 (from cryptography>=1.3->pyOpenSSL>=0.15.1->ooniprobe===2.0.0a2)
Downloading cffi-1.7.0-cp27-cp27mu-manylinux1_x86_64.whl (383kB)
100% |████████████████████████████████| 389kB 46kB/s
Collecting pycparser (from cffi>=1.4.1->cryptography>=1.3->pyOpenSSL>=0.15.1->ooniprobe===2.0.0a2)
Downloading pycparser-2.14.tar.gz (223kB)
100% |████████████████████████████████| 225kB 41kB/s
Building wheels for collected packages: ooniprobe, PyYAML, Twisted, ipaddr, geoip, scapy, pypcap, pydumbnet, zope.interface, cryptography, pycparser
Running setup.py bdist_wheel for ooniprobe ... error
Complete output from command /home/shirish/venv-ooniprobe-agent-alpha/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-FHK508-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmppawHO4pip-wheel- --python-tag cp27:
/home/shirish/venv-ooniprobe-agent-alpha/lib/python2.7/site-packages/setuptools/dist.py:364: UserWarning: Normalizing '2.0.0-alpha.2' to '2.0.0a2'
normalized_version,
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/ooni
copying ooni/tasks.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/settings.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/resources.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/reporter.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/otime.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/nettest.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/measurements.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/managers.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/geoip.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/errors.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/director.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/constants.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/backend_client.py -> build/lib.linux-x86_64-2.7/ooni
copying ooni/__init__.py -> build/lib.linux-x86_64-2.7/ooni
creating build/lib.linux-x86_64-2.7/ooni/agent
copying ooni/agent/scheduler.py -> build/lib.linux-x86_64-2.7/ooni/agent
copying ooni/agent/agent.py -> build/lib.linux-x86_64-2.7/ooni/agent
copying ooni/agent/__init__.py -> build/lib.linux-x86_64-2.7/ooni/agent
creating build/lib.linux-x86_64-2.7/ooni/common
copying ooni/common/txextra.py -> build/lib.linux-x86_64-2.7/ooni/common
copying ooni/common/tcp_utils.py -> build/lib.linux-x86_64-2.7/ooni/common
copying ooni/common/http_utils.py -> build/lib.linux-x86_64-2.7/ooni/common
copying ooni/common/__init__.py -> build/lib.linux-x86_64-2.7/ooni/common
creating build/lib.linux-x86_64-2.7/ooni/contrib
copying ooni/contrib/croniter.py -> build/lib.linux-x86_64-2.7/ooni/contrib
copying ooni/contrib/__init__.py -> build/lib.linux-x86_64-2.7/ooni/contrib
creating build/lib.linux-x86_64-2.7/ooni/contrib/dateutil
copying ooni/contrib/dateutil/relativedelta.py -> build/lib.linux-x86_64-2.7/ooni/contrib/dateutil
copying ooni/contrib/dateutil/__init__.py -> build/lib.linux-x86_64-2.7/ooni/contrib/dateutil
creating build/lib.linux-x86_64-2.7/ooni/contrib/dateutil/tz
copying ooni/contrib/dateutil/tz/win.py -> build/lib.linux-x86_64-2.7/ooni/contrib/dateutil/tz
copying ooni/contrib/dateutil/tz/tz.py -> build/lib.linux-x86_64-2.7/ooni/contrib/dateutil/tz
copying ooni/contrib/dateutil/tz/_common.py -> build/lib.linux-x86_64-2.7/ooni/contrib/dateutil/tz
copying ooni/contrib/dateutil/tz/__init__.py -> build/lib.linux-x86_64-2.7/ooni/contrib/dateutil/tz
creating build/lib.linux-x86_64-2.7/ooni/deck
copying ooni/deck/store.py -> build/lib.linux-x86_64-2.7/ooni/deck
copying ooni/deck/legacy.py -> build/lib.linux-x86_64-2.7/ooni/deck
copying ooni/deck/deck.py -> build/lib.linux-x86_64-2.7/ooni/deck
copying ooni/deck/backend.py -> build/lib.linux-x86_64-2.7/ooni/deck
copying ooni/deck/__init__.py -> build/lib.linux-x86_64-2.7/ooni/deck
creating build/lib.linux-x86_64-2.7/ooni/kit
copying ooni/kit/domclass.py -> build/lib.linux-x86_64-2.7/ooni/kit
copying ooni/kit/daphn3.py -> build/lib.linux-x86_64-2.7/ooni/kit
copying ooni/kit/__init__.py -> build/lib.linux-x86_64-2.7/ooni/kit
creating build/lib.linux-x86_64-2.7/ooni/nettests
copying ooni/nettests/__init__.py -> build/lib.linux-x86_64-2.7/ooni/nettests
creating build/lib.linux-x86_64-2.7/ooni/nettests/manipulation
copying ooni/nettests/manipulation/traceroute.py -> build/lib.linux-x86_64-2.7/ooni/nettests/manipulation
copying ooni/nettests/manipulation/http_invalid_request_line.py -> build/lib.linux-x86_64-2.7/ooni/nettests/manipulation
copying ooni/nettests/manipulation/http_host.py -> build/lib.linux-x86_64-2.7/ooni/nettests/manipulation
copying ooni/nettests/manipulation/http_header_field_manipulation.py -> build/lib.linux-x86_64-2.7/ooni/nettests/manipulation
copying ooni/nettests/manipulation/dns_spoof.py -> build/lib.linux-x86_64-2.7/ooni/nettests/manipulation
copying ooni/nettests/manipulation/captiveportal.py -> build/lib.linux-x86_64-2.7/ooni/nettests/manipulation
copying ooni/nettests/manipulation/__init__.py -> build/lib.linux-x86_64-2.7/ooni/nettests/manipulation
creating build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/tls_handshake.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/squid.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/script.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/parasitictraceroute.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/keyword_filtering.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/http_uk_mobile_networks.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/http_trix.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/http_keyword_filtering.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/http_filtering_bypassing.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/domclass_collector.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/dns_injection.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/daphne.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/chinatrigger.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
copying ooni/nettests/experimental/__init__.py -> build/lib.linux-x86_64-2.7/ooni/nettests/experimental
creating build/lib.linux-x86_64-2.7/ooni/nettests/scanning
copying ooni/nettests/scanning/http_url_list.py -> build/lib.linux-x86_64-2.7/ooni/nettests/scanning
copying ooni/nettests/scanning/__init__.py -> build/lib.linux-x86_64-2.7/ooni/nettests/scanning
creating build/lib.linux-x86_64-2.7/ooni/nettests/blocking
copying ooni/nettests/blocking/web_connectivity.py -> build/lib.linux-x86_64-2.7/ooni/nettests/blocking
copying ooni/nettests/blocking/vanilla_tor.py -> build/lib.linux-x86_64-2.7/ooni/nettests/blocking
copying ooni/nettests/blocking/tcp_connect.py -> build/lib.linux-x86_64-2.7/ooni/nettests/blocking
copying ooni/nettests/blocking/meek_fronted_requests.py -> build/lib.linux-x86_64-2.7/ooni/nettests/blocking
copying ooni/nettests/blocking/http_requests.py -> build/lib.linux-x86_64-2.7/ooni/nettests/blocking
copying ooni/nettests/blocking/dns_consistency.py -> build/lib.linux-x86_64-2.7/ooni/nettests/blocking
copying ooni/nettests/blocking/bridge_reachability.py -> build/lib.linux-x86_64-2.7/ooni/nettests/blocking
copying ooni/nettests/blocking/__init__.py -> build/lib.linux-x86_64-2.7/ooni/nettests/blocking
creating build/lib.linux-x86_64-2.7/ooni/nettests/third_party
copying ooni/nettests/third_party/psiphon.py -> build/lib.linux-x86_64-2.7/ooni/nettests/third_party
copying ooni/nettests/third_party/openvpn.py -> build/lib.linux-x86_64-2.7/ooni/nettests/third_party
copying ooni/nettests/third_party/netalyzr.py -> build/lib.linux-x86_64-2.7/ooni/nettests/third_party
copying ooni/nettests/third_party/lantern.py -> build/lib.linux-x86_64-2.7/ooni/nettests/third_party
copying ooni/nettests/third_party/__init__.py -> build/lib.linux-x86_64-2.7/ooni/nettests/third_party
creating build/lib.linux-x86_64-2.7/ooni/scripts
copying ooni/scripts/ooniresources.py -> build/lib.linux-x86_64-2.7/ooni/scripts
copying ooni/scripts/oonireport.py -> build/lib.linux-x86_64-2.7/ooni/scripts
copying ooni/scripts/ooniprobe_agent.py -> build/lib.linux-x86_64-2.7/ooni/scripts
copying ooni/scripts/ooniprobe.py -> build/lib.linux-x86_64-2.7/ooni/scripts
copying ooni/scripts/oonideckgen.py -> build/lib.linux-x86_64-2.7/ooni/scripts
copying ooni/scripts/__init__.py -> build/lib.linux-x86_64-2.7/ooni/scripts
creating build/lib.linux-x86_64-2.7/ooni/templates
copying ooni/templates/tcpt.py -> build/lib.linux-x86_64-2.7/ooni/templates
copying ooni/templates/scapyt.py -> build/lib.linux-x86_64-2.7/ooni/templates
copying ooni/templates/process.py -> build/lib.linux-x86_64-2.7/ooni/templates
copying ooni/templates/httpt.py -> build/lib.linux-x86_64-2.7/ooni/templates
copying ooni/templates/dnst.py -> build/lib.linux-x86_64-2.7/ooni/templates
copying ooni/templates/__init__.py -> build/lib.linux-x86_64-2.7/ooni/templates
creating build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_utils.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_txscapy.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_trueheaders.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_templates.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_socks.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_settings.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_safe_represent.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_resources.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_reporter.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_oonireport.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_oonideckgen.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_oonicli.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_onion.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_nettest.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_mutate.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_managers.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_geoip.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_errors.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_director.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_deck.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_common.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/test_backend_client.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/mocks.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/disable_test_dns.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/bases.py -> build/lib.linux-x86_64-2.7/ooni/tests
copying ooni/tests/__init__.py -> build/lib.linux-x86_64-2.7/ooni/tests
creating build/lib.linux-x86_64-2.7/ooni/ui
copying ooni/ui/cli.py -> build/lib.linux-x86_64-2.7/ooni/ui
copying ooni/ui/__init__.py -> build/lib.linux-x86_64-2.7/ooni/ui
creating build/lib.linux-x86_64-2.7/ooni/ui/web
copying ooni/ui/web/web.py -> build/lib.linux-x86_64-2.7/ooni/ui/web
copying ooni/ui/web/server.py -> build/lib.linux-x86_64-2.7/ooni/ui/web
copying ooni/ui/web/__init__.py -> build/lib.linux-x86_64-2.7/ooni/ui/web
creating build/lib.linux-x86_64-2.7/ooni/utils
copying ooni/utils/txscapy.py -> build/lib.linux-x86_64-2.7/ooni/utils
copying ooni/utils/socks.py -> build/lib.linux-x86_64-2.7/ooni/utils
copying ooni/utils/onion.py -> build/lib.linux-x86_64-2.7/ooni/utils
copying ooni/utils/net.py -> build/lib.linux-x86_64-2.7/ooni/utils
copying ooni/utils/log.py -> build/lib.linux-x86_64-2.7/ooni/utils
copying ooni/utils/__init__.py -> build/lib.linux-x86_64-2.7/ooni/utils
running egg_info
writing requirements to ooniprobe.egg-info/requires.txt
writing ooniprobe.egg-info/PKG-INFO
writing top-level names to ooniprobe.egg-info/top_level.txt
writing dependency_links to ooniprobe.egg-info/dependency_links.txt
writing entry points to ooniprobe.egg-info/entry_points.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'ooniprobe.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'ooniprobe.egg-info/SOURCES.txt'
copying ooni/settings.ini -> build/lib.linux-x86_64-2.7/ooni
copying ooni/ui/consent-form.md -> build/lib.linux-x86_64-2.7/ooni/ui
creating build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/0c4500a9d203a33bd879a9a0bee1190d.woff -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/1dc35d25e61d819a9c357074014867ab.ttf -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/25a32416abee198dd821b0b17a198a8f.eot -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/3de79d2eb33e18bba8f5f5834a3d9d05.otf -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/448c34a56d699c29117adc64c43affeb.woff2 -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/5310ca5fb41a915987df5663660da770.otf -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/78342dfad83c591ee5e926f2ffbd0671.woff -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/7dd0ad25580893d980bbf0475f88aead.otf -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/7e5b1b977ba8a582d81367d2940e8150.woff -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/7f721a571194837f629b6dd86a703ca5.eot -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/89889688147bd7575d6327160d64e760.svg -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/a043b97f0bac1546f96bc31abd6956bb.woff -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/app.bundle.js -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/app.bundle.js.map -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/b78a2d32658068a52eab4b7f8f7d366e.woff -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/bc21a555f392171b222bab4097344850.svg -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/c8ddf1e5e5bf3682bc7bebf30f394148.woff -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/ce51bc9d6fb58706a01f11db88b8b5df.svg -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/d7c639084f684d66a1bc66855d193ed8.svg -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/e18bbf611f2a2e43afc071aa2f4e1512.ttf -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/e5c78e2789ec748d8c7f5adccad90e0b.woff -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/e6cf7c6ec7c2d6f670ae9d762604cb0b.woff2 -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/f4769f9bdb7466be65088239c12046d1.eot -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/fa2772327f55d8198301fdb8bcfc8158.woff -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
copying ooni/ui/web/client/index.html -> build/lib.linux-x86_64-2.7/ooni/ui/web/client
installing to build/bdist.linux-x86_64/wheel
running install
Checking .pth file support in build/bdist.linux-x86_64/wheel/
/home/shirish/venv-ooniprobe-agent-alpha/bin/python2 -E -c pass
TEST FAILED: build/bdist.linux-x86_64/wheel/ does NOT support .pth files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
build/bdist.linux-x86_64/wheel/
and your PYTHONPATH environment variable currently contains:
''
Here are some of your options for correcting the problem:
* You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
* You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
Please make the appropriate changes for your system and try again.
----------------------------------------
Failed building wheel for ooniprobe
Running setup.py clean for ooniprobe
Running setup.py bdist_wheel for PyYAML ... done
Stored in directory: /home/shirish/.cache/pip/wheels/4a/bf/14/d79994d19a59d4f73efdafb8682961f582d45ed6b459420346
Running setup.py bdist_wheel for Twisted ... done
Stored in directory: /home/shirish/.cache/pip/wheels/15/de/04/8cc532a5dc14976d4cff2743eddc5c7ac50b53b097a7c059f4
Running setup.py bdist_wheel for ipaddr ... done
Stored in directory: /home/shirish/.cache/pip/wheels/58/de/20/928e64e591abff7374a8e77e19a765b1572c25d9102c42f8b2
Running setup.py bdist_wheel for geoip ... done
Stored in directory: /home/shirish/.cache/pip/wheels/00/d5/bd/53a411cf037e2781f73270c592309a950a407c0722fb84ef1c
Running setup.py bdist_wheel for scapy ... done
Stored in directory: /home/shirish/.cache/pip/wheels/64/d1/83/e38a1301a91516ccb19ad5177ff874fae13889a16dc40d7b0f
Running setup.py bdist_wheel for pypcap ... done
Stored in directory: /home/shirish/.cache/pip/wheels/0f/f9/bf/bfe534a594484cbb7f5919bc58e71212d56dd6fe7e36ff9f3f
Running setup.py bdist_wheel for pydumbnet ... done
Stored in directory: /home/shirish/.cache/pip/wheels/9f/cf/b6/5e8064b5d75d368a1a4aa74ea8313685cbf2e1b4e86dd03a92
Running setup.py bdist_wheel for zope.interface ... done
Stored in directory: /home/shirish/.cache/pip/wheels/20/a2/bc/74fe87cee17134f5219ba01fe82dd8c10998377e0fb910bb22
Running setup.py bdist_wheel for cryptography ... done
Stored in directory: /home/shirish/.cache/pip/wheels/f6/6c/21/11ec069285a52d7fa8c735be5fc2edfb8b24012c0f78f93d20
Running setup.py bdist_wheel for pycparser ... done
Stored in directory: /home/shirish/.cache/pip/wheels/9b/f4/2e/d03e949a551719a1ffcb659f2c63d8444f4df12e994ce52112
Successfully built PyYAML Twisted ipaddr geoip scapy pypcap pydumbnet zope.interface cryptography pycparser
Failed to build ooniprobe
Installing collected packages: pyasn1, PyYAML, zope.interface, Twisted, ipaddr, idna, six, enum34, ipaddress, pycparser, cffi, cryptography, pyOpenSSL, geoip, Parsley, txsocksx, txtorcon, scapy, pypcap, pyasn1-modules, attrs, service-identity, pydumbnet, certifi, werkzeug, klein, ooniprobe
Running setup.py install for ooniprobe ... done
Could not find .egg-info directory in install record for ooniprobe===2.0.0a2 from https://github.com/TheTorProject/ooni-probe/releases/download/v2.0.0-alpha.2/ooniprobe-2.0.0a2.tar.gz
Successfully installed Parsley-1.3 PyYAML-3.11 Twisted-16.3.0 attrs-16.0.0 certifi-2016.8.8 cffi-1.7.0 cryptography-1.4 enum34-1.1.6 geoip-1.3.2 idna-2.1 ipaddr-2.1.11 ipaddress-1.0.16 klein-15.3.1 ooniprobe pyOpenSSL-16.0.0 pyasn1-0.1.9 pyasn1-modules-0.0.8 pycparser-2.14 pydumbnet-1.12.1 pypcap-1.1.5 scapy-2.3.2 service-identity-16.0.0 six-1.10.0 txsocksx-1.15.0.2 txtorcon-0.15.1 werkzeug-0.11.10 zope.interface-4.2.0
So the only failures seem to be -
Building wheels for collected packages: ooniprobe, PyYAML, Twisted, ipaddr, geoip, scapy, pypcap, pydumbnet, zope.interface, cryptography, pycparser
Running setup.py bdist_wheel for ooniprobe ... error
Checking .pth file support in build/bdist.linux-x86_64/wheel/
/home/shirish/venv-ooniprobe-agent-alpha/bin/python2 -E -c pass
TEST FAILED: build/bdist.linux-x86_64/wheel/ does NOT support .pth files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
build/bdist.linux-x86_64/wheel/
and your PYTHONPATH environment variable currently contains:
''
Here are some of your options for correcting the problem:
* You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
* You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
Please make the appropriate changes for your system and try again.
and finally
----------------------------------------
Failed building wheel for ooniprobe
Could not find .egg-info directory in install record for ooniprobe===2.0.0a2 from https://github.com/TheTorProject/ooni-probe/releases/download/v2.0.0-alpha.2/ooniprobe-2.0.0a2.tar.gz
Can you share the version of pip inside of the virtualenv as well. For some reason it's trying to install it as a wheel and that is leading to it failing for a not found PYTHONPATH.
You can get that by doing:
~/venv-ooniprobe-agent-alpha/bin/pip --version
Or just run pip --version after you have activated the virtualenv.
A temporary workaround to resolve your issue could be to do:
Actually the installation is not broken, but ooniprobe will still be installed, however it does print out a sort of scary message, but that is only related to the build of the wheel and it will still manage to run.
You can confirm that is the case if you just fire up ooniprobe-agent with:
ooniprobe-agent start
Now I think we should fix that scary message and even better we should fix wheel builds entirely, however this is currently a bit tricky due to the nature of how our setup.py works.
Until PEP-0426 there is no clean way of having post install hooks. We currently don't really need many post install hooks anymore expect for the ones we are using to manage the update and migration to the new update system for lepidopter based installs. For that reason we can't switch to an entirely supported wheel based setup.
I think as a temporary workaround to fix showing that scary message we could override the bdist_wheel action with some action that has an blank run() method that just prints out some message saying that wheels are not supported. It's not great, but at least it doesn't show that message, that may trick users (and even me) into believing that ooniprobe is not installed and working.
@hellais It was working as in I got the startup page on my browser. I have yet to tune it to tor which I'll probably try tomorrow . I haven't started running ooniprobe as I need to fix so that it takes tor and not firefox to show how ooniprobe runs.
The text was updated successfully, but these errors were encountered:
@shirishag75 commented on Sat Aug 13 2016
As per https://lists.torproject.org/pipermail/ooni-dev/2016-August/000457.html
I have all the dependencies installed -
Then ran as given in the mailing list instructions -
Once that was done ran -
And finally ran -
As can be seen getting tracebacks. Look forward to clarity.
@hellais commented on Sat Aug 13 2016
What python version are you running? It seems like you may be running python3, that is currently not supported by ooniprobe.
Can you run from inside of the virtualenv:
python --version
?@shirishag75 commented on Sun Aug 14 2016
running python 2.7.12 -
From outside the virtual env .
I actually tried it out once more and I got a bit more further -
[$] source ~/venv-ooniprobe-agent-alpha/bin/activate
So the only failures seem to be -
and finally
The above probably gives some more insight.
@shirishag75 commented on Sat Aug 13 2016
Just to make sure ( I'm no python user/geek) . I am running zsh hence the weird CLI interface -
@hellais commented on Tue Sep 13 2016
@shirishag75 sorry for getting back to you so late on this.
Could you perhaps try updating to the latest release candidate and see if the error still presents itself.
I have attempted in a couple of different setups to try to reproduce your error, but without success so far.
Can you also include the version of pip you are using (pip --version)?
You can try the new release candidate with the instructions found here: https://github.com/TheTorProject/ooni-probe/releases/tag/v2.0.0-rc.2
@shirishag75 commented on Tue Sep 13 2016
I am going to try it in sometime, will share as to whatever I get. As far as info. about pip is concerned, here are the details -
@shirishag75 commented on Tue Sep 13 2016
Still got the same issue - see the whole thing, tried from beginning, dunno if I should have cleaned up something or not -
┌─[shirish@debian] - [~] - [10198]
└─[$] virtualenv ~/venv-ooniprobe-agent-alpha/
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/shirish/venv-ooniprobe-agent-alpha/bin/python2
Not overwriting existing python script /home/shirish/venv-ooniprobe-agent-alpha/bin/python (you must use /home/shirish/venv-ooniprobe-agent-alpha/bin/python2)
Installing setuptools, pkg_resources, pip, wheel...done.
Maybe I did a mistake here ? Is there a way to clean the before python script ?
and then finally -
Hopefully, this can be resolved soonish.
@hellais commented on Tue Sep 13 2016
Can you share the version of pip inside of the virtualenv as well. For some reason it's trying to install it as a wheel and that is leading to it failing for a not found
PYTHONPATH
.You can get that by doing:
Or just run
pip --version
after you have activated the virtualenv.A temporary workaround to resolve your issue could be to do:
@hellais commented on Tue Sep 13 2016
Ok so I have figured out a way to reproduce this issue. pip will attempt to build a wheel for the package if you have the
wheel
package installed.It seems like setting the PYTHONPATH doesn't overcome this issue.
I will look more into how we can make our package more wheel friendly, in the meantime if you install wheel you should be able to install it.
You can uninstall wheel with:
@hellais commented on Wed Sep 14 2016
Ok so I have come to the bottom of this.
Actually the installation is not broken, but ooniprobe will still be installed, however it does print out a sort of scary message, but that is only related to the build of the wheel and it will still manage to run.
You can confirm that is the case if you just fire up ooniprobe-agent with:
Now I think we should fix that scary message and even better we should fix wheel builds entirely, however this is currently a bit tricky due to the nature of how our setup.py works.
Until PEP-0426 there is no clean way of having post install hooks. We currently don't really need many post install hooks anymore expect for the ones we are using to manage the update and migration to the new update system for lepidopter based installs. For that reason we can't switch to an entirely supported wheel based setup.
I think as a temporary workaround to fix showing that scary message we could override the
bdist_wheel
action with some action that has an blankrun()
method that just prints out some message saying that wheels are not supported. It's not great, but at least it doesn't show that message, that may trick users (and even me) into believing that ooniprobe is not installed and working.@shirishag75 commented on Wed Sep 14 2016
It's the same -
I have one question though, if I do -
pip uninstall wheel
It would just take python-wheel out of the virtualenv and not out of the system as I have -
As far as ooniprobe-agent is concerned, you are right, it does do the right thing. Now just have to configure ooniprobe to use tor.
@hellais commented on Wed Sep 14 2016
@shirishag75 can you confirm that ooniprobe is working as expected though?
If that is the case I will move the resolution of this user experience related issue to future releases.
Thanks a lot!
@shirishag75 commented on Wed Sep 14 2016
@hellais It was working as in I got the startup page on my browser. I have yet to tune it to tor which I'll probably try tomorrow . I haven't started running ooniprobe as I need to fix so that it takes tor and not firefox to show how ooniprobe runs.
The text was updated successfully, but these errors were encountered: