https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36013 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |magnus@libriotech.no --- Comment #3 from Magnus Enger <magnus@libriotech.no> --- I had a problem where a bad record would stop the script from completing: $ misc/cronjobs/update_totalissues.pl --use-stats --commit=1000 -v Processing bib 1 (0 issues) Processing bib 2 (0 issues) Processing bib 3 (0 issues) ... Processing bib 368 (0 issues) Processing bib 369 (0 issues) :8: parser error : PCDATA invalid Char value 31 <controlfield tag="001">00aD000015937</controlfield> ^ :9: parser error : PCDATA invalid Char value 31 <controlfield tag="004">00satmrnu0</controlfield> ^ :9: parser error : PCDATA invalid Char value 31 <controlfield tag="004">00satmrnu0</controlfield> ^ :9: parser error : PCDATA invalid Char value 31 <controlfield tag="004">00satmrnu0</controlfield> ^ :9: parser error : PCDATA invalid Char value 31 <controlfield tag="004">00satmrnu0</controlfield> ^ :10: parser error : PCDATA invalid Char value 31 <controlfield tag="008">00ar19881981bdkldan</controlfield> After deleting that record the script runs as it should: ... Processing bib 437 (0 issues) Processing bib 438 (0 issues) Update total issues count script report ======================================================= Run started at: 03/08/24 11:48:53 Run ended at: 03/08/24 11:48:57 Total run time: 4751 ms Number of bibs modified: 435 Number of bibs with error: 0 After this the cataloguing log shows one entry per record, so that will quickley amount to a lot of unnecessary data! -- You are receiving this mail because: You are watching all bug changes.