[Koha] Barcode generation errors

Thomas Green thomas.green at jstor.org
Wed Apr 23 08:18:48 NZST 2008


Hey Joe,

 

I did in fact install this module as root.

 

Here are the contents of @INC:

 

/etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl

 

And here is the location of the module

 

/root/.cpan/build/PDF-API2-0.69/blib/lib/PDF/API2/Basic/PDF/Utils.pm

/root/.cpan/build/PDF-API2-0.69/blib/lib/PDF/API2/Basic/TTF/Utils.pm

/root/.cpan/build/PDF-API2-0.69/lib/PDF/API2/Basic/PDF/Utils.pm

/root/.cpan/build/PDF-API2-0.69/lib/PDF/API2/Basic/TTF/Utils.pm

/home/jstor-prod/Desktop/koha-3.00.00-beta2/C4/Utils.pm

/usr/local/share/perl/5.8.8/PDF/API2/Basic/PDF/Utils.pm

/usr/local/share/perl/5.8.8/PDF/API2/Basic/TTF/Utils.pm

/usr/share/perl/5.8.8/ExtUtils/Constant/Utils.pm

/usr/share/perl5/Debian/DocBase/Utils.pm

 

Do I need to change anything and if so, what?

 

Thanks,

Tom

________________________________

From: Joe Atzberger [mailto:ohiocore at gmail.com] 
Sent: Monday, April 21, 2008 4:09 PM
To: Thomas Green
Cc: koha listgroup
Subject: Re: [Koha] Barcode generation errors

 

Perhaps you installed it as a user, and not using sudo/root.  If you did
use sudo, then find where that Utils.pm file ended up, and compare that
to the @INC dirs in the error message.

--Joe Atzberger

On Mon, Apr 21, 2008 at 2:29 PM, Thomas Green <thomas.green at jstor.org>
wrote:

I am running koha 2.2.9. I have installed that module(PDF::API2) but no
dice.

--Tom


-----Original Message-----
From: Chris Nighswonger [mailto:cnighswonger at foundations.edu]
Sent: Monday, April 21, 2008 2:22 PM
To: Thomas Green
Cc: koha listgroup
Subject: Re: [Koha] Barcode generation errors

On Mon, Apr 21, 2008 at 2:13 PM, Thomas Green <thomas.green at jstor.org>
wrote:
> Hi all,
>
> When trying to print barcodes or accessing printer config, I get an
> "Internal Server Error". My log files look like this:
>
> [Mon Apr 21 13:52:58 2008] [error] [client 192.168.34.202] Premature
end of
> script headers: barcodesGenerator.pl, referer:
> http://192.168.34.34:8080/cgi-bin/koha/barcodes/barcodes.pl
>
> [Mon Apr 21 14:06:29 2008] [error] [client 192.168.34.202] Can't
locate
> PDF/API2/PDF/Utils.pm in @INC (@INC contains:
> /usr/local/koha/intranet/modules /etc/perl /usr/local/lib/perl/5.8.8
> /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
> /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
> /usr/local/koha/intranet/cgi-bin/barcodes/barcodesGenerator.pl line
33.,
> referer: http://192.168.34.34:8080/cgi-bin/koha/barcodes/barcodes.pl

It looks like you're missing PDF::API2



More information about the Koha mailing list