Can't import MARC records

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't import MARC records

Steven Santos
Hi folks.  I am looking for a little help with Koha.  I am using the Koha
VM, which used the built-in git system to update to 3.03.00.003.  

Any time I try to import a MARC record from the LOC or any other source, I
get the following error:

Software error:
Can't call method "add_subfields" on an undefined value at
/home/koha/kohaclone/cataloguing/addbiblio.pl line 144.

For help, please send mail to the webmaster (webmaster@koha), giving this
error message and the time and date of the error.

Any help?

---
Steven Santos
Director, Simply Circus, Inc.
 Email: [hidden email]
   Gym: 86 Los Angeles Street
        Newton, MA 02458
  Mail: 14 Pierrepont Road
        Newton, MA 02462
 Phone: 617-527-0667
   Fax: 617-934-1870
   Web: www.SimplyCircus.com


_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Can't import MARC records

Thomas Dukleth-3
Reply inline:


On Sun, November 28, 2010 18:54, Steven Santos wrote:

> Hi folks.  I am looking for a little help with Koha.  I am using the Koha
> VM, which used the built-in git system to update to 3.03.00.003.
>
> Any time I try to import a MARC record from the LOC or any other source, I
> get the following error:
>
> Software error:
> Can't call method "add_subfields" on an undefined value at
> /home/koha/kohaclone/cataloguing/addbiblio.pl line 144.
>
> For help, please send mail to the webmaster (webmaster@koha), giving this
> error message and the time and date of the error.
>
> Any help?

You might try upgrading to Koha 3.2.1, although, I am not certain if that
will help.

Multiple configuration remedies have been posted for the problem in the
past which do not quite address the core problem.  The code is making an
inappropriate presumption.

Please provide some example MARC records for which you have failure.  MARC
records for which you have success are certainly also of interest.

The issue has been reported as bug 5333,
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5333 .

I suspect that I will not have the time presently to solve the problem for
you but there is a curious feature of the two example records in the bug
report.  Having more example records would be helpful.


Thomas Dukleth
Agogme
109 E 9th Street, 3D
New York, NY  10003
USA
http://www.agogme.com
+1 212-674-3783


_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Can't import MARC records

mpelletier
In reply to this post by Steven Santos
Hello Mr. Santos,

I also had this problem, though it came about rather suddenly.  I looked at the code, and though I am not quite sure how to fix it yet,  I resolved the error by changing the "z3950NormalizeAuthor z3950AuthorAuthFields" setting under the Cataloguing Tab, and Record Structure section to "don't copy".  

I am now able to import records from a Z39.50 search.

Note that if the above does not work you might check to see if you have a branch selected if you are running a multiple branch system.

I hope that helps!