[Koha-devel] Printing patron cards results in 100% cpu
Sven Halm
sven.halm at shalm.de
Sun Apr 1 21:43:01 CEST 2018
Hello and happy Easter!
I have a problem with the patronage card printing. I also described the problem in Bug 20077. I got a tip from Katrin to try the mailing list.
When I try to print the patron cards, the /usr/share/koha/intranet/cgi-bin/patroncards/create-pdf.pl does not finish and runs with 100% CPU load.
In plack-error.log I find the following lines:
Use of uninitialized value $batch_id in concatenation (.) or string at /usr/share/koha/intranet/cgi-bin/patroncards/create-pdf.pl line 68.
Use of uninitialized value in multiplication (*) at /usr/share/koha/lib/C4/Patroncards/Patroncard.pm line 239.
Use of uninitialized value in addition (+) at /usr/share/koha/lib/C4/Patroncards/Patroncard.pm line 256.
Use of uninitialized value in multiplication (*) at /usr/share/koha/lib/C4/Patroncards/Patroncard.pm line 288.
Use of uninitialized value in multiplication (*) at /usr/share/koha/lib/C4/Patroncards/Patroncard.pm line 239.
Use of uninitialized value in addition (+) at /usr/share/koha/lib/C4/Patroncards/Patroncard.pm line 256.
Use of uninitialized value in multiplication (*) at /usr/share/koha/lib/C4/Patroncards/Patroncard.pm line 288.
Use of uninitialized value in multiplication (*) at /usr/share/koha/lib/C4/Patroncards/Patroncard.pm line 239.
Use of uninitialized value in addition (+) at /usr/share/koha/lib/C4/Patroncards/Patroncard.pm line 256.
The problem first appeared in February 2018 after I started the Ubuntu updates. Unfortunately I don't remember what has been updated.
Current system environment (no changes made to koha!):
OS: Ubuntu 17.10
Koha-Version:
17.11.04.000
OS Version ('uname -a'):
Linux koha 4.13.0-37-generic #42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018 x86_64
Perl Interpreter:
/usr/bin/perl
Perl-Version:
5.026000
Perl @INC:
/usr/share/koha/lib
/usr/share/koha/installer
/usr/share/koha/lib/installer
/etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.26.0
/usr/local/share/perl/5.26.0
/usr/lib/x86_64-linux-gnu/perl5/5.26
/usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.26
/usr/share/perl/5.26
/usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base
MySQL-Version:
mysql Ver 15.1 Distrib 10.1.30-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Apache-Version:
Server version: Apache/2.4.27 (Ubuntu)
Unfortunately I am not able to print patron cards at the moment. It would be great if there was a solution for this soon.
Many greetings
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180401/ccc82d76/attachment.html>
More information about the Koha-devel
mailing list