c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #23070
[Bug 697179] Re: Exception while installing Spanish translation
You have not explained which OpenERP version you use and if you have
installed some non-official modules. Maybe an installed module has a
wrong es.po translation file in i18n folder.
I suggest you to create a new database and try it again with few modules installed and later install all the other modules. Or you can insert a print sentence in the Python file "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/tools/translate.py", line 343, previous the
for t, n, r in tmp_tnrs:
to detect the module causing the problem. Or you can look at the server
logs, maybe you could see the es.po translation causing the problem
before appears the errors you have sent.
BTW, the OpenERP translation system is included in the core of OpenERP,
it is not related to the Spanish localization project, so I close this
bug.
--
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/697179
Title:
Exception while installing Spanish translation
Status in OpenERP Spanish Localization Project:
Invalid
Bug description:
I get the following exception every time I try to install the Spanish
translation:
Traceback (most recent call last):
File "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/addons/base/module/wizard/base_language_install.py", line 51, in lang_install
modobj.update_translations(cr, uid, mids, lang, context or {})
File "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/addons/base/module/module.py", line 514, in update_translations
tools.trans_load(cr.dbname, f, lang, verbose=False, context=context2)
File "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/tools/translate.py", line 838, in trans_load
r = trans_load_data(db_name, fileobj, fileformat, lang, verbose=verbose, context=context)
File "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/tools/translate.py", line 919, in trans_load_data
for row in reader:
File "/home/openerp/openerp6/env/lib/python2.5/site-packages/openerp-server/tools/translate.py", line 343, in next
for t, n, r in tmp_tnrs:
ValueError: need more than 1 value to unpack
References