[Koha] Empty PDF file when printing labels

Franz Dietrich dietrich at teilgedanken.de
Sat Jul 9 17:26:01 NZST 2022


That is most likely the one... I was checking individual books to check 
it works at all but probably all of them had an encoding issue...

Would there be an error somewhere if it was an encoding issue? I could 
try to fix it even though I do not know any perl.

And thanks for the hint I did not find that bug yet!

Franz Dietrich

Am 08.07.22 um 21:46 schrieb Manos PETRIDIS:
> Might bug 28806 be related?
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28806 
> <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28806>
> 
> 
> Στις Παρ 8 Ιουλ 2022 στις 7:58 πμ ο χρήστης Franz Dietrich 
> <dietrich at teilgedanken.de <mailto:dietrich at teilgedanken.de>> έγραψε:
> 
>     Hi Katrin,
> 
>     Thank you for the hint but if I remember correctly the files really
>     were
>     empty. So no message/content at all.
>     Is there some server side logging that should capture this? If so where
>     do I find this?
> 
>     Thanks again
>     Franz Dietrich
> 
>     Am 07.07.22 um 22:29 schrieb Katrin Fischer:
>      > Hi Franz,
>      >
>      > if you open the file in a text editor instead of the PDF viewer, it
>      > might contain a readable error message.
>      >
>      > Hope this helps,
>      >
>      > Katrin
>      >
>      > On 07.07.22 13:00, Franz Dietrich wrote:
>      >>
>      >> Hey all,
>      >> I can't figure out the problem on my own right now.
>      >>
>      >> Problem:
>      >> Label creator ->manage->label batches->select one->export(full or
>      >> single)->select the options->select PDF
>      >> A PDF-Editor opens but no pdf is shown. If I download the pdf it
>     says
>      >> corrupt (the file is 0 Bytes)
>      >>
>      >> I can't find any logs on the server mentioning an issue. The only
>      >> thing I can find is - which is a 200 Responsecode...:
>      >>
>      >> http://redacted.cloud:80 <http://redacted.cloud:80>
>     http://192.168.20.174 <http://192.168.20.174> - -
>      >> [07/Jul/2022:07:15:01 +0000] "GET
>      >>
>     /cgi-bin/koha/labels/http://label-create-pdf.pl?batch_id=2&template_id=25&layout_id=24&start_label=1
>     <http://label-create-pdf.pl?batch_id=2&template_id=25&layout_id=24&start_label=1>
> 
>      >> HTTP/1.1" 200 308
>      >> "http://redacted.cloud/cgi-bin/koha/labels/label-print.pl
>     <http://redacted.cloud/cgi-bin/koha/labels/label-print.pl>"
>      >> "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
>     Firefox/102.0"
>      >>
>      >> what could be next steps to find the issue?
>      >>
>      >>
>      >>
>      >>
>      >> _______________________________________________
>      >>
>      >> Koha mailing list http://koha-community.org
>     <http://koha-community.org>
>      >> Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
>      >> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>     <https://lists.katipo.co.nz/mailman/listinfo/koha>
>      > _______________________________________________
>      >
>      > Koha mailing list http://koha-community.org
>     <http://koha-community.org>
>      > Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
>      > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>     <https://lists.katipo.co.nz/mailman/listinfo/koha>
>     _______________________________________________
> 
>     Koha mailing list http://koha-community.org <http://koha-community.org>
>     Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
>     Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>     <https://lists.katipo.co.nz/mailman/listinfo/koha>
> 


More information about the Koha mailing list