I was trying to test the barcodes generator and when I tried to configure the printer I got a server error. 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.4 /usr/local/share/perl/5.8.4 /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/printerConfig.pl line 33., referer: http://xxx.xxx.xxx.xxx:8080/cgi-bin/koha/barcodes/barcodes.pl I found Utils in PDF/API2/Basic/PDF, so I put a symlink to Basic/PDF in the API2 directory (and also one to Basic/TTF just in case I needed that later) and that seemed to fix it. What are the inventory codes? Are they barcode numbers? I tried those and got nothing. Clicking on the Generate Barcodes button does nothing. Not even an error or a blank page. Any ideas what's wrong? Tim _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Tim, What happens when you run: perl -MCPAN -e 'install PDF::API2::PDF::Utils' -- Joshua Ferraro VENDOR SERVICES FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Koha ILS, Mambo Intranet, DiscrimiNet Filter jmf@liblime.com | Full Demos at http://liblime.com | 1(888)KohaILS _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Joshua Ferraro wrote:
Tim,
What happens when you run:
perl -MCPAN -e 'install PDF::API2::PDF::Utils'
CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Sun, 29 May 2005 15:05:48 GMT Warning: Cannot install PDF::API2::PDF::Utils, don't know what it is. Try the command i /PDF::API2::PDF::Utils/ to find objects with matching identifiers. Where/how do I try this command? Thanks _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Tim McMahon - West Liberty Public Library <tmcmahon@wlpl.org> asked:
Try the command i /PDF::API2::PDF::Utils/ to find objects with matching identifiers.
Where/how do I try this command?
In the CPAN shell, which is started with the command perl -MCPAN -e shell Hope that helps, -- MJ Ray (slef), K. Lynn, England, email see http://mjr.towers.org.uk/ http://www.ttllp.co.uk/koha/ _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
MJ Ray wrote:
Tim McMahon - West Liberty Public Library <tmcmahon@wlpl.org> asked:
Try the command i /PDF::API2::PDF::Utils/ to find objects with matching identifiers.
Where/how do I try this command?
In the CPAN shell, which is started with the command perl -MCPAN -e shell
Hope that helps,
Thanks. That worked, but it still didn't find anything. I switched to the default templates and this is what I get when I click on Generate Barcodes: [Thu Jun 02 09:45:15 2005] [error] [client xxx.xxx.xxx.xxx] DBD::mysql::st execute failed: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND I.barcode <= ) AND (I.barcode <> 'FALTA') ORDER BY Codigo' at /usr/local/koha/intranet/cgi-bin/barcodes/barcodesGenerator.pl line 215., referer: http://koha2.wlpl.org:8080/cgi-bin/koha/barcodes/barcodes.pl [Thu Jun 02 09:45:15 2005] [error] [client xxx.xxx.xxx.xxx] DBD::mysql::st fetchrow_array failed: fetch() without execute() at /usr/local/koha/intranet/cgi-bin/barcodes/barcodesGenerator.pl line 233., referer: http://koha2.wlpl.org:8080/cgi-bin/koha/barcodes/barcodes.pl [Thu Jun 02 09:45:15 2005] [error] [client xxx.xxx.xxx.xxx] Can't call method "is_obj" on an undefined value at /usr/local/share/perl/5.8.4/PDF/API2/Basic/PDF/File.pm line 956., referer: http://koha2.wlpl.org:8080/cgi-bin/koha/barcodes/barcodes.pl [Thu Jun 02 09:45:15 2005] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: barcodesGenerator.pl, referer: http://koha2.wlpl.org:8080/cgi-bin/koha/barcodes/barcodes.pl [Thu Jun 02 09:45:15 2005] [error] [client xxx.xxx.xxx.xxx] Can't locate object method "barcode" via package "PDF::API2" at /usr/local/koha/intranet/cgi-bin/barcodes/barcodesGenerator.pl line 237., referer: http://koha2.wlpl.org:8080/cgi-bin/koha/barcodes/barcodes.pl [Thu Jun 02 09:45:15 2005] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: barcodesGenerator.pl, referer: http://koha2.wlpl.org:8080/cgi-bin/koha/barcodes/barcodes.pl This is using version 2.2.2b. _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (3)
-
Joshua Ferraro -
MJ Ray -
Tim McMahon - West Liberty Public Library