← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

On Saturday 15 January 2011, you wrote:
> I just did a fresh update of server, addons, web-client.
> The problem remains the same.
> 
> operating system= Ubuntu 10.04
> server revision=3273
> addons revision=4250
> client-web revision=4344
> client revision=1777
> 
>  ERROR:web-services:[05]:   File
> "/opt/openobject-server/bin/addons/base/module/module.py", line 514, in
> update_translations [2011-01-15 18:48:51,229][demo_germany_1]

> ERROR:web-services:[06]:     tools.trans_load(cr.dbname, f, lang,
> verbose=False, context=context2) [2011-01-15 18:48:51,229][demo_germany_1]

Mr. Vocks, can you please verify that your python files are updated correctly?
I'm pretty sure I've seen this problem being corrected, and the line should 
now (svn. rev 3273) be #518, not #514.

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