c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #11581
[Bug 700770] Re: [6.0 rc2] export translation fails with error
This is the complete Traceback:
Traceback (most recent call last):
File "./openerp-server.py", line 121, in <module>
db,pool = pooler.get_db_and_pool(dbname, update_module=tools.config['init'] or tools.config['update'], pooljobs=False)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 835, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 774, in load_module_graph
modobj.update_translations(cr, 1, [mid], None)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/module/module.py", line 514, in update_translations
tools.trans_load(cr, f, lang, verbose=False, context=context2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/translate.py", line 841, in trans_load
r = trans_load_data(cr, fileobj, fileformat, lang, verbose=verbose, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/translate.py", line 890, in trans_load_data
for row in reader:
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/translate.py", line 317, in next
raise Exception("malformed file: bad line: %s" % line)
Exception: malformed file: bad line: <<<<<<< TREE
--
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/700770
Title:
[6.0 rc2] export translation fails with error
Status in OpenObject Server:
Fix Released
Bug description:
Export translation fails:
[2011-01-09 19:46:16,890][bs_test03_fr] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/module/wizard/base_export_language.py", line 50, in act_getfile
tools.trans_export(this.lang, mods, buf, this.format, dbname=cr.dbname)
TypeError: trans_export() got an unexpected keyword argument 'dbname'
Follow ups
References