← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 706664] [NEW] Can't load hr_payroll, doesn't find translations

 

Public bug reported:

This is the trace I get every time I try to load the referenced module.
I'm working on a just installed Source tarballs, Release 6.0.1 from
openerp.com web site.


Traceback (most recent call last):
  File "/home/openerp6/openerp-server-6.0.1/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp6/openerp-server-6.0.1/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp6/openerp-server-6.0.1/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp6/openerp-server-6.0.1/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp6/openerp-server-6.0.1/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp6/openerp-server/bin/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/openerp6/openerp-server-6.0.1/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/openerp6/openerp-server-6.0.1/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/openerp6/openerp-server-6.0.1/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/openerp6/openerp-server-6.0.1/bin/addons/__init__.py", line 772, in load_module_graph
    modobj.update_translations(cr, 1, [mid], None)
  File "/home/openerp6/openerp-server/bin/addons/base/module/module.py", line 518, in update_translations
    tools.trans_load(cr, f, lang, verbose=False, context=context2)
  File "/home/openerp6/openerp-server-6.0.1/bin/tools/translate.py", line 841, in trans_load
    r = trans_load_data(cr, fileobj, fileformat, lang, verbose=verbose, context=context)
  File "/home/openerp6/openerp-server-6.0.1/bin/tools/translate.py", line 932, in trans_load_data
    trans_obj.create(cr, uid, dic)
  File "/home/openerp6/openerp-server/bin/addons/base/ir/ir_translation.py", line 184, in create
    ids = super(ir_translation, self).create(cursor, user, vals, context=context)
  File "/home/openerp6/openerp-server-6.0.1/bin/osv/orm.py", line 3605, in create
    cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
  File "/home/openerp6/openerp-server-6.0.1/bin/sql_db.py", line 78, in wrapper
    return f(self, *args, **kwargs)
  File "/home/openerp6/openerp-server-6.0.1/bin/sql_db.py", line 131, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column "xml_id" of relation "ir_translation" does not exist
LINE 1: insert into "ir_translation" (id,"lang","src","xml_id","name...

** Affects: openobject-addons
     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/706664

Title:
  Can't load hr_payroll, doesn't find translations

Status in OpenERP Modules (addons):
  New

Bug description:
  This is the trace I get every time I try to load the referenced
  module. I'm working on a just installed Source tarballs, Release 6.0.1
  from openerp.com web site.

  
  Traceback (most recent call last):
    File "/home/openerp6/openerp-server-6.0.1/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/openerp6/openerp-server-6.0.1/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp6/openerp-server-6.0.1/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp6/openerp-server-6.0.1/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/openerp6/openerp-server-6.0.1/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp6/openerp-server/bin/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/home/openerp6/openerp-server-6.0.1/bin/pooler.py", line 60, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/home/openerp6/openerp-server-6.0.1/bin/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/home/openerp6/openerp-server-6.0.1/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/openerp6/openerp-server-6.0.1/bin/addons/__init__.py", line 772, in load_module_graph
      modobj.update_translations(cr, 1, [mid], None)
    File "/home/openerp6/openerp-server/bin/addons/base/module/module.py", line 518, in update_translations
      tools.trans_load(cr, f, lang, verbose=False, context=context2)
    File "/home/openerp6/openerp-server-6.0.1/bin/tools/translate.py", line 841, in trans_load
      r = trans_load_data(cr, fileobj, fileformat, lang, verbose=verbose, context=context)
    File "/home/openerp6/openerp-server-6.0.1/bin/tools/translate.py", line 932, in trans_load_data
      trans_obj.create(cr, uid, dic)
    File "/home/openerp6/openerp-server/bin/addons/base/ir/ir_translation.py", line 184, in create
      ids = super(ir_translation, self).create(cursor, user, vals, context=context)
    File "/home/openerp6/openerp-server-6.0.1/bin/osv/orm.py", line 3605, in create
      cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
    File "/home/openerp6/openerp-server-6.0.1/bin/sql_db.py", line 78, in wrapper
      return f(self, *args, **kwargs)
    File "/home/openerp6/openerp-server-6.0.1/bin/sql_db.py", line 131, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: column "xml_id" of relation "ir_translation" does not exist
  LINE 1: insert into "ir_translation" (id,"lang","src","xml_id","name...





Follow ups

References