[Koha] Problem adding biblio records - Biblio.pm at line 1440

MJ Ray mjr at phonecoop.coop
Fri Sep 21 19:49:55 NZST 2007

CrossroadsDude <Livingston_john at lilly.com> wrote:
> Koha 2.2.9 > Debian 2.6.18-5-686 > mysql Ver 14.12 > Perl 5.008008 
> Apache 2 [...]
> On thread suggested looking at the /usr/local/koha/log/koha-error_log file.
> I found that I the last entry has a problem in Biblio.pm at line 1440.

The problem is "Arguments must be MARC::Field object"

> I looked at the Biblio.pm file and line 1440 and the line is  
> ---->$record->delete_field($old_field);<-----

So, $old_field isn't a MARC::Field object.  That's odd.

> I've gone through this many times and get consistent errors importing from
> several z3950 sources and using several different books.

Which z3950 sources are you using?  We can see a book you tried from
the log entry, so maybe someone can try on another system and see if
they get the same error.

> [Sun Sep 16 21:58:01 2007] [error] [client] Q2 : select
> distinct m1.bibid from biblio,biblioitems,marc_biblio,marc_word as
> m1,marc_word as m2,marc_word as m3,marc_word as m4,marc_word as m5,marc_word
> as m6,marc_word as m7,marc_word as m8,marc_subfield_table as m9 where
> biblio.biblionumber=marc_biblio.biblionumber and
> biblio.biblionumber=biblioitems.biblionumber and m1.bibid=marc_biblio.bibid
> and (m1.bibid=m2.bibid and m1.bibid=m3.bibid and m1.bibid=m4.bibid and
> m1.bibid=m5.bibid and m1.bibid=m6.bibid and m1.bibid=m7.bibid and
> m1.bibid=m8.bibid and m1.bibid=m9.bibid) and ((m1.word  like 'parable' and
> m1.tagsubfield in ('245a'))and (m2.word like 'of' and m2.tagsubfield
> in('245a'))and (m3.word like 'lily' and m3.tagsubfield in('245a'))and
> (m4.word like 'Higgs' and m4.tagsubfield in('245b'))and (m5.word like 'Liz'
> and m5.tagsubfield in('245b'))and (m6.word like 'Curtis' and m6.tagsubfield
> in('245b'))and (m7.word like '21' and m7.tagsubfield in('100a'))and (m8.word
> like 'cm' and m8.tagsubfield in('100a'))and (m9.subfieldvalue = 'Thomas
> Nelson Books,'  and concat(m9.tag,m9.subfieldcode) in ('300c'))) order by
> biblio.title ASC term is  The parable of the lily   Higgs  Liz Curtis  21 cm 
> Thomas Nelson Books, at /usr/local/koha/intranet/modules/C4/SearchMarc.pm
> line 274., referer:
MJ Ray http://mjr.towers.org.uk/email.html tel:+844-4437-237 -
Webmaster-developer, statistician, sysadmin, online shop builder,
consumer and workers co-operative member http://www.ttllp.co.uk/ -
Writing on koha, debian, sat TV, Kewstoke http://mjr.towers.org.uk/

More information about the Koha mailing list