[ORM and Clients] Error message for imported db when update.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
When you import a DB, and the db imported is in other encoding diferent to UTF8 this error appear.
[2010-04-08 11:40:32,392] INFO:init:module base: loading ir/ir.xml
No LSB modules are available.
[2010-04-08 11:40:35,150] ERROR:init:[01]:
[2010-04-08 11:40:35,150] ERROR:init:[02]: Environment Information :
[2010-04-08 11:40:35,151] ERROR:init:[03]: System : Linux-2.
[2010-04-08 11:40:35,151] ERROR:init:[04]: OS Name : posix
[2010-04-08 11:40:35,151] ERROR:init:[05]: Distributor ID: Ubuntu
[2010-04-08 11:40:35,152] ERROR:init:[06]: Description: Ubuntu 8.04.4 LTS
[2010-04-08 11:40:35,152] ERROR:init:[07]: Release: 8.04
[2010-04-08 11:40:35,152] ERROR:init:[08]: Codename: hardy
[2010-04-08 11:40:35,152] ERROR:init:[09]: Operating System Release : 2.6.24-24-server
[2010-04-08 11:40:35,153] ERROR:init:[10]: Operating System Version : #1 SMP Fri Sep 18 17:24:10 UTC 2009
[2010-04-08 11:40:35,153] ERROR:init:[11]: Operating System Architecture : 32bit
[2010-04-08 11:40:35,153] ERROR:init:[12]: Operating System Locale : en_US.UTF8
[2010-04-08 11:40:35,154] ERROR:init:[13]: Python Version : 2.5.2
[2010-04-08 11:40:35,154] ERROR:init:[14]: OpenERP-Server Version : 5.0.9
[2010-04-08 11:40:35,154] ERROR:init:[15]: Last revision No. & ID : 2032 <email address hidden>
[2010-04-08 11:40:35,155] ERROR:init:[16]:
[2010-04-08 11:40:35,155] ERROR:init:[17]: <record id="property_rule" model="ir.rule">
[2010-04-08 11:40:35,155] ERROR:init:[18]: <field model="
[2010-04-08 11:40:35,155] ERROR:init:[19]: <field name="operator"
[2010-04-08 11:40:35,156] ERROR:init:[20]: <field name="operand"
[2010-04-08 11:40:35,156] ERROR:init:[21]: <field name="rule_group" ref="property_
[2010-04-08 11:40:35,156] ERROR:init:[22]: </record>
Traceback (most recent call last):
File "./openerp-
pooler.
File "/home/
addons.
File "/home/
has_updates = load_module_
File "/home/
tools.
File "/home/
obj.
File "/home/
self.
File "/home/
id = self.pool.
File "/home/
model_
File "/home/
self, cr, user, context=context)):
File "/home/
recur=
File "/home/
fields = self.pool.
File "/home/
return super(orm, self).fields_
File "/home/
user, context)
File "/home/
res = obj.read(cr, uid, ids, ['code', 'name'], context)
File "/home/
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/
res.
File "/usr/lib/
rows = _2cursor.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)
IMHO, the first step when you import a DB to a fresh instalation you check the permisions seeing in first place if the client list the empty db created.
I think this error is not documented enough on framework, when the databases are listed by the clients the Enoding _must_ be checked, not listed in clients and a WARNING: message showed on logs.
The main reason is that, debug this human error in the creation of the db take a lot of time in debuging time.
Changed in openobject-server: | |
status: | New → Incomplete |
Hello Nhomar Hernández ,
Would you please provide me the exact steps that you followed to generate this error?
Thanks.