[Koha-bugs] [Bug 34587] Add a Usage Statistics module to ERM

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 23 15:20:19 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34587

--- Comment #23 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
(In reply to Matt Blenkinsop from comment #21)
> (In reply to Michaela Sieber from comment #19)
> 
> Hi Michaela, 
> 
> Thanks for testing!
> 
> > Testing results:
> > 
> > -- HARVESTING --
> > 
> > Harvesting of about 190.000 rows for SpringerLink was done with some errors, 
> > e.g.
> > Building the Cycling City could not be processed - please check the logs
> > Statistische Datenanalyse mit SPSS für Windows could not be processed -
> > please check the logs
> > Concise Manual of Hematology and Oncology could not be processed - please
> > check the logs
> 
> The fact that the rest of the titles are harvesting successfully leads me to
> suspect that these failures will be due to the fields in the database not
> being long enough to support the data being harvested. We recently increased
> the size of a number of fields across the different data types but there are
> probably more that need doing. We will investigate this and extend fields
> where appropriate to give some good margin for error when harvesting. 

It appears this was indeed the case, fixed by this commit:
https://github.com/PTFS-Europe/koha/commit/f0608a0dcaa2d5fa0875603d08124fb10bcd2fd6

> > 
> > See
> > http://staff-usagestats.sandboxes.ptfs-europe.co.uk/cgi-bin/koha/admin/
> > background_jobs.pl?op=view&id=40
> > 
> > It would be helpful if you could provide the number of titles successfully
> > added/that could not be processed in the Job report similar to the number of
> > usages added/skipped.
> 
> That can certainly be looked at - we'll add this to the list but this will
> probably follow later after any bug fixes are tackled

This is something that I believe was working before, but got broken when I
moved everything under EUsage and created a new SushiCounter.pm class.
However, I believe this is now fixed, you should see a "Titles added" row now
in the job report if titles, "Databases" for databases, etc. Fixed by this
commit:
https://github.com/PTFS-Europe/koha/commit/42fad0948a1318d254e7133925b3121f246a8788

@Michaela would you kindly test again and verify for yourself? Particularly the
190.000 rows provider if possible.
Your sign-off here would be very much appreciated, as others of course.

We've provisioned a new sandbox at:
http://staff-sushi.sandboxes.ptfs-europe.co.uk/

With the most up to date code from:
https://github.com/PTFS-Europe/koha/commits/bug_34587

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list