Hi Samuele,
Looking at logs I see the following error:
Exception caught: int() argument must be a string or a number
File "/usr/lib/python2.4/site-packages/invenio/bibrank.py", line 150,
in task_run_core
func_object(key)
File
"/usr/lib/python2.4/site-packages/invenio/bibrank_word_indexer.py", line
1210, in word_similarity
return word_index(run)
File
"/usr/lib/python2.4/site-packages/invenio/bibrank_word_indexer.py", line
759, in word_index
max_recid = int(run_sql("SELECT max(id) FROM bibrec")[0][0])
Any clues?
Many thanks in advance,
Hossein
you wrote:
Dear Hossein,
Il mercoled? dicembre 2008 19:08:31 Hossein Rafighi ha scritto:
Registered exception
2008-12-03 09:56:03 -> StandardError: BibSched had to halt because at least
a task is in status ERROR ({5L: ('bibrank', datetime.datetime(2008, 12, 3,
9, 55, 49), 0)}) or DONE WITH ERRORS ({})
BibSched scheduler stops each time a task fails with an error and communicate
this by raising an exception that is also sent via email to the
administrator. In this case it seems that bibrank task has terminated with an
error. This might be because of various reasons.
For starting you can check the logs of the failed bibrank by e.g. having
launched the bibsched monitor interface, selecting the row corresponding to
the failed bibrank and pressing either "l" for viewing its standard output
or "L" (upper case) to view its standard error.
The same logs are retrievable, in this case, in the files
* /opt/cds-invenio/var/log/bibsched_task_5.log
* /opt/cds-invenio/var/log/bibsched_task_5.err
After you have understood why the error has happened you can either
acknowledge the failed task by pressing "k" in the bibsched monitor interface
or, since bibrank is a task that is usually scheduled regularly (e.g. every 5
minutes or every hour), you can decide to reinitialize it by pressing "i".
Please see also the updated:
<http://cdsdev.cern.ch/help/admin/bibsched-admin-guide>
Best regards,
Samuele
--
_____ _____ _____ _ _ _ _ ____ Hossein Rafighi
|_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall
| | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3
| | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047
| | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074
|_| |_| \_\|_____| \___/ |_| |_||_| Website: http://www.triumf.ca