Koha error(uploading Patron's image)
Hi all, Am trying to upload a Patron's image without success, am end up with the following error below: Koha error The following fatal error has occurred: Can't locate object method "newFromJpeg" via package "GD::Image" at /usr/local/lib/perl/5.10.0/GD/Image.pm line 81. Apache Server version: Apache/2.2.12 (Ubuntu) Server built: Mar 9 2010 21:20:44 Koha 3.00.05.003 Koha DB 3.0005003 MySQL mysql Ver 14.14 Distrib 5.1.37, for debian-linux-gnu (i486) using EditLine wrapper OS Linux library 2.6.31-21-generic-pae #59-Ubuntu SMP Wed Mar 24 08:47:55 UTC 2010 i686 Perl 5.010000 What might be a cause of this error. Regards, Bariki G. Kamara ---------------------- CONFIDENTIALITY NOTICE -------------------------------- PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL This email is intended only for the person to whom it is addressed and may contain confidential information and may be legally privileged. If you are not the intended recipient, you are notified that you may not use, distribute or copy this document in any manner whatsoever. Kindly also notify the sender by email and/or delete this e-mail. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of the Open University of Tanzania. --------------------THE OPEN UNIVERSITY OF TANZANIA-------------------------- ---------------------- CONFIDENTIALITY NOTICE -------------------------------- PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL This email is intended only for the person to whom it is addressed and may contain confidential information and may be legally privileged. If you are not the intended recipient, you are notified that you may not use, distribute or copy this document in any manner whatsoever. Kindly also notify the sender by email and/or delete this e-mail. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of the Open University of Tanzania. --------------------THE OPEN UNIVERSITY OF TANZANIA--------------------------
bariki.kamara@out.ac.tz
Am trying to upload a Patron's image without success, am end up with the following error below: [...] Can't locate object method "newFromJpeg" via package "GD::Image" at /usr/local/lib/perl/5.10.0/GD/Image.pm line 81.
Apache Server version: Apache/2.2.12 (Ubuntu) Server built: Mar 9 2010 21:20:44 [...] What might be a cause of this error.
Building GD perl modules or libgd without jpeg support might cause that error. I expect that Ubuntu provides a package of GD::Image built with jpeg support (libgd-gd2-perl perhaps) which is good enough and should be used instead of build-it-yourself from cpan, but I have not checked. Hope that helps, -- MJ Ray (slef) Webmaster and LMS developer at | software www.software.coop http://mjr.towers.org.uk | .... co IMO only: see http://mjr.towers.org.uk/email.html | .... op
Hi everyone, i have this error, and i tired of installing and uninstalling XML modules... make test gived this error, who can help me ? What is the problem? System Cent OS 5.3 LibXSLT - 1.59, LibXML-1.69 (1.70 is not compatible, becouse of old version of libxml2 and libxslt-updating them didn't solved problem) HERE IS THE ERROR -- # Failed test 'use C4::Record;' # at t/Record.t line 12. # Tried to use 'C4::Record'. # Error: Usage: $class->connect([$dsn [,$user [,$passwd [,\%attr]]]]) at /root/Desktop/install/koha- 3.00.06/blib/PERL_MODULE_DIR/C4/Context.pm line 666 # Compilation failed in require at /root/Desktop/install/koha-3.00.06/blib/PERL_MODULE_DIR/C4/Record.pm line 33. # BEGIN failed--compilation aborted at /root/Desktop/install/koha-3.00.06/blib/PERL_MODULE_DIR/C4/Record.pm line 33. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/Record.t ..................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/Review.t ..................... ok t/Scrubber.t ................... 1/10 # Note: scrubber test output will have whitespace collapsed for readability # done. t/Scrubber.t ................... ok t/Stats.t ...................... ok Test Summary Report ------------------- t/Record.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=24, Tests=476, 5 wallclock secs ( 0.12 usr 0.05 sys + 4.27 cusr 0.43 csys = 4.87 CPU) Result: FAIL Failed 1/24 test programs. 1/476 subtests failed.
participants (3)
-
bariki.kamaraļ¼ out.ac.tz -
Elshan Axunzade -
MJ Ray