[Inteproxy-devel] value-error in trunk

Stephan Holl stephan.holl at intevation.de
Wed Apr 11 10:38:36 CEST 2007


Hello ,

I have checked out inteproxy from SVN trunk and ran into the following
problem.

Since I am no python guru I am a little lost here.
python2.4 ./InteProxy.py  --allow-shutdown --debug-level=10
--config-file=proxy-config.cfg

11/Apr/2007 10:29:11] queue contains 0 items 
localhost - - [11/Apr/2007 10:29:11] DEBUG: Got GET request
for /frida.intevation.org/cgi-bin/frida_wms?VERSION=1.0.0&SERVICE=WMS&REQUEST=GetCapabilities
localhost - - [11/Apr/2007 10:29:11] DEBUG: header from client:
accept-language:'en-us,en;q=0.5' 
localhost - - [11/Apr/2007 10:29:11] DEBUG: header from client:
accept-encoding:'gzip,deflate' 
localhost - - [11/Apr/2007 10:29:11] DEBUG: header from client:
connection:'keep-alive' 
localhost - - [11/Apr/2007 10:29:11] DEBUG: header from client:
keep-alive:'300' 
localhost - - [11/Apr/2007 10:29:11] DEBUG: header from client:
accept:'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
localhost - - [11/Apr/2007 10:29:11] DEBUG: header from client:
user-agent:'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3)
Gecko/20070326 BonEcho/2.0.0.3' 
localhost - - [11/Apr/2007 10:29:11] DEBUG: header from client:
accept-charset:'ISO-8859-1,utf-8;q=0.7,*;q=0.7' 
localhost - - [11/Apr/2007 10:29:11] DEBUG: header from client:
host:'localhost:64609' 
localhost - - [11/Apr/2007 10:29:11] DEBUG: Converted url:
'//frida.intevation.org/cgi-bin/frida_wms?VERSION=1.0.0&SERVICE=WMS&REQUEST=GetCapabilities'
localhost - - [11/Apr/2007 10:29:11] DEBUG: client request has no body
localhost - - [11/Apr/2007 10:29:11] DEBUG: request sent [11/Apr/2007
10:29:11] Exception while handling request from ('127.0.0.1', 43174)
Traceback (most recent call last): File "./InteProxy.py", line 312, in
process_in_worker self.finish_request(request, client_address) File
"/vol1/home/bh/install/ix86-debian-3.1/python-2.4/lib/python2.4/SocketServer.py",
line 254, in finish_request self.RequestHandlerClass(request,
client_address, self) File
"/vol1/home/bh/install/ix86-debian-3.1/python-2.4/lib/python2.4/SocketServer.py",
line 521, in __init__ self.handle() File
"/vol1/home/bh/install/ix86-debian-3.1/python-2.4/lib/python2.4/BaseHTTPServer.py",
line 316, in handle self.handle_one_request() File
"/vol1/home/bh/install/ix86-debian-3.1/python-2.4/lib/python2.4/BaseHTTPServer.py",
line 310, in handle_one_request method() File "./InteProxy.py", line
77, in do_GET self.handle_proxy_request("GET") File "./InteProxy.py",
line 164, in handle_proxy_request response = urllib2.urlopen(request)
File
"/vol1/home/bh/install/ix86-debian-3.1/python-2.4/lib/python2.4/urllib2.py",
line 130, in urlopen return _opener.open(url, data) File
"/vol1/home/bh/install/ix86-debian-3.1/python-2.4/lib/python2.4/urllib2.py",
line 350, in open protocol = req.get_type() File
"/vol1/home/bh/install/ix86-debian-3.1/python-2.4/lib/python2.4/urllib2.py",
line 233, in get_type raise ValueError, "unknown url type: %s" %
self.__original ValueError: unknown url
type: //frida.intevation.org/cgi-bin/frida_wms?VERSION=1.0.0&SERVICE=WMS&REQUEST=GetCapabilities

Using the release-tarball everything works as expected.

Best

	Stephan

-- 
Stephan Holl <stephan.holl at intevation.de>, http://intevation.de/~stephan
Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Inteproxy-devel mailing list