when ido migration for my database from 6.1 to 7.0 i get this Error

Asked by mohammed khalid

 maroco openerp.osv.orm: Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':
 * res.users.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2014-06-10 13:26:53,765 11522 ERROR maroco openerp.addons.base.ir.ir_ui_view: Can't render view base.user_groups_view for model: res.users
Traceback (most recent call last):
  File "/home/nctr/Desktop/7.0/openerp/addons/base/ir/ir_ui_view.py", line 126, in _check_render_view
    fvg = self.pool.get(view.model).fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context)
  File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 2260, in fields_view_get
    xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
  File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 1937, in __view_look_dom_arch
    raise except_orm('View error', msg)
except_orm: ('View error', u"Can't find field 'context_tz' in the following view parts composing the view of object model 'res.users':\n * res.users.form\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model")
2014-06-10 13:26:53,768 11522 ERROR maroco openerp.tools.convert: Parse error in /home/nctr/Desktop/7.0/openerp/addons/base/security/base_security.xml:29:
<record model="res.groups" id="group_multi_currency">
            <field name="name">Multi Currencies</field>
        </record>
Traceback (most recent call last):
  File "/home/nctr/Desktop/7.0/openerp/tools/convert.py", line 847, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/nctr/Desktop/7.0/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/nctr/Desktop/7.0/openerp/addons/base/ir/ir_model.py", line 963, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/nctr/Desktop/7.0/openerp/addons/base/res/res_users.py", line 656, in create
    self.update_user_groups_view(cr, uid, context)
  File "/home/nctr/Desktop/7.0/openerp/addons/base/res/res_users.py", line 695, in update_user_groups_view
    view.write({'arch': xml_content})
  File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 374, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "/home/nctr/Desktop/7.0/openerp/addons/base/ir/ir_ui_view.py", line 208, in write
    return super(view, self).write(cr, uid, ids, vals, context)
  File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 4201, in write
    self._validate(cr, user, ids, context)
  File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 1544, in _validate
    raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
2014-06-10 13:26:53,769 11522 ERROR maroco openerp: Failed to initialize database `maroco`.
Traceback (most recent call last):
  File "/home/nctr/Desktop/7.0/openerp/cli/server.py", line 97, in preload_registry
    db, registry = openerp.pooler.get_db_and_pool(dbname,update_module=update_module)
  File "/home/nctr/Desktop/7.0/openerp/pooler.py", line 33, in get_db_and_pool
    registry = RegistryManager.get(db_name, force_demo, status, update_module)
  File "/home/nctr/Desktop/7.0/openerp/modules/registry.py", line 192, in get
    update_module)
  File "/home/nctr/Desktop/7.0/openerp/modules/registry.py", line 218, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/nctr/Desktop/7.0/openerp/modules/loading.py", line 301, in load_modules
    loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=update_module, report=report)
  File "/home/nctr/Desktop/7.0/openerp/modules/loading.py", line 188, in load_module_graph
    load_data(module_name, idref, mode)
  File "/home/nctr/Desktop/7.0/openerp/modules/loading.py", line 76, in <lambda>
    load_data = lambda *args: _load_data(cr, *args, kind='data')
  File "/home/nctr/Desktop/7.0/openerp/modules/loading.py", line 124, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/home/nctr/Desktop/7.0/openerp/tools/convert.py", line 954, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/nctr/Desktop/7.0/openerp/tools/convert.py", line 847, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/nctr/Desktop/7.0/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/nctr/Desktop/7.0/openerp/addons/base/ir/ir_model.py", line 963, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/nctr/Desktop/7.0/openerp/addons/base/res/res_users.py", line 656, in create
    self.update_user_groups_view(cr, uid, context)
  File "/home/nctr/Desktop/7.0/openerp/addons/base/res/res_users.py", line 695, in update_user_groups_view
    view.write({'arch': xml_content})
  File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 374, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "/home/nctr/Desktop/7.0/openerp/addons/base/ir/ir_ui_view.py", line 208, in write
    return super(view, self).write(cr, uid, ids, vals, context)
  File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 4201, in write
    self._validate(cr, user, ids, context)
  File "/home/nctr/Desktop/7.0/openerp/osv/orm.py", line 1544, in _validate
    raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
2014-06-10 13:26:53,771 11522 INFO maroco openerp: OpenERP server is running, waiting for connections...

Question information

Language:
English Edit question
Status:
Expired
For:
OpenUpgrade Server Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sylvain LE GAL (GRAP) (sylvain-legal) said :
#1

Hi,

This is a "normal" error during the migration process.
The log says that OpenERP is running and waiting connection, can you connect to the server to test the result of the migration ?

Regards.

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) said :
#2

I think the OpenUpgrade issues the same message as a warning, but I'm seeing an exception here. So it looks like you are not actually running OpenUpgrade but plain OpenERP. You should put up the whole server log file of the migration effort onto some pastebin site and link it over here.

Revision history for this message
mohammed khalid (meedo-porto) said :
#3

thanx for reply ..... but i will try to connect to database but i can't access to the database
Shows me the following error:

Database cannot be accessed or does not exist

Please double-check the database name or contact your administrator to verify the database status.
Regards

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.