← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 703235] Re: database crash on installation of a new database

 

*** This bug is a duplicate of bug 700770 ***
    https://bugs.launchpad.net/bugs/700770

I think the original bug report was bug 700770, solved by server
revision 3232 vmt@xxxxxxxxxxx-20110110085335-lj3zzgdzvm5a45x9.

** This bug has been marked a duplicate of bug 700770
   [6.0 rc2] export translation fails with error
 * You can subscribe to bug 700770 by following this link: https://bugs.launchpad.net/openobject-server/+bug/700770/+subscribe

** Changed in: openobject-server
       Status: New => Fix Released

** Changed in: openobject-server
    Milestone: None => 6.0

-- 
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:
  Fix Released

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'





References