koha-win32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-win32] bulkmarcimport.pl


From: Rob Weir
Subject: Re: [Koha-win32] bulkmarcimport.pl
Date: Sat, 20 Jan 2007 15:23:14 -0500
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

Hi Dave,
On the bulkmarcimport.pl script, I get the identical error. I also found the email you quoted and have tested rolling MARC-Charset back to v 0.92 and even  v  0.20 and still get the same error. I am thinking that ignore_errors never was a part of MARC-Charset and that there is a bug in the script.

Any suggestions from anyone on the list?

You can comment just the offending line and the script will run - I've only done it without giving any parameters so it returns the help screen. Later today, I am planning to test and see how it actually handles importing records.

Arnab reported another bulkmarcimport.pl error when running on windows way back on Dec. 28:

 >> When I'm trying to run the script "bulkmarcimport.pl" it showing the
>  >> error.......
>  >>
>  >> C:\usr\koha227\scripts\misc\migration_tools>bulkmarcimport.pl -file
>  >> t.mrc
>  >> Can't locate object method "encoding" via package "MARC::Record" at
>  >> C:\usr\koha227\scripts\misc\migration_tools\bulkmarcimport.pl line 218.
>  >>

Chris Cormack suggested on Jan. 15 that we could correct this error by getting a later version of MARC-Record from SourceForge. I downloaded the version he recommended and have built and repackaged it so it can be loaded by ppm on windows. I hope to post it later today to my website, or if you encounter this error and need it sooner, let me know.

For the network access to intranet, be sure you are just typing intranet into the address bar of your browser and not prefacing it with a host name or ip address.

I've helped at least 4 or 5 people get Z3950 search working. It is usually either yaz is not on the path (or in one case there was a typo in adding it to the path), or the machine was not rebooted after adding it to the path (even on XP - I have no idea why), or there are no Z3950 servers configured. I will send you a small utility in separate email that will check the yaz configuration.

If you want to give me more details on either of these errors, I will be glad to try to help. I am not the person to ask about the LC Call numbers question - try the list.

Rob

David Whelchel wrote:
Hi Rob and list,

I am trying to install Koha on windows for myself and several others who have extensive research libraries. Koha appears to be a very good solution for our needs.  I have successfullly installed and documented the base configuration. But I have run into several problems and am trying to attack them in a systematic way. I was wondering if you had any resolution to the bulkmarcimport.pl problem. I would be willing to be a tester for you if needed.

Here is the error I receive:

C:\Documents and Settings\Administrator>cd c:\usr\koha227\scripts\misc\migration_tools

C:\usr\koha227\scripts\misc\migration_tools>set KOHA_CONF=c:\etc\koha.conf
 
C:\usr\koha227\scripts\misc\migration_tools>set PERL5LIB=c:\usr\koha227\intranet\modules
 
C:\usr\koha227\scripts\misc\migration_tools>bulkmarcimport.pl
Can't locate object method "ignore_errors" via package "MARC::Charset" at C:\usr\koha227\scripts\misc\migration_tools\bulkmarcimport.pl line 24.
 
C:\usr\koha227\scripts\misc\migration_tools>
 
I found this on one of the Koha lists.

> You're right, MARC::Charset dropped the package-level methods
>
ignore_errors and assume_unicode from v0.92 to v0.95.  The ignore_errors
>
flag must now be set when calling the conversion routine.
>
I suggest first commenting out these method calls, though
>
MARC::Record will choke if you don't have near-perfect records.  If
>
(when) that  fails, roll back to 0.92; I don't think there are any
>
issues there... though  I'd like to know otherwise if I'm wrong
> (anyone?)

Aparently the rollback did not work.

I don’t want to monopolize your time so I am still digging on several other problems (z39.50 500 error in search.pl, no remote access to intranet even with the host file entries and how to implement LC Call numbers).

I am running your most current configuration from the Koha win32 downloads site. The base os is windows 2003 server. (I also re-ran the perl modules)

Koha V2.2.7 Stable Release for Windows
Updated Jan. 8, 2007 to include fix for perl modules and marc_subfields_structure.pl
(Install build R2 last updated January 8, 2007 - 18.2 MB)
ActivePerl 5.8.x Modules for Koha Updated Jan. 8, 2007 fixed errors that caused DBD-mysql and MARC-charset to fail to install on some systems (Install build R4 last updated January 8, 2007 - 10.1 MB)
Apache - V2.0.59   
MySQL - V4.0.26   
Activestate Perl - V5.8.8.817  
YAZ Toolkit - V2.1.40   

Thanks for your time

Dave

----------------------------------------------------------------------------------------------------------------
David L. Whelchel
D. L. Whelchel & Associates
http://www.dlwa.com
address@hidden
 

_______________________________________________ Koha-win32 mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/koha-win32

reply via email to

[Prev in Thread] Current Thread [Next in Thread]