← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 680326] Re: IndexError: list index out of range

 

Is there anyway that I can enable a more detailed trace to identify
which file is being read when error happens?

-- 
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