[Koha] Empty PDF file when printing labels

Caroline Cyr La Rose caroline.cyr-la-rose at inlibro.com
Wed Jul 13 04:27:29 NZST 2022


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 at lists.katipo.co.nz>  En nombre de Franz Dietrich
> Enviado el: jueves, 7 de julio de 2022 05:00
> Para: Comunidad Koha (koha at lists.katipo.co.nz)<koha at 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 at lists.katipo.co.nz
> Unsubscribe:https://lists.katipo.co.nz/mailman/listinfo/koha
> _______________________________________________
>
> Koha mailing listhttp://koha-community.org
> Koha at 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 at inLibro.com <mailto:caroline.cyr-la-rose at inLibro.com>

INLiBRO | Document Technologies Specialists | www.inLibro.com 
<http://www.inLibro.com>


More information about the Koha mailing list