Problem running ./bulkmarcimport.pl
I am trying to run ./bulkmarcimport.pl on a new install of 2.2.6 on Debian 3.1 and having the following error when run: Can't locate object method "ignore_errors" via package "MARC::Charset" at ./bulkmarcimport.pl line 24. I have built the server 3 times now and keep getting stuck at this point. I don't know why my Charset.pm is missing this method. Any ideas? I currently have a Fedora Core 3 server running 2.2.4 that worked just fine. I have built this with Ubuntu and ended up with the same problem. Very frustrating to have a working server ready to go, but I can't import data. Thanks.
On Tue, Nov 07, 2006 at 05:30:03PM +0000, Jim Kronebusch wrote:
I am trying to run ./bulkmarcimport.pl on a new install of 2.2.6 on Debian 3.1 and having the following error when run:
Can't locate object method "ignore_errors" via package "MARC::Charset" at ./bulkmarcimport.pl line 24.
I have built the server 3 times now and keep getting stuck at this point. I don't know why my Charset.pm is missing this method. Any ideas? I currently have a Fedora Core 3 server running 2.2.4 that worked just fine. I have built this with Ubuntu and ended up with the same problem. Very frustrating to have a working server ready to go, but I can't import data. Here is a link to the release notes for 2.2.6:
http://koha.org/about-koha/news/nr1161090735.html Please ensure that your perl modules are the correct versions. Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Here is a link to the release notes for 2.2.6:
http://koha.org/about-koha/news/nr1161090735.html
Please ensure that your perl modules are the correct versions.
My MARC::Charset is version 0.95 as indicated in the release notes. I installed the module via CPAN. Any other suggestions? Is this affected by other modules as well? Thanks -- This message has been scanned for viruses and dangerous content by the Cotter Technology Department, and is believed to be clean.
On Tue, Nov 07, 2006 at 01:30:10PM -0600, Jim Kronebusch wrote:
Here is a link to the release notes for 2.2.6:
http://koha.org/about-koha/news/nr1161090735.html
Please ensure that your perl modules are the correct versions.
My MARC::Charset is version 0.95 as indicated in the release notes. I installed the module via CPAN. Any other suggestions? Is this affected by other modules as well? I'd recommend checking the version of all your modules as a first step and make sure they meet the requirements.
You may also want to make sure that your perl path is set up correctly. Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
On 11/7/06, Joshua Ferraro <jmf@liblime.com> wrote:
I'd recommend checking the version of all your modules as a first step and make sure they meet the requirements.
You may also want to make sure that your perl path is set up correctly.
Is there a list kept anywhere that lists all perl modules needed for the latest version of koha and the suggested version numbers? The release notes only list changes from the previous versions? This complete list would be immeasurably helpful for installation and troubleshooting. I found with a 2.2.6 installation that the installer said I was good to go, when I was really missing Date:Calc. Does the installer check for particular versions of perl modules? --Jason
Is there a list kept anywhere that lists all perl modules needed for the latest version of koha and the suggested version numbers? The release notes only list changes from the previous versions? This complete list would be immeasurably helpful for installation and troubleshooting.
I found with a 2.2.6 installation that the installer said I was good to go, when I was really missing Date:Calc. Does the installer check for particular versions of perl modules?
I installed all modules listed in the INSTALL file included in the root of the Koha-2.2.6 directory, and also installed all of the modules listed within the release notes. Many of these modules have dependancies which I believe is where mine pulled in Date::Calc. As far as a complete list of what is needed with versions, I haven't seen one. I am not even sure of the best way to check current perl module versions other than opening them with vi and checking the version at the top of the file. -- This message has been scanned for viruses and dangerous content by the Cotter Technology Department, and is believed to be clean.
On Tue, Nov 07, 2006 at 02:25:43PM -0600, Jim Kronebusch wrote:
I installed all modules listed in the INSTALL file included in the root of the Koha-2.2.6 directory, and also installed all of the modules listed within the release notes. Many of these modules have dependancies which I believe is where mine pulled in Date::Calc. You installed them to the root of the koha directory? Are you sure they are in your perl path?
As far as a complete list of what is needed with versions, I haven't seen one. I am not even sure of the best way to check current perl module versions other than opening them with vi and checking the version at the top of the file. Here's a short script that may help out in that regard:
#!/usr/bin/perl use ExtUtils::Installed; my $instmod = ExtUtils::Installed->new(); foreach my $module ($instmod->modules()) { my $version = $instmod->version($module) || "???"; print "$module -- $version\n"; } This is perl afterall ;-) Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Jason Ronallo escribió:
Is there a list kept anywhere that lists all perl modules needed for the latest version of koha and the suggested version numbers? The release notes only list changes from the previous versions? This complete list would be immeasurably helpful for installation and troubleshooting.
I agree. It would be very useful indeed. The following is what I found from my experience installing Koha 2.2.6 in Debian Sarge recently. These packages weren't present in Debian and needed to be installed from CPAN. I actually built them with dh-make-perl: liblocale-po-perl_0.16-1_all.deb libmarc-charset-perl_0.95-1_all.deb libmarc-record-perl_1.38-1_all.deb libmarc-xml-perl_0.83-1_all.deb libnet-z3950-zoom-perl_1.11-1_i386.deb libwww-perl_5.805-1_all.deb libdata-random-perl_0.05-1_all.deb libgd-barcode-perl_1.15-1_all.deb libpdf-reuse-barcode-perl_0.05-1_all.deb Modules already present in Sarge (versions for this packages available at packages.debian.org) were: libclass-accessor-perl libdate-manip-perl libevent-perl libhtml-template-perl libxml-sax-perl libdate-calc-perl libxml-simple-perl DBI and DBD::MySQL were installed as dependencies on mysql-server. Also I had to install PDF::API2 0.3r77 from Backpan in order to get the Barcode Generator working decently. YAZ needed to be compiled even after dh-make-perl'ing, hopefully the great people at Indexdata provides recent debianized sources (they also provide binary packages) After this steps the installer allowed me to continue and everything is working fine since October 31st. Jose -- José M. Parrella -> Debian Sid, k2.6.17.13 Escuela de Ingenieria Electrica Universidad Central de Venezuela -> ucvlug.info
Well, I have installed every module listed below....I also used the same methods with dh-make-perl --build --cpan MODULE and then installed them with dpkg -i name-of-new.deb. When I run /usr/local/koha/intranet/scripts/misc/migration_tools/bulkmarcimport.pl I still receive the error: Can't locate object method "ignore_errors" via package "MARC::Charset" at ./bulkmarcimport.pl line 24. If I comment out line 24 and run the bulkmarcimport.pl I get this error: Can't locate object method "encoding" via package "MARC::Record" at ./bulkmarcimport.pl line 218. Any ideas as to what is going on? Has anyone successfully ran the ./bulkmarcimport.pl with the new version?
These packages weren't present in Debian and needed to be installed from CPAN. I actually built them with dh-make-perl:
liblocale-po-perl_0.16-1_all.deb libmarc-charset-perl_0.95-1_all.deb libmarc-record-perl_1.38-1_all.deb libmarc-xml-perl_0.83-1_all.deb libnet-z3950-zoom-perl_1.11-1_i386.deb libwww-perl_5.805-1_all.deb libdata-random-perl_0.05-1_all.deb libgd-barcode-perl_1.15-1_all.deb libpdf-reuse-barcode-perl_0.05-1_all.deb
Modules already present in Sarge (versions for this packages available at packages.debian.org) were:
libclass-accessor-perl libdate-manip-perl libevent-perl libhtml-template-perl libxml-sax-perl libdate-calc-perl libxml-simple-perl
DBI and DBD::MySQL were installed as dependencies on mysql-server. Also I had to install PDF::API2 0.3r77 from Backpan in order to get the Barcode Generator working decently. YAZ needed to be compiled even after dh-make-perl'ing, hopefully the great people at Indexdata provides recent debianized sources (they also provide binary packages)
After this steps the installer allowed me to continue and everything is working fine since October 31st.
Jose
-- José M. Parrella -> Debian Sid, k2.6.17.13 Escuela de Ingenieria Electrica Universidad Central de Venezuela -> ucvlug.info _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- This message has been scanned for viruses and dangerous content by the Cotter Technology Department, and is believed to be clean.
Jim Kronebusch Cotter Tech Department 507-453-5188 -- This message has been scanned for viruses and dangerous content by the Cotter Technology Department, and is believed to be clean.
participants (4)
-
Jason Ronallo -
Jim Kronebusch -
Joshua Ferraro -
José Parrella