c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05753
Re: [Bug 680909] Re: [6.0RC1] IndexError: list index out of range
On Wednesday 24 November 2010, you wrote:
> ** Tags added: trunk
>
> ** Tags added: 6.0
Cannor reproduce it so far.
This must be the same kind of error as in bug [Bug 680326], reported
yesterday.
I strongly suspect that we have slipped some bad "res_id" in some
translation(s). However, we need not waste time on it, as the coming commits
on the trunk server (3ad86b790532) will contain a log of the translation file
being processed. Then, it will be very easy to spot the defective .po file and
examine why this has happened.
And, *after* we learn why the "res_id" had been bad, I will also pick a patch
(479a5ab9ddf42f) that will tolerate them in the future.
--
[6.0RC1] IndexError: list index out of range
https://bugs.launchpad.net/bugs/680909
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:
When I create a new databse in the latest trunk (rev 3035), I got an error in the client telling me that the database could not be created. Server output :
[2010-11-24 13:46:37,024][proutlol] INFO:init:module base_setup: loading base_setup_todo.xml
[2010-11-24 13:46:37,199][proutlol] INFO:init:[01]: Assertions report:
[2010-11-24 13:46:37,200][proutlol] INFO:init:[02]: Level success failed
[2010-11-24 13:46:37,200][proutlol] INFO:init:[03]: error 1 0
[2010-11-24 13:46:37,200][proutlol] INFO:init:[04]: total 1 0
[2010-11-24 13:46:37,200][proutlol] INFO:init:[05]: end of report (1 assertion(s) checked)
[2010-11-24 13:46:37,222][proutlol] INFO:i18n:module base: loading translation file for language fr
[2010-11-24 13:46:49,661][proutlol] ERROR:web-services:[01]: CREATE DATABASE
[2010-11-24 13:46:49,661][proutlol] ERROR:web-services:[02]: Traceback (most recent call last):
[2010-11-24 13:46:49,661][proutlol] ERROR:web-services:[03]: File "/home/thibaut/Programmation/OpenERP6/server/bin/service/web_services.py", line 106, in __call__
[2010-11-24 13:46:49,662][proutlol] ERROR:web-services:[04]: modobj.update_translations(cr, 1, mids, lang)
[2010-11-24 13:46:49,662][proutlol] ERROR:web-services:[05]: File "/home/thibaut/Programmation/OpenERP6/server/bin/addons/base/module/module.py", line 471, in update_translations
[2010-11-24 13:46:49,662][proutlol] ERROR:web-services:[06]: tools.trans_load(cr.dbname, f, lang, verbose=False, context=context)
[2010-11-24 13:46:49,662][proutlol] ERROR:web-services:[07]: File "/home/thibaut/Programmation/OpenERP6/server/bin/tools/translate.py", line 758, in trans_load
[2010-11-24 13:46:49,662][proutlol] ERROR:web-services:[08]: r = trans_load_data(db_name, fileobj, fileformat, lang, strict=strict, verbose=verbose, context=context)
[2010-11-24 13:46:49,662][proutlol] ERROR:web-services:[09]: File "/home/thibaut/Programmation/OpenERP6/server/bin/tools/translate.py", line 857, in trans_load_data
[2010-11-24 13:46:49,662][proutlol] ERROR:web-services:[10]: ('name', '=', dic['res_id'].split('.', 1)[1]),
[2010-11-24 13:46:49,663][proutlol] ERROR:web-services:[11]: IndexError: list index out of range
References