Hi, I get this error since updating to git head version from 2014-03-02: > Von: [email protected] > Betreff: Exception (bibindex_engine_utils.py:194:filter_for_virtual_indexes) > at http://invenio.cerebrale.net > Datum: 2. März 2014 20:06:59 GMT+6 > An: [email protected] > > Hello: > > It is the first time this exception has been seen. > > > * 2014-03-02 15:06:59 -> IndexError: list index out of range > (bibindex_engine_utils.py:194:filter_for_virtual_indexes) > > ** User details > No client information available > > ** Traceback details > > Traceback (most recent call last): > File "/usr/local/lib/python2.6/dist-packages/invenio/bibtask.py", line 606, > in task_init > ret = _task_run(task_run_fnc) > File "/usr/local/lib/python2.6/dist-packages/invenio/bibtask.py", line 1146, > in _task_run > if callable(task_run_fnc) and task_run_fnc(): > File "/usr/local/lib/python2.6/dist-packages/invenio/bibindex_engine.py", > line 2070, in task_run_core > virtual_indexes = filter_for_virtual_indexes(indexes) > File > "/usr/local/lib/python2.6/dist-packages/invenio/bibindex_engine_utils.py", > line 194, in filter_for_virtual_indexes > virtual = zip(*get_all_virtual_indexes())[1] > IndexError: list index out of range > > ** Stack frame details > > Frame filter_for_virtual_indexes in > /usr/local/lib/python2.6/dist-packages/invenio/bibindex_engine_utils.py at > line 198 > ------------------------------------------------------------------------------- > 195 selected = set(virtual) & set(index_list) > 196 return list(selected) > 197 except KeyError: > ----> 198 return [] > 199 return [] > 200 > 201 def get_virtual_index_building_blocks(index_id): > ------------------------------------------------------------------------------- > index_list = "['abstract', 'affiliation', 'author', > 'authorcount', 'caption', 'collaboration', 'collection', 'exactauthor', > 'exactfirstauthor', 'exacttitle', 'firstauthor', 'fulltext', 'global', > 'journal', 'keyword', 'reference', 'reportnumber', 'title', 'year']" > > Frame task_run_core in > /usr/local/lib/python2.6/dist-packages/invenio/bibindex_engine.py at line 2070 > ------------------------------------------------------------------------------- > 2067 if len(indexes) == 0: > 2068 write_message("Specified indexes can't be found.") > 2069 return True > ----> 2070 virtual_indexes = filter_for_virtual_indexes(indexes) > 2071 regular_indexes = list(set(indexes) - set(virtual_indexes)) > 2072 > 2073 > ------------------------------------------------------------------------------- > indexes = "['abstract', 'affiliation', 'author', > 'authorcount', 'caption', 'collaboration', 'collection', 'exactauthor', > 'exactfirstauthor', 'exacttitle', 'firstauthor', 'fulltext', 'global', > 'journal', 'keyword', 'reference', 'reportnumber', 'title', 'year']" > > Frame _task_run in /usr/local/lib/python2.6/dist-packages/invenio/bibtask.py > at line 1182 > ------------------------------------------------------------------------------- > 1179 ## we are done: > 1180 write_message("Task #%d finished. [%s]" % > (_TASK_PARAMS['task_id'], task_status)) > 1181 ## Removing the pid > ----> 1182 os.remove(pidfile_name) > 1183 > 1184 #Lets call the post-process tasklets > 1185 if task_get_task_param("post-process"): > ------------------------------------------------------------------------------- > task_run_fnc = '<function task_run_core at 0xdf2b500>' > _TASKLETS = '<invenio.pluginutils.PluginContainer object at > 0xdf25f90>' > sleeptime = "'5m'" > argv = "['/opt/invenio/bin/bibindex', '-f50000', > '-s5m']" > pidfile_name = "'/opt/invenio/var/run/bibsched_task_120.pid'" > host = "'manat.fiee.net'" > verbose_argv = '"Will execute: \'/opt/invenio/bin/bibindex\' > \'-f50000\' \'-s5m\'"' > time_now = 'datetime.datetime(2014, 3, 2, 15, 6, 59, > 476795)' > arg = "'-s5m'" > task_status = "'RUNNING'" > new_runtime = "'2014-03-02 15:11:59'" > pidfile = "<closed file > '/opt/invenio/var/run/bibsched_task_120.pid', mode 'w' at 0xdcd41e0>" > > Frame task_init in /usr/local/lib/python2.6/dist-packages/invenio/bibtask.py > at line 615 > ------------------------------------------------------------------------------- > 612 # an error traceback > 613 if isinstance(e, SystemExit) and e.code == 0: > 614 raise > ----> 615 register_exception(alert_admin=True) > 616 write_message("Unexpected error occurred: %s." % e, > sys.stderr) > 617 write_message("Traceback is:", sys.stderr) > 618 > write_messages(''.join(traceback.format_tb(sys.exc_info()[2])), sys.stderr) > ------------------------------------------------------------------------------- > task_stop_helper_fnc = '<function task_stop_table_close_fnc at > 0xdf2b140>' > task_submit_check_options_fnc = '<function task_submit_check_options > at 0xdf2b050>' > e = "IndexError('list index out of range',)" > wrap_warn = '<function wrap_warn at 0xc910c80>' > help_specific_usage = "' Indexing options:\\n -a, --add\\t\\tadd or > update words for selected records\\n -d, --del\\t\\tdelete words for > selected records\\n -i, --id=low[-high]\\t\\tselect according to doc > recID\\n -m, --modified=from[,to]\\tselect according to modification date\\n > -c, --collection=c1[,c2]\\tselect according to collection\\n -R, > --reindex\\treindex the selected indexes from scratch\\n\\n Repairing > options:\\n -k, --check\\t\\tcheck consistency for all records in the > table(s)\\n -r, --repair\\ [...] > to_be_submitted = 'False' > version = "'$Id$'" > argv = "['/opt/invenio/bin/bibindex', '-f50000', > '-s5m']" > specific_params = "('adi:m:c:w:krRM:f:oZ:', ['add', 'del', 'id=', > 'modified=', 'collection=', 'windex=', 'check', 'repair', 'reindex', > 'maxmem=', 'flush=', 'force', 'remove-dependent-index='])" > task_run_fnc = '<function task_run_core at 0xdf2b500>' > params = "{'sleeptime': '5m'}" > task_submit_elaborate_specific_parameter_fnc = '<function > task_submit_elaborate_specific_parameter at 0xdf2b0c8>' > task_name = "'bibindex'" > authorization_action = "'runbibindex'" > authorization_msg = "'BibIndex Task Submission'" > description = "'Examples:\\n\\t/opt/invenio/bin/bibindex -a > -i 234-250,293,300-500 -u admin@localhost\\n\\t/opt/invenio/bin/bibindex -a > -w author,fulltext -M 8192 -v3\\n \\t/opt/invenio/bin/bibindex -d > -m +4d -A on --flush=10000\\n'"
Greetlings, Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer)

