Hello!

I have the same problem. It seems this error occurs when saving quite long 
russian strings. E.g. it appears when I try to send a request with a long text. 
Shortening the text to approx. 100 characters would avoid the error.
Here is the traceback:


Wed, 05 Nov 2008 22:50:34 ERROR:web-services:Exception in 
call: Traceback (most recent call last):
  File "/home/shev/tinyerp-server-4.2.3.3/bin/netsvc.py", line 338, in run
    r=m(*msg[2:])
  File "/home/shev/tinyerp-server-4.2.3.3/bin/service/web_services.py", 
line 366, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/home/shev/tinyerp-server-4.2.3.3/bin/osv/osv.py", line 111, in 
execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/shev/tinyerp-server-4.2.3.3/bin/osv/osv.py", line 92, in 
execute_cr
    res = getattr(object,method)(cr, uid, *args, **kw)
  File 
"/home/shev/tinyerp-server-4.2.3.3/bin/addons/base/res/res_request.py", line 
50, in request_send
    self.pool.get('res.request.history').create(cr, uid, 
values)
  File "/home/shev/tinyerp-server-4.2.3.3/bin/osv/orm.py", line 1193, in 
create
    
upd2.append(self._columns[field]._symbol_set[1](vals[field]))
  File "/home/shev/tinyerp-server-4.2.3.3/bin/osv/fields.py", line 145, in 
_symbol_set_char
    u_symb = unicode(symb, 'utf8')
  File "/usr/lib/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 
124-125: invalid data
[/code]




-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=26305#26305

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to