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://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/1.1" 200 308 "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?
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://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/1.1" 200 308 "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 Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
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://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/1.1" 200 308 "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 Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Might bug 28806 be related? https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28806 Στις Παρ 8 Ιουλ 2022 στις 7:58 πμ ο χρήστης Franz Dietrich < dietrich@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://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/1.1" 200 308 "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 Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
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@teilgedanken.de <mailto:dietrich@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@lists.katipo.co.nz <mailto:Koha@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@lists.katipo.co.nz <mailto:Koha@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@lists.katipo.co.nz <mailto:Koha@lists.katipo.co.nz> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha <https://lists.katipo.co.nz/mailman/listinfo/koha>
You’re welcome, funny thing is quick (spine/ridge) labels print fine for those same items. Apparently there are different approaches between the two print procedures. MP Στις Σάβ 9 Ιουλ 2022 στις 8:26 πμ ο χρήστης Franz Dietrich < dietrich@teilgedanken.de> έγραψε:
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@teilgedanken.de <mailto:dietrich@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@lists.katipo.co.nz <mailto:Koha@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@lists.katipo.co.nz <mailto:Koha@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@lists.katipo.co.nz <mailto:Koha@lists.katipo.co.nz> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha <https://lists.katipo.co.nz/mailman/listinfo/koha>
Hi. I am experiencing this problem when I try to print a single label and I reported a bug: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29994 When I add another label and export the label batch, everything works. Maybe this is the case with you too? Best regards Isabel -----Mensaje original----- De: Koha <koha-bounces@lists.katipo.co.nz> En nombre de Franz Dietrich Enviado el: jueves, 7 de julio de 2022 05:00 Para: Comunidad Koha (koha@lists.katipo.co.nz) <koha@lists.katipo.co.nz> Asunto: [Koha] Empty PDF file when printing labels 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://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/1.1" 200 308 "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 Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hello all, I just tried this in 22.05 and master and I was able to reproduce the problem. For me, it seems to only occur if you click on the 'Export' button in the table. The two other buttons ('Export full batch' and 'Export selected items') worked well for me even if there was only one label in the batch. I added the test plan in Isabel's bug report. I wasn't able to reproduce Franz's problem, however, which seems to be happening with all buttons. Caroline On 2022-07-12 11:05, Isabel Pineda wrote:
Hi. I am experiencing this problem when I try to print a single label and I reported a bug:https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29994 When I add another label and export the label batch, everything works. Maybe this is the case with you too?
Best regards Isabel
-----Mensaje original----- De: Koha<koha-bounces@lists.katipo.co.nz> En nombre de Franz Dietrich Enviado el: jueves, 7 de julio de 2022 05:00 Para: Comunidad Koha (koha@lists.katipo.co.nz)<koha@lists.katipo.co.nz> Asunto: [Koha] Empty PDF file when printing labels
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://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/1.1" 200 308"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 listhttp://koha-community.org Koha@lists.katipo.co.nz Unsubscribe:https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________
Koha mailing listhttp://koha-community.org Koha@lists.katipo.co.nz Unsubscribe:https://lists.katipo.co.nz/mailman/listinfo/koha Caroline Cyr La Rose, M.L.I.S. Librarian | Product Manager
Phone: 1-833-465-4276, ext. 221 Caroline.Cyr-La-Rose@inLibro.com <mailto:caroline.cyr-la-rose@inLibro.com> INLiBRO | Document Technologies Specialists | www.inLibro.com <http://www.inLibro.com>
participants (5)
-
Caroline Cyr La Rose -
Franz Dietrich -
Isabel Pineda -
Katrin Fischer -
Manos PETRIDIS