here is another one

    value = getvalue(value)
  File "/home/mark/work/common/web/utils.py", line 128, in getvalue
    return unicodify(x.value)
  File "/home/mark/work/common/web/utils.py", line 123, in unicodify
    if _unicode and isinstance(s, str): return safeunicode(s)
  File "/home/mark/work/common/web/utils.py", line 231, in safeunicode
    return obj.decode(encoding)
  File "/usr/lib64/python2.5/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 18-20:
invalid data" while reading upstream, client: X.X.X.X, server: XXX.com,
request: "GET /post?Link=
http://www.opendeco.es/muebles-zapateros-una-gran-idea/;Title=zapateros;Description=Hechos%20para%20toda%20l%EDnea%20de%20calzado,%20los%20muebles%20zapateros%20han%20sido%20dise%F1ados%20por%20Deco%2010%20no%20s%F3lo%20pensando%20en%20la%20moda%20que%20est%E1%20en%20contacto%20permanente%20con%20el%20suelo:%20los%20hermosos%20modelos%20hechos%20de%20fina%20madera%20en%20colores%20oscuros%20como%20el%20chocolate,%20o%20suaves%20como%20el%20verde%20acuarela%20seg%FAn%20el%20gusto%20de%20los%20usuarios,%



On Sat, Feb 7, 2009 at 7:51 AM, [email protected] <[email protected]> wrote:

> hi guys
> ever since web.py 0.3 there is a lot of web.py unicode errors
>
>
> for example, why is an error being raised here? shouldnt safeunicode handle
> this?
>
>   File "/home/mark/work/common/web/ webapi.py", line 222, in input
>     return storify(out, *requireds, **defaults)
>   File "/home/mark/work/common/web/utils.py", line 141, in storify
>     value = getvalue(value)
>   File "/home/mark/work/common/web/utils.py", line 128, in getvalue
>     return unicodify(x.value)
>   File "/home/mark/work/common/web/utils.py", line 123, in unicodify
>     if _unicode and isinstance(s, str): return safeunicode(s)
>   File "/home/mark/work/common/web/utils.py", line 231, in safeunicode
>     return obj.decode(encoding)
>   File "/usr/lib64/python2.5/encodings/utf_8.py", line 16, in decode
>     return codecs.utf_8_decode(input, errors, True)
> *UnicodeDecodeError: 'utf8' codec can't decode bytes in position 4-8:
> unsupported Unicode code range" while reading upstream,*
>
>
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to