Grazie a tutti per l'aiuto.
Ma ora che non mi da più errori, quando vado a fare il log, mi fa delle cose strane:
Client Traceback (most recent call last):
File "/home/openforce/lp/web/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "/home/openforce/lp/web/addons/web/controllers/main.py", line 864, in authenticate
req.session.authenticate(db, login, password, env)
File "/home/openforce/lp/web/addons/web/session.py", line 115, in authenticate
uid = self.proxy('common').authenticate(db, login, password, env)
File "/home/openforce/lp/web/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/openforce/lp/web/addons/web/session.py", line 103, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/home/openforce/lp/web/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/openforce/lp/openerp/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/openforce/lp/openerp/openerp/service/web_services.py", line 433, in dispatch
return fn(*params)
File "/home/openforce/lp/openerp/openerp/service/web_services.py", line 444, in exp_authenticate
res_users = pooler.get_pool(db).get('res.users')
File "/home/openforce/lp/openerp/openerp/pooler.py", line 49, in get_pool
return get_db_and_pool(db_name, force_demo, status, update_module)[1]
File "/home/openforce/lp/openerp/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module)
File "/home/openforce/lp/openerp/openerp/modules/registry.py", line 192, in get
update_module)
File "/home/openforce/lp/openerp/openerp/modules/registry.py", line 218, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/openforce/lp/openerp/openerp/modules/loading.py", line 341, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)
File "/home/openforce/lp/openerp/openerp/modules/loading.py", line 256, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/openforce/lp/openerp/openerp/modules/loading.py", line 187, in load_module_graph
load_update_xml(module_name, idref, mode)
File "/home/openforce/lp/openerp/openerp/modules/loading.py", line 74, in <lambda>
load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
File "/home/openforce/lp/openerp/openerp/modules/loading.py", line 124, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/home/openforce/lp/openerp/openerp/tools/convert.py", line 954, in convert_xml_import
obj.parse(doc.getroot())
File "/home/openforce/lp/openerp/openerp/tools/convert.py", line 847, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/openforce/lp/openerp/openerp/tools/convert.py", line 814, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/home/openforce/lp/openerp/openerp/addons/base/ir/ir_model.py", line 936, in _update
model_obj.write(cr, uid, [res_id], values, context=context)
File "/home/openforce/lp/openerp/openerp/addons/base/ir/ir_ui_view.py", line 208, in write
return super(view, self).write(cr, uid, ids, vals, context)
File "/home/openforce/lp/openerp/openerp/osv/orm.py", line 4201, in write
self._validate(cr, user, ids, context)
File "/home/openforce/lp/openerp/openerp/osv/orm.py", line 1544, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Si \xe8 verificato un errore durante la convalida dei campi arch: Invalid XML for View Architecture!')
Sono orientato a fare il ripristino. Però vi volevo chiedere : il db è stato salvato ieri prima del BZR PULL.
Affinchè funzioni è sufficiente lanciare --update:all ? (nel db ci sono campi e viste personalizzate)