c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #12622
[Bug 703235] [NEW] database crash on installation of a new database
Public bug reported:
Environment Information :
System : Linux-2.6.32-26-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-26-generic
Operating System Version : #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : de_DE.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc2
Last revision No. & ID :1775 tfr@xxxxxxxxxxx-20110113161923-ghxzq606r14as9bd
Traceback (most recent call last):
File "/home/vockst/bazaar/openobject-server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/vockst/bazaar/openobject-server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/vockst/bazaar/openobject-server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/vockst/bazaar/openobject-server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/vockst/bazaar/openobject-server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openobject-server/bin/addons/base/res/res_config.py", line 167, in action_next
next = self.execute(cr, uid, ids, context=None)
File "/opt/openobject-server/bin/addons/base/res/res_config.py", line 397, in execute
pooler.restart_pool(cr.dbname, update_module=True)
File "/home/vockst/bazaar/openobject-server/bin/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/home/vockst/bazaar/openobject-server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/home/vockst/bazaar/openobject-server/bin/addons/__init__.py", line 883, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/home/vockst/bazaar/openobject-server/bin/addons/__init__.py", line 772, in load_module_graph
modobj.update_translations(cr, 1, [mid], None)
File "/opt/openobject-server/bin/addons/base/module/module.py", line 514, in update_translations
tools.trans_load(cr.dbname, f, lang, verbose=False, context=context2)
File "/home/vockst/bazaar/openobject-server/bin/tools/translate.py", line 841, in trans_load
r = trans_load_data(cr, fileobj, fileformat, lang, verbose=verbose, context=context)
File "/home/vockst/bazaar/openobject-server/bin/tools/translate.py", line 858, in trans_load_data
db_name = cr.dbname
AttributeError: 'str' object has no attribute 'dbname'
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/703235
Title:
database crash on installation of a new database
Status in OpenObject Server:
New
Bug description:
Environment Information :
System : Linux-2.6.32-26-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-26-generic
Operating System Version : #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : de_DE.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc2
Last revision No. & ID :1775 tfr@xxxxxxxxxxx-20110113161923-ghxzq606r14as9bd
Traceback (most recent call last):
File "/home/vockst/bazaar/openobject-server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/vockst/bazaar/openobject-server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/vockst/bazaar/openobject-server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/vockst/bazaar/openobject-server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/vockst/bazaar/openobject-server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openobject-server/bin/addons/base/res/res_config.py", line 167, in action_next
next = self.execute(cr, uid, ids, context=None)
File "/opt/openobject-server/bin/addons/base/res/res_config.py", line 397, in execute
pooler.restart_pool(cr.dbname, update_module=True)
File "/home/vockst/bazaar/openobject-server/bin/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/home/vockst/bazaar/openobject-server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/home/vockst/bazaar/openobject-server/bin/addons/__init__.py", line 883, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/home/vockst/bazaar/openobject-server/bin/addons/__init__.py", line 772, in load_module_graph
modobj.update_translations(cr, 1, [mid], None)
File "/opt/openobject-server/bin/addons/base/module/module.py", line 514, in update_translations
tools.trans_load(cr.dbname, f, lang, verbose=False, context=context2)
File "/home/vockst/bazaar/openobject-server/bin/tools/translate.py", line 841, in trans_load
r = trans_load_data(cr, fileobj, fileformat, lang, verbose=verbose, context=context)
File "/home/vockst/bazaar/openobject-server/bin/tools/translate.py", line 858, in trans_load_data
db_name = cr.dbname
AttributeError: 'str' object has no attribute 'dbname'
Follow ups
References