← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

If possible, try to update your codes.

Quentin


Le 15/01/2011 14:23, Thorsten Vocks (OpenBig.org) a écrit :
> operating system= Ubuntu 10.04
> server revision=3262
> addons revision=4245
> client-web revision=4340
> client revision=1775
>
> I started the server by hand via ./openerp-server.py
>
> Another information (or a dependent problem?)
>
> If i try to update an existing database with --update=crm (or anything else, or update=all) option,
> i run into a never ending looping on the step of loading the translation file (in my case the de.po).
>

-- 
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'





References