[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Python error in 1.8.1 test suite - authz_tests.py

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 30 Jul 2013 16:19:11 +0100

BIRD Neil <Neil.BIRD_at_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
Received on 2013-07-30 17:19:49 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.