2009/8/21 benson Mugambi <mnjoben@yahoo.co.uk>:
Does anyone have an idea how we can solve this problem? We are experiencing a fatal error when trying to append an item to a biblio.
Can't call method "append_fields" on an undefined value at /usr/local/share/perl/5.8.8/MARC/File/SAX.pm line 92. at /usr/local/lib/perl/5.8.8/XML/LibXML/SAX.pm line 73 at /usr/local/share/perl/5.8.8/MARC/File/XML.pm line 445
Apache Server version: Apache/2.2.8 (Ubuntu) Server built: Jul 10 2009 18:45:12 Koha 3.00.02.012 Koha DB 3.0002012 MySQL mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2 OS Linux main 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC 2009 i686 Perl 5.008008
There's a bug report on that issue [1]. It has to do with MARC::File::XML version. I found about it googling around. It seems there is a patch[2] for it but i couldn't find it in 3.0.x git branch. I did: git clone git://git.koha.org/pub/scm/koha.git kohaclone cd kohaclone git branch --track 3.0.x origin/3.0.x git checkout 3.0.x to get it. To+ [1] http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3520 [2] http://markmail.org/message/atlubawbplyzxbm2#query:Can%27t%20call%20method%2... -- Aparición con vida de Jorge Julio López.