Errors trying to import records from Z39.50
I have Koha 3.0 on Ubuntu 8.04.1 While manual cataloguing works okay as well as importing MARC records from a file, we are unable to import "good" MARC records from Z39.50 servers 1) We can't import MARC records from a Z39.50 search. For e.g., i just search for "Great Expectations" from Library of Congress and attempt to import, and i get the error below. This error occurs for pretty much any book. Koha error The following fatal error has occurred: Can't call method "add_subfields" on an undefined value at /usr/share/koha/intranet/cgi-bin/cataloguing/addbiblio.pl line 141. Apache Server version: Apache/2.2.8 (Ubuntu) Server built: Jun 25 2008 13:51:29 Koha 3.00.00.107 Koha DB 3.0000107 MySQL mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (x86_64) using readline 5.2 OS Linux biblioteca 2.6.24-19-xen #1 SMP Sat Jul 12 00:15:59 UTC 2008 x86_64 GNU/Linux Perl 5.008008 Error URL: ========= https://URL_TO_KOHA/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=175 Any thoughts or ideas? There's nothing else in the error logs except this one line. regards, krishnan Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/
[Warning: this appears on both user and devel lists!] Krishnan M <kmlist@yahoo.in> wrote:
1) We can't import MARC records from a Z39.50 search. For e.g., i just search for "Great Expectations" from Library of Congress and attempt to import, and i get the error below. This error occurs for pretty much any book.
Koha error
The following fatal error has occurred:
Can't call method "add_subfields" on an undefined value at /usr/share/koha/intranet/cgi-bin/cataloguing/addbiblio.pl line 141. [...] Any thoughts or ideas?
I think this can happen when you have authorities enabled, BiblioAddsAuthorities OFF and the place you're importing from doesn't use the same authorities headings as you. As a simple fix, try switching BiblioAddsAuthorities ON and see if the error goes away. As a longer-term fix, you need to choose how to handle authorities and imports. More generally, should we have a BiblioZAddsAuthorities syspref so that only Z imports can add to the authorities file? Please don't email both the user and devel lists without warning! For example, I'm reading my devel folder right now and I've written my reply, then I spot the cc. I don't know if anyone has replied to the user list and solved this. I might have wasted my time. Please pick one list first and if they can't answer, then repost it to the other later. Hope that helps, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237
participants (2)
-
Krishnan M -
MJ Ray