credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #02163
[Bug 908069] Re: KeyError: 'serialization_field_id'
I got this error after I got the newest revisions of 'addons / web /
server'
Then I started the server with the '-u all' parameter to update the addons and
when I try to logon in OpenERP, I got this error.
When debugging this I noticed a new entry in the column definition of
'ir.model.fields' -> serialization_field_id.
But in orm.py OpenERP was trying to access that field, but it didn't
exist in the table.
A dirty fix:
I removed all 'serialization_field_id' entries in orm.py restarted the server so OpenERP could add
the column in 'ir.model.fields'. Then I restored the orm.py to the original state and restarted the
server without any error.
RevNo OpenERP Server : 3918
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/908069
Title:
KeyError: 'serialization_field_id'
Status in OpenERP Server:
Incomplete
Bug description:
Server Traceback (most recent call last):
File "/srv/openerp/server/openerp/wsgi.py", line 77, in xmlrpc_return
result = openerp.netsvc.dispatch_rpc(service, method, params)
File "/srv/openerp/server/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/srv/openerp/server/openerp/service/web_services.py", line 387, in dispatch
return fn(*params)
File "/srv/openerp/server/openerp/service/web_services.py", line 398, in exp_authenticate
res_users = pooler.get_pool(db).get('res.users')
File "/srv/openerp/server/openerp/pooler.py", line 50, in get_pool
return get_db_and_pool(db_name, force_demo, status, update_module)[1]
File "/srv/openerp/server/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
File "/srv/openerp/server/openerp/modules/registry.py", line 138, in get
update_module, pooljobs)
File "/srv/openerp/server/openerp/modules/registry.py", line 160, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/srv/openerp/server/openerp/modules/loading.py", line 299, in load_modules
loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report)
File "/srv/openerp/server/openerp/modules/loading.py", line 171, in load_module_graph
init_module_models(cr, package.name, models)
File "/srv/openerp/server/openerp/modules/module.py", line 287, in init_module_models
result = obj._auto_init(cr, {'module': module_name})
File "/srv/openerp/server/openerp/osv/orm.py", line 2747, in _auto_init
self._field_create(cr, context=context)
File "/srv/openerp/server/openerp/osv/orm.py", line 817, in _field_create
if cols[k][key] != vals[key]:
KeyError: 'serialization_field_id'
OpenERP Server 6.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/908069/+subscriptions
References