New issue report by pamela.fox:
What steps will reproduce the problem?
1. Add a point with description: 羅斯福路四段1號Taiwan ROC
2. Try to query the database.
3. The following error results:
Traceback (most recent call last):
File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
499, in __call__
handler.get(*groups)
File "/base/data/home/apps/geodatastore/1.37/geoserv.py", line 153, in get
self.operationPicker()
File "/base/data/home/apps/geodatastore/1.37/geoserv.py", line 165, in
operationPicker
out,contentType = self.getGeometries()
File "/base/data/home/apps/geodatastore/1.37/geoserv.py", line 200, in
getGeometries
outputAction = {'json': jsonOutput(geometries,'get'),'kml':
kmlOutput(geometries,bboxWest,bboxSouth,bboxEast,bboxNorth)}
File "/base/data/home/apps/geodatastore/1.37/geoserv.py", line 57, 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'\u7f85'
The quote function doesn't seem to like unicode characters.
Issue attributes:
Status: Assigned
Owner: mano.marks
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings