Exception in bibrank (citerank_citation_t) with empty citations table

2013-11-11 Thread Theodoros Theodoropoulos
Hello everyone, It seems that when there are no citations in a site's records, the bibrank job (more specifically the citerank_citation_t method) produces an exception and the whole bibrank job stops. This is part of the relevant log: 2013-11-12 08:11:49 --> size of reversedict 10 2013-11-12 08

Re: Error when reverting a deleted record from Bibedit (gui)

2013-11-11 Thread Javier Martin Montull
Hi Theodoros, This was fixed in the following commit, yet to be merged, you can apply the patch. http://invenio-software.org/repo/invenio-inspire-ops/commit/?h=prod&id=ef24cf657ebc4a18d8a14074105e10b01a4b05c0 Cheers On Nov 11, 2013, at 2:48 PM, Theodoros Theodoropoulos mailto:th...@physics.au

Error when reverting a deleted record from Bibedit (gui)

2013-11-11 Thread Theodoros Theodoropoulos
In bibedit, i tried to revert back a DELETED record and got the following error: 2013-11-11 15:07:57 --> Task #131 started. 2013-11-11 15:07:57 --> Input file '/opt/invenio/var/tmp-shared/bibedit-cache/bibedit_record_2_1.xml', input mode 'replace'. 2013-11-11 15:07:57 --> -ERROR: Missing

Re: "argument of type 'NoneType' is not iterable" for filetype/itemcount indexes and deleted records [SOLVED]

2013-11-11 Thread Theodoros Theodoropoulos
Thanks Esteban, with the patch the [re]indexing works :) Cheers, Theodoros On 11/11/2013 3:23 μμ, Esteban J. G. Gabancho wrote: I was able to reproduce the error in my machine I found what was cousing it, I atach you a very little patch. Once you apply it could you please run: inveniocfg --l

Re: "argument of type 'NoneType' is not iterable" for filetype/itemcount indexes and deleted records

2013-11-11 Thread Esteban J. G. Gabancho
On 11/11/2013 01:50 PM, Theodoros Theodoropoulos wrote: Hello Esteban, On 11/11/2013 2:48 μμ, Esteban J. G. Gabancho wrote: This is happening because this is a virtual field that is not comming from marc directly. Running inveniocfg --load-bibfield-conf should solve the problem. Well, unfortu

Re: "argument of type 'NoneType' is not iterable" for filetype/itemcount indexes and deleted records

2013-11-11 Thread Theodoros Theodoropoulos
Hello Esteban, On 11/11/2013 2:48 μμ, Esteban J. G. Gabancho wrote: This is happening because this is a virtual field that is not comming from marc directly. Running inveniocfg --load-bibfield-conf should solve the problem. Well, unfortunately it doesn't :( I even tried truncating PAIR/WORD/

Re: "argument of type 'NoneType' is not iterable" for filetype/itemcount indexes and deleted records

2013-11-11 Thread Esteban J. G. Gabancho
Hi Theodoros, On 11/11/2013 01:38 PM, Theodoros Theodoropoulos wrote: Hello all, I recently deleted the demo records in a demo site (running latest master) by replacing all 113 demo records with an empty xml containing only 001 and 980__c:DELETED. For this, I used bibupload -r and everything se

"argument of type 'NoneType' is not iterable" for filetype/itemcount indexes and deleted records

2013-11-11 Thread Theodoros Theodoropoulos
Hello all, I recently deleted the demo records in a demo site (running latest master) by replacing all 113 demo records with an empty xml containing only 001 and 980__c:DELETED. For this, I used bibupload -r and everything seemed fine. But when I tried running: sudo -u apache /opt/invenio/bin/b

Re: Invenio Developer Forum - JavaScript toolkit & frameworks - today at 16:45 CET

2013-11-11 Thread Alexander Wagner
On 11.11.2013 09:49, Tibor Simko wrote: Hi! As usual 16:45 is not possible for me. Anyway some small input from HGF... In http://invenio-software.org/wiki/Talk/UIFrameworks you mention about jQueryUI that Invenio doesn't use it "too much" but you seem (to my reading) generally quite open to dro

Invenio Developer Forum - JavaScript toolkit & frameworks - today at 16:45 CET

2013-11-11 Thread Tibor Simko
Hello: The next Invenio Developer Forum will take place today at 16:45 CET in (i) CERN room 31-S-023 and in (ii) Vidyo videoconferencing room at: https://vidyoportal.cern.ch/flex.html?roomdirect.html&key=ygjcGzMEk8re Today, Harris will present his JavaScript toolkit and plugins motivated by C