c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05844
[Bug 680326] Re: IndexError: list index out of range
This error also happens when loading vi_VN after an initial DB creation
(without configuration steps)
Environment Information :
System : Linux-2.6.32-26-generic-x86_64-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 : #47-Ubuntu SMP Wed Nov 17 15:58:05 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : en_AU.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1696 launchpad_translations_on_behalf_of_openerp-20101125045234-dzsxzv005sfk59ze
Traceback (most recent call last):
File "/var/local/software/openerp-v6.0dev/openobject-server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/var/local/software/openerp-v6.0dev/openobject-server/bin/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/var/local/software/openerp-v6.0dev/openobject-server/bin/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/var/local/software/openerp-v6.0dev/openobject-server/bin/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/var/local/software/openerp-v6.0dev/openobject-server/bin/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/var/local/software/openerp-v6.0dev/openobject-server/bin/addons/base/module/wizard/base_language_install.py", line 49, in lang_install
modobj.update_translations(cr, uid, mids, lang, context or {})
File "/var/local/software/openerp-v6.0dev/openobject-server/bin/addons/base/module/module.py", line 471, in update_translations
tools.trans_load(cr.dbname, f, lang, verbose=False, context=context)
File "/var/local/software/openerp-v6.0dev/openobject-server/bin/tools/translate.py", line 729, in trans_load
else:
File "/var/local/software/openerp-v6.0dev/openobject-server/bin/tools/translate.py", line 828, in trans_load_data
elif fileformat == 'po':
IndexError: list index out of range
--
IndexError: list index out of range
https://bugs.launchpad.net/bugs/680326
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Confirmed
Bug description:
Cannot create a new DB with revno: 3032
[2010-11-23 08:05:10,157][hotel] INFO:init:[01]: Assertions report:
[2010-11-23 08:05:10,157][hotel] INFO:init:[02]: Level success failed
[2010-11-23 08:05:10,157][hotel] INFO:init:[03]: error 1 0
[2010-11-23 08:05:10,157][hotel] INFO:init:[04]: total 1 0
[2010-11-23 08:05:10,157][hotel] INFO:init:[05]: end of report (1 assertion(s) checked)
[2010-11-23 08:05:10,169][hotel] INFO:i18n:module base: loading translation file for language vi
[2010-11-23 08:05:30,658][hotel] ERROR:web-services:[01]: CREATE DATABASE
[2010-11-23 08:05:30,658][hotel] ERROR:web-services:[02]: Traceback (most recent call last):
[2010-11-23 08:05:30,658][hotel] ERROR:web-services:[03]: File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/service/web_services.py", line 106, in __call__
[2010-11-23 08:05:30,659][hotel] ERROR:web-services:[04]: modobj.update_translations(cr, 1, mids, lang)
[2010-11-23 08:05:30,659][hotel] ERROR:web-services:[05]: File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/base/module/module.py", line 471, in update_translations
[2010-11-23 08:05:30,659][hotel] ERROR:web-services:[06]: tools.trans_load(cr.dbname, f, lang, verbose=False, context=context)
[2010-11-23 08:05:30,660][hotel] ERROR:web-services:[07]: File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/tools/translate.py", line 758, in trans_load
[2010-11-23 08:05:30,660][hotel] ERROR:web-services:[08]: r = trans_load_data(db_name, fileobj, fileformat, lang, strict=strict, verbose=verbose, context=context)
[2010-11-23 08:05:30,660][hotel] ERROR:web-services:[09]: File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/tools/translate.py", line 857, in trans_load_data
[2010-11-23 08:05:30,661][hotel] ERROR:web-services:[10]: ('name', '=', dic['res_id'].split('.', 1)[1]),
[2010-11-23 08:05:30,661][hotel] ERROR:web-services:[11]: IndexError: list index out of range
[2010-11-23 08:05:31,133][?] DEBUG:web-services:netrpc: rpc-dispatching exception
Traceback (most recent call last):
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/service/netrpc_server.py", line 70, in run
result = self.dispatch(msg[0], msg[1], msg[2:])
File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/netsvc.py", line 499, in dispatch
raise OpenERPDispatcherException(e, tb_s)
OpenERPDispatcherException
phongnt@phongnt-laptop:~/Documents/Projects/openerp-trunk/server$ bzr log -l 1 -v
------------------------------------------------------------
revno: 3032
committer: Launchpad Translations on behalf of openerp
branch nick: openobject-server
timestamp: Mon 2010-11-22 04:49:56 +0000
message:
Launchpad automatic translations update.
modified:
bin/addons/base/i18n/af.po
bin/addons/base/i18n/pl.po
References