[Koha] Empty PDF file when printing labels

Franz Dietrich dietrich at teilgedanken.de
Fri Jul 8 16:56:52 NZST 2022


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 at lists.katipo.co.nz
>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> _______________________________________________
> 
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list