[Koha-bugs] [Bug 20077] Patroncards are printed blank

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Mar 31 00:32:17 CEST 2018


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

Sven H. <sven.halm at shalm.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sven.halm at shalm.de

--- Comment #3 from Sven H. <sven.halm at shalm.de> ---



I have a similar problem.

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.

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


More information about the Koha-bugs mailing list