Submitted by bcourts (not verified) on Mon, 2008-08-18 01:17.
This module seems like it should do exactly what I am looking for, but when I run it, I get the following error messages:
Traceback (most recent call last):
File "D:\bc\python\gdalext\src\get_elev.py", line 64, in
response = urllib2.urlopen(req)
File "D:\Python25\Lib\urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "D:\Python25\Lib\urllib2.py", line 380, in open
response = meth(req, response)
File "D:\Python25\Lib\urllib2.py", line 491, in http_response
'http', request, response, code, msg, hdrs)
File "D:\Python25\Lib\urllib2.py", line 412, in error
result = self._call_chain(*args)
File "D:\Python25\Lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "D:\Python25\Lib\urllib2.py", line 575, in http_error_302
return self.parent.open(new)
File "D:\Python25\Lib\urllib2.py", line 380, in open
response = meth(req, response)
File "D:\Python25\Lib\urllib2.py", line 491, in http_response
'http', request, response, code, msg, hdrs)
File "D:\Python25\Lib\urllib2.py", line 418, in error
return self._call_chain(*args)
File "D:\Python25\Lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "D:\Python25\Lib\urllib2.py", line 499, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
Do I need to configure my Python 2.5 installation to make this request?
I am running Windows XP, if that makes a difference.
Not working for me
This module seems like it should do exactly what I am looking for, but when I run it, I get the following error messages:
Traceback (most recent call last):
File "D:\bc\python\gdalext\src\get_elev.py", line 64, in
response = urllib2.urlopen(req)
File "D:\Python25\Lib\urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "D:\Python25\Lib\urllib2.py", line 380, in open
response = meth(req, response)
File "D:\Python25\Lib\urllib2.py", line 491, in http_response
'http', request, response, code, msg, hdrs)
File "D:\Python25\Lib\urllib2.py", line 412, in error
result = self._call_chain(*args)
File "D:\Python25\Lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "D:\Python25\Lib\urllib2.py", line 575, in http_error_302
return self.parent.open(new)
File "D:\Python25\Lib\urllib2.py", line 380, in open
response = meth(req, response)
File "D:\Python25\Lib\urllib2.py", line 491, in http_response
'http', request, response, code, msg, hdrs)
File "D:\Python25\Lib\urllib2.py", line 418, in error
return self._call_chain(*args)
File "D:\Python25\Lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "D:\Python25\Lib\urllib2.py", line 499, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
Do I need to configure my Python 2.5 installation to make this request?
I am running Windows XP, if that makes a difference.