subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <philip.mar...@wandisco.com>
Subject Re: Python error in 1.8.1 test suite - authz_tests.py
Date Tue, 30 Jul 2013 15:19:11 GMT
BIRD Neil <Neil.BIRD@uk.thalesgroup.com> writes:

>     "http-proxy-port=%d" % (http_proxy_parsed.port or 80)
>   File "/usr/lib/python2.6/urlparse.py", line 102, in port
>     return int(port, 10)
> ValueError: invalid literal for int() with base 10: ''

>   I do have http_proxy set (to something like
>   "http_proxy://proxyhost:portno/"), but the above error occurs
>   nomatter whether it's set or not.

The value that matters is HTTP_PROXY, i.e. uppercase.  The code expects
a value like 'host:port' and breaks on 'http://host:port'.  However you
don't need to set a proxy to run the tests, so unset HTTP_PROXY.

-- 
Philip Martin | Subversion Committer
WANdisco | Non-Stop Data

Mime
View raw message