Hi Samuele,
Thanks for your information. I will wait for the new release.
Peony

-----Original Message-----
From: Samuele Kaplun [mailto:[email protected]] 
Sent: Monday, February 23, 2009 6:07 PM
To: [email protected]
Cc: [email protected]
Subject: Re: bibindex problem

Dear Tai,

In data Monday 23 February 2009, Tai Lum scribacchiaste dette parole:
> Error: Cannot read
> http://techreports.lib.berkeley.edu/accessPages/CDS-90-607.html:
> <urlopen error (4, 'Interrupted system call')>
> Error: Cannot read
> http://stat-reports.lib.berkeley.edu/accessPages/115.html: <urlopen
> error (4, 'Interrupted system call')>
> Error: Cannot read
> http://techreports.lib.berkeley.edu/accessPages/CDS-93-726.html:
> <urlopen error (4, 'Interrupted system call')>

for this specific error, it might be due to a conflict between BibSched and 
BibIndex when BibIndex is retrieving external URLs. If you're testing CDS 
Invenio 0.99.1 please note that this has been fixed for the up-coming
release 
and that you can patch your installation too in order to fix this bug.

You just need to change a single line in bibtask.py (under /opt/cds-
invenio/lib/python/invenio) with:

@@ -544,7 +544,7 @@ def _task_run(task_run_fnc):
     ## initialize signal handler:
     _task_params['signal_request'] = None
     signal.signal(signal.SIGUSR1, _task_sig_sleep)
-    signal.signal(signal.SIGUSR2, _task_sig_ping)
+    signal.signal(signal.SIGUSR2, signal.SIG_IGN)
     signal.signal(signal.SIGTSTP, _task_sig_ctrlz)
     signal.signal(signal.SIGTERM, _task_sig_stop)
     signal.signal(signal.SIGQUIT, _task_sig_stop)

i.e. to change "signal.signal(signal.SIGUSR2, _task_sig_ping)" into 
"signal.signal(signal.SIGUSR2, signal.SIG_IGN)".

Best regards,
        Samuele

-- 
Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>


Reply via email to