| <type 'exceptions.ValueError'> | Python 2.7.12: /usr/bin/python Wed Dec 17 22:33:57 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/sandbox/public_html/cgi-bin/Cesium/Apps/Sandcastle/dh2021/CesiumSpaceV3.py in |
| 182 |
| 183 displayResults("templateCesiumV1.htm", xml ) |
| 184 #displayResults("templateCesiumV1.htm", 'http://dh.aks.ac.kr/~sandbox/cgi-bin/Cesium/Apps/Sandcastle/dh2021/myPlaces.xml' ) |
| 185 |
| => 186 main() |
| main = <function main> |
| /home/sandbox/public_html/cgi-bin/Cesium/Apps/Sandcastle/dh2021/CesiumSpaceV3.py in main() |
| 181 return |
| 182 |
| => 183 displayResults("templateCesiumV1.htm", xml ) |
| 184 #displayResults("templateCesiumV1.htm", 'http://dh.aks.ac.kr/~sandbox/cgi-bin/Cesium/Apps/Sandcastle/dh2021/myPlaces.xml' ) |
| 185 |
| global displayResults = <function displayResults>, xml = '' |
| /home/sandbox/public_html/cgi-bin/Cesium/Apps/Sandcastle/dh2021/CesiumSpaceV3.py in displayResults(template='templateCesiumV1.htm', url='') |
| 161 if not line: break |
| 162 if( '#YourData' == line.strip()): |
| => 163 displayData( url ) |
| 164 else: |
| 165 print( line ) |
| global displayData = <function displayData>, url = '' |
| /home/sandbox/public_html/cgi-bin/Cesium/Apps/Sandcastle/dh2021/CesiumSpaceV3.py in displayData(url='') |
| 93 def displayData( url ): |
| 94 |
| => 95 xml = urlopen( url ) |
| 96 contents = str(xml.read()) |
| 97 |
| xml undefined, global urlopen = <function urlopen>, url = '' |
| /usr/lib/python2.7/urllib2.py in urlopen(url='', data=None, timeout=<object object>, cafile=None, capath=None, cadefault=False, context=None) |
| 152 else: |
| 153 opener = _opener |
| => 154 return opener.open(url, data, timeout) |
| 155 |
| 156 def install_opener(opener): |
| opener = <urllib2.OpenerDirector instance>, opener.open = <bound method OpenerDirector.open of <urllib2.OpenerDirector instance>>, url = '', data = None, timeout = <object object> |
| /usr/lib/python2.7/urllib2.py in open(self=<urllib2.OpenerDirector instance>, fullurl='', data=None, timeout=<object object>) |
| 419 |
| 420 req.timeout = timeout |
| => 421 protocol = req.get_type() |
| 422 |
| 423 # pre-process request |
| protocol undefined, req = <urllib2.Request instance>, req.get_type = <bound method Request.get_type of <urllib2.Request instance>> |
| /usr/lib/python2.7/urllib2.py in get_type(self=<urllib2.Request instance>) |
| 281 self.type, self.__r_type = splittype(self.__original) |
| 282 if self.type is None: |
| => 283 raise ValueError, "unknown url type: %s" % self.__original |
| 284 return self.type |
| 285 |
| builtin ValueError = <type 'exceptions.ValueError'>, self = <urllib2.Request instance>, self.__original undefined |
<type 'exceptions.ValueError'>: unknown url type:
args =
('unknown url type: ',)
message =
'unknown url type: '