<div dir="ltr">I'm not sure what is going on in this particular instance, but taking the same steps on my production system results in a PDF containing the expected cards and nearly zero CPU usage.<br><br>Unless someone else can confirm the problem, I would look at something local. Perhaps a Koha update did not apply well or some such, resulting in a script not being updated.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 1, 2018 at 5:22 PM, Sven Halm <span dir="ltr"><<a href="mailto:sven.halm@shalm.de" target="_blank">sven.halm@shalm.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:georgia,serif;font-size:12pt;color:#000000"><div><div>I've always gone the following way:</div><div><br></div><div>Tools/Patron lists/Actions/Print cartridge cards</div><div><br></div><div>Then I choose the template and layout and that's it. As soon as I click on the pdf-link, the CPU goes up.</div><div><br></div><div>I'll attach some screenshots to the e-mail.</div><div><br></div><div>Many greetings</div><div>Sven</div></div><br><hr id="m_-1701767951684385201zwchr"><div><b>Von: </b>"Christopher Nighswonger" <<a href="mailto:chris.nighswonger@gmail.com" target="_blank">chris.nighswonger@gmail.com</a>><br><b>An: </b>"Sven Halm" <<a href="mailto:sven.halm@shalm.de" target="_blank">sven.halm@shalm.de</a>><br><b>Gesendet: </b>Sonntag, 1. April 2018 22:35:51<br><b>Betreff: </b>Re: [Koha-devel] Printing patron cards results in 100% cpu<br></div><div><div class="h5"><br><div><div dir="auto">It appears that no batch is passed to the script. How are you accessing it?<div dir="auto"><br></div><div dir="auto">Chris</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Apr 1, 2018, 3:43 PM Sven Halm <<a href="mailto:sven.halm@shalm.de" target="_blank">sven.halm@shalm.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:georgia,serif;font-size:12pt;color:#000000"><div><div>Hello and happy Easter!</div><br><div>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.</div><br><div>When I try to print the patron cards, the /usr/share/koha/intranet/cgi-<wbr>bin/patroncards/<a href="http://create-pdf.pl" rel="noreferrer" target="_blank">create-pdf.pl</a> does not finish and runs with 100% CPU load.</div><br><div>In plack-error.log I find the following lines:</div><div>Use of uninitialized value $batch_id in concatenation (.) or string at /usr/share/koha/intranet/cgi-<wbr>bin/patroncards/<a href="http://create-pdf.pl" rel="noreferrer" target="_blank">create-pdf.pl</a> line 68.</div><div>Use of uninitialized value in multiplication (*) at /usr/share/koha/lib/C4/<wbr>Patroncards/Patroncard.pm line 239.</div><div>Use of uninitialized value in addition (+) at /usr/share/koha/lib/C4/<wbr>Patroncards/Patroncard.pm line 256.</div><div>Use of uninitialized value in multiplication (*) at /usr/share/koha/lib/C4/<wbr>Patroncards/Patroncard.pm line 288.</div><div>Use of uninitialized value in multiplication (*) at /usr/share/koha/lib/C4/<wbr>Patroncards/Patroncard.pm line 239.</div><div>Use of uninitialized value in addition (+) at /usr/share/koha/lib/C4/<wbr>Patroncards/Patroncard.pm line 256.</div><div>Use of uninitialized value in multiplication (*) at /usr/share/koha/lib/C4/<wbr>Patroncards/Patroncard.pm line 288.</div><div>Use of uninitialized value in multiplication (*) at /usr/share/koha/lib/C4/<wbr>Patroncards/Patroncard.pm line 239.</div><div>Use of uninitialized value in addition (+) at /usr/share/koha/lib/C4/<wbr>Patroncards/Patroncard.pm line 256.</div><br><div>The problem first appeared in February 2018 after I started the Ubuntu updates. Unfortunately I don't remember what has been updated.</div><br><div>Current system environment (no changes made to koha!):</div><div>OS: Ubuntu 17.10</div><div>Koha-Version: </div><div>17.11.04.000</div><div>OS Version ('uname -a'): </div><div>Linux koha 4.13.0-37-generic #42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018 x86_64</div><div>Perl Interpreter: </div><div>/usr/bin/perl</div><div>Perl-Version: </div><div>5.026000</div><div>Perl @INC: </div><div>/usr/share/koha/lib </div><div>/usr/share/koha/installer </div><div>/usr/share/koha/lib/installer </div><div>/etc/perl </div><div>/usr/local/lib/x86_64-linux-<wbr>gnu/perl/5.26.0 </div><div>/usr/local/share/perl/5.26.0 </div><div>/usr/lib/x86_64-linux-gnu/<wbr>perl5/5.26 </div><div>/usr/share/perl5 </div><div>/usr/lib/x86_64-linux-gnu/<wbr>perl/5.26 </div><div>/usr/share/perl/5.26 </div><div>/usr/local/lib/site_perl </div><div>/usr/lib/x86_64-linux-gnu/<wbr>perl-base </div><div>MySQL-Version: </div><div>mysql Ver 15.1 Distrib 10.1.30-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 </div><div>Apache-Version: </div><div>Server version: Apache/2.4.27 (Ubuntu) </div><br><br><div>Unfortunately I am not able to print patron cards at the moment. It would be great if there was a solution for this soon.</div><br><div>Many greetings</div><div>Sven</div><br></div></div></div>______________________________<wbr>_________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" rel="noreferrer" target="_blank">Koha-devel@lists.koha-<wbr>community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer noreferrer" target="_blank">http://lists.koha-community.<wbr>org/cgi-bin/mailman/listinfo/<wbr>koha-devel</a><br>
website : <a href="http://www.koha-community.org/" rel="noreferrer noreferrer" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" rel="noreferrer noreferrer" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" rel="noreferrer noreferrer" target="_blank">http://bugs.koha-community.<wbr>org/</a></blockquote></div><br></div></div></div></div></div></blockquote></div><br></div>