Hi,
One of my robots has a reoccuring problem when added to waves with non-ascii
characters in it:
(from appengine logs:)
'ascii' codec can't encode character u'\xe1' in position 12: ordinal
not in range(128)
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py",
line 509, in __call__
handler.post(*groups)
File "/base/data/home/apps/wavegroupy/22.337087055480484049/waveapi/robot.py",
line 90, in post
context, events = robot_abstract.ParseJSONBody(json_body)
File
"/base/data/home/apps/wavegroupy/22.337087055480484049/waveapi/robot_abstract.py",
line 37, in ParseJSONBody
context = ops.CreateContext(data)
File "/base/data/home/apps/wavegroupy/22.337087055480484049/waveapi/ops.py",
line 595, in CreateContext
context.AddBlip(raw_blip_data)
File "/base/data/home/apps/wavegroupy/22.337087055480484049/waveapi/ops.py",
line 552, in AddBlip
blip = OpBasedBlip(blip_data, self)
File "/base/data/home/apps/wavegroupy/22.337087055480484049/waveapi/ops.py",
line 186, in __init__
super(OpBasedBlip, self).__init__(json)
File "/base/data/home/apps/wavegroupy/22.337087055480484049/waveapi/model.py",
line 192, in __init__
self.elements[elem] = document.ElementFromJson(json_elements[elem])
File
"/base/data/home/apps/wavegroupy/22.337087055480484049/waveapi/document.py",
line 204, in ElementFromJson
return Gadget(url=url, props=props)
File
"/base/data/home/apps/wavegroupy/22.337087055480484049/waveapi/document.py",
line 164, in __init__
super(Gadget, self).__init__(ELEMENT_TYPE.GADGET, properties=props)
File
"/base/data/home/apps/wavegroupy/22.337087055480484049/waveapi/document.py",
line 120, in __init__
setattr(self, key, val)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in
position 12: ordinal not in range(128)
And a relevant note:
The main wave-robot-python-client
<http://code.google.com/p/wave-robot-python-client/> project doesn't
interface the "Issues" tab -had to go to the URL directly. Are there
any specific reasons why we shouldn't submit issues directly to the
project page?
Thank you,
-SDr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---