[Koha-bugs] [Bug 10828] New: Label creator returns empty pdf, xml or csv file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 5 16:25:32 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10828

            Bug ID: 10828
           Summary: Label creator returns empty pdf, xml or csv file
 Change sponsored?: ---
           Product: Koha
           Version: 3.12
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Label printing
          Assignee: cnighswonger at foundations.edu
          Reporter: pedro.m.ferreira at mail.cm-portel.pt
        QA Contact: testopia at bugs.koha-community.org

In "LABEL CREATOR" i choose "NEW BATCH" then "ADD ITEM(S)".
In "Search for items to add to Batch ", i can sucessfully search for an item
and then i can select it to add to the batch. 

I click the "EXPORT BATCH", and then i select the template and the layout. It
is from this point that i detect some problems.

When i choose the "Download as PDF" I always get an empty PDF FILE. No labels
are created

In the error log from apache i have the following messages


[Thu Sep 05 15:23:43 2013] [error] [client 213.228.143.2] [Thu Sep  5 15:23:43
2013] label-create-pdf.pl: "my" variable $template masks earlier declaration in
same scope at /var/www/koha3.12/intranet/cgi-bin/labels/label-create-pdf.pl
line 63., referer:
http://catalogobib.cm-portel.pt:82/cgi-bin/koha/labels/label-print.pl

[Thu Sep 05 15:23:43 2013] [error] [client 213.228.143.2] [Thu Sep  5 15:23:43
2013] label-create-pdf.pl: regexp failed to match string:  at
/var/www/koha3.12/lib/C4/Labels/Label.pm line 138., referer:
http://catalogobib.cm-portel.pt:82/cgi-bin/koha/labels/label-print.pl

[Thu Sep 05 15:23:43 2013] [error] [client 213.228.143.2] [Thu Sep  5 15:23:43
2013] label-create-pdf.pl: Use of uninitialized value $parts[-1] in pattern
match (m//) at /var/www/koha3.12/lib/C4/Labels/Label.pm line 160., referer:
http://catalogobib.cm-portel.pt:82/cgi-bin/koha/labels/label-print.pl

[Thu Sep 05 15:23:43 2013] [error] [client 213.228.143.2] [Thu Sep  5 15:23:43
2013] label-create-pdf.pl: Use of uninitialized value $parts[-1] in pattern
match (m//) at /var/www/koha3.12/lib/C4/Labels/Label.pm line 160., referer:
http://catalogobib.cm-portel.pt:82/cgi-bin/koha/labels/label-print.pl

[Thu Sep 05 15:23:43 2013] [error] [client 213.228.143.2] [Thu Sep  5 15:23:43
2013] label-create-pdf.pl: regexp failed to match string:  at
/var/www/koha3.12/lib/C4/Labels/Label.pm line 165., referer:
http://catalogobib.cm-portel.pt:82/cgi-bin/koha/labels/label-print.pl


I Have KOHA 3.12 and i migrate the Database from version 3.0.6.04

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list