Comment 28 for bug 524588

Revision history for this message
Ivan Gudym (igudym) wrote :

[2010-02-23 12:06:50,110] INFO:i18n:module base: loading translation file for language uk_UA
Try to make unicode string: <type 'str'> Connection
Try to make unicode string: <type 'str'> create cursor to "aaa"
Try to make unicode string: <type 'str'> ConnectionPool
Try to make unicode string: <type 'str'> ConnectionPool(used=1/count=2/max=64)
Try to make unicode string: <type 'str'> ConnectionPool
Try to make unicode string: <type 'str'> Borrow connection to user=postgres dbname=aaa
Try to make unicode string: <type 'str'> ConnectionPool
Try to make unicode string: <type 'str'> ConnectionPool(used=1/count=2/max=64)
Try to make unicode string: <type 'str'> ConnectionPool
Try to make unicode string: <type 'str'> Create new connection
Try to make unicode string: <type 'str'> uk_UA
Try to make unicode string: <type 'str'> %d.%m.%Y
Try to make unicode string: <type 'str'> uk_UA
Try to make unicode string: <type 'unicode'> Ukrainian / украї́нська мо́ва
Try to make unicode string: <type 'str'> �
exception 1
exception 2 utf8
exception 2 UTF-8
Try to make unicode string: <type 'str'> web-services
Try to make unicode string: <type 'str'> CREATE DATABASE
Traceback (most recent call last):
  File "/home/user/devel/test/openerp/server/bin/service/web_services.py", line 104, in __call__
    modobj.update_translations(cr, 1, mids, lang)
  File "/home/user/devel/test/openerp/server/bin/addons/base/module/module.py", line 484, in update_translations
    tools.trans_load(cr.dbname, f, lang, verbose=False)
  File "/home/user/devel/test/openerp/server/bin/tools/translate.py", line 615, in trans_load
    r = trans_load_data(db_name, fileobj, fileformat, lang, strict=strict, verbose=verbose)
  File "/home/user/devel/test/openerp/server/bin/tools/translate.py", line 665, in trans_load_data
    lang_obj.create(cr, uid, lang_info)
  File "/home/user/devel/test/openerp/server/bin/osv/orm.py", line 2765, in create
    upd2.append(self._columns[field]._symbol_set[1](vals[field]))
  File "/home/user/devel/test/openerp/server/bin/osv/fields.py", line 159, in _symbol_set_char
    u_symb = tools.ustr(symb)
  File "/home/user/devel/test/openerp/server/bin/tools/misc.py", line 751, in ustr
    raise UnicodeError('unable de to convert %r' % (orig,))
UnicodeError: unable de to convert '\xc2\xc2\xa0'