c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04612
[Bug 676300] [NEW] OpenERP Web Console Error After Restore
Public bug reported:
Hello,
I'm not sure if this is a bug or an issue on my end... I am using
OpenERP 6.0.0 RC1 and Python 2.6.6...
I am trying to backup OpenERP on one server and restore it to another
identical server. I believe all that I need to backup and restore is the
database correct (seems like it according to this post:
http://openerpappliance.com/2009/09/06/howto-backup-openerp/)??
I am using pgdump and psql from to command line to backup and restore... Everything looks like it works correctly until I log into my application, then I get this:
-----------------------------------------------------------------------------------------------------------------------------------------------------------
An Application Error has been reported.
Let me fix it ->
Traceback (most recent call last):
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/addons/base/ir/ir_ui_menu.py", line 144, in search
if not menu.child_id:
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 276, in __getattr__
return self[name]
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 201, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 2966, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 3120, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/fields.py", line 461, in get
ids2 = obj.pool.get(self._obj).search(cr, user, self._domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/addons/base/ir/ir_ui_menu.py", line 144, in search
if not menu.child_id:
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 276, in __getattr__
return self[name]
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 201, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 2966, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 3120, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/fields.py", line 461, in get
ids2 = obj.pool.get(self._obj).search(cr, user, self._domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/addons/base/ir/ir_ui_menu.py", line 144, in search
if not menu.child_id:
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 276, in __getattr__
return self[name]
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 201, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 2966, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 3120, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/fields.py", line 461, in get
ids2 = obj.pool.get(self._obj).search(cr, user, self._domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/addons/base/ir/ir_ui_menu.py", line 144, in search
if not menu.child_id:
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 278, in __getattr__
raise AttributeError(e)
AttributeError: 'Field res_model not found in browse_record(ir.actions.act_window, 69)'
Fix it for me ->
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Does anyone have any advice or a better way to backup / restore from the command line?
Thanks in advance,
Nick Henry
** Affects: openobject-server
Importance: Undecided
Status: New
** Tags: attributeerror backup pgdump psql restore
--
OpenERP Web Console Error After Restore
https://bugs.launchpad.net/bugs/676300
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: New
Bug description:
Hello,
I'm not sure if this is a bug or an issue on my end... I am using OpenERP 6.0.0 RC1 and Python 2.6.6...
I am trying to backup OpenERP on one server and restore it to another identical server. I believe all that I need to backup and restore is the database correct (seems like it according to this post: http://openerpappliance.com/2009/09/06/howto-backup-openerp/)??
I am using pgdump and psql from to command line to backup and restore... Everything looks like it works correctly until I log into my application, then I get this:
-----------------------------------------------------------------------------------------------------------------------------------------------------------
An Application Error has been reported.
Let me fix it ->
Traceback (most recent call last):
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/addons/base/ir/ir_ui_menu.py", line 144, in search
if not menu.child_id:
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 276, in __getattr__
return self[name]
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 201, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 2966, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 3120, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/fields.py", line 461, in get
ids2 = obj.pool.get(self._obj).search(cr, user, self._domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/addons/base/ir/ir_ui_menu.py", line 144, in search
if not menu.child_id:
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 276, in __getattr__
return self[name]
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 201, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 2966, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 3120, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/fields.py", line 461, in get
ids2 = obj.pool.get(self._obj).search(cr, user, self._domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/addons/base/ir/ir_ui_menu.py", line 144, in search
if not menu.child_id:
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 276, in __getattr__
return self[name]
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 201, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 2966, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 3120, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/fields.py", line 461, in get
ids2 = obj.pool.get(self._obj).search(cr, user, self._domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/addons/base/ir/ir_ui_menu.py", line 144, in search
if not menu.child_id:
File "/opt/standingcloud/stack/openerp-server-6.0.0-rc1/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 278, in __getattr__
raise AttributeError(e)
AttributeError: 'Field res_model not found in browse_record(ir.actions.act_window, 69)'
Fix it for me ->
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Does anyone have any advice or a better way to backup / restore from the command line?
Thanks in advance,
Nick Henry
Follow ups
References