jeddawson / geodatastore

Automatically exported from code.google.com/p/geodatastore
0 stars 0 forks source link

KeyError: u'\xe4' in urllib.py", line 1205 #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Error log

Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
496, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 202, in get
    self.operationPicker()
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 214, in
operationPicker
    out,contentType = self.getGeometries()
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 249, in getGeometries
    outputAction = {'json': jsonOutput(geometries,'get'),'kml':
kmlOutput(geometries,bboxWest,bboxSouth,bboxEast,bboxNorth)}
  File "/base/data/home/apps/now1/1.172/geoserv.py", line 58, in jsonOutput
    points.append("{key: '%s', userId: '%s', name: '%s', type: '%s',
description: '%s', timeStamp: '%s', coordinates: %s, altitudes: %s, bbox:
%s}" % (geometry.key(), geometry.userId, quote(geometry.name,'
'),geometry.type, quote(geometry.description,' '),geometry.timeStamp,
coordinates, altitudes,bbox))
  File "/base/python_dist/lib/python2.5/urllib.py", line 1205, in quote
    res = map(safe_map.__getitem__, s)
KeyError: u'\xe4'

Original issue reported on code.google.com by Layne.Mo...@gmail.com on 12 Sep 2008 at 12:04

GoogleCodeExporter commented 9 years ago

Original comment by pamela.fox on 13 Sep 2008 at 6:25