c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05359
Re: [Bug 680326] Re: IndexError: list index out of range
On Tuesday 23 November 2010, you wrote:
> Indeed I have links in extra-addons. How do I identify the incompatible
> modules and provide fix? I need some modules in extra-addons for
> operations.
I'm afraid it is not about having "addons" or "extra-addons" in your
paths.
The backtrace you sent suggests that somewhere in the po files you are trying
to import there is an incomplete "res_id:" comment like:
# res_id:id_without_module
With current code, all "res_id" references have to be in the "module.xml_id"
format, with a dot.
Please examine those po files you have, and if they are not your fault
(=changed by you), please report back to us to fix them.
--
Say NO to spam and viruses. Stop using Microsoft Windows!
--
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: Invalid
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