Dear all, I have installed koha 3.00.02 on Ubuntu server 8.10. I can login into koha, imported records using bulkmarcimport.pl, and search also possible. When adding a new record using default framework the biblio is added, but Koha 952 fields(items data) are not dding and the following error message appears. The following fatal error has occurred: Can't call method "append_fields" on an undefined value at /usr/local/share/perl/5.10.0/MARC/File/SAX.pm line 92. at What could be the problem? The same problem exists in Debian lenny installation also. Is this any error related to Perl ? any help is apreciated Liny Varghese -- Information Scientist Cochin University of Science & Technology Kerala, S.India Ph: 91-0484-2575715 www.cusat.ac.in
Hi, On Mon, Aug 10, 2009 at 12:10 PM, Liny Varghese<liny@cusat.ac.in> wrote:
I have installed koha 3.00.02 on Ubuntu server 8.10. I can login into koha, imported records using bulkmarcimport.pl, and search also possible. When adding a new record using default framework the biblio is added, but Koha 952 fields(items data) are not dding and the following error message appears.
To clarify, is the failure to add items taking place when you load the bibs using bulkmarcimport.pl or when you are trying to add items via the staff web interface?
The following fatal error has occurred: Can't call method "append_fields" on an undefined value at /usr/local/share/perl/5.10.0/MARC/File/SAX.pm line 92. at
Could you attach a sample MARC record or two? Regards, Galen -- Galen Charlton gmcharlt@gmail.com
Hi Galen, I just checked because I just upgraded my MARC::File::XML and I am having the same problem. It occurs in the staff web interface whenever I try to add or edit an item. However I can't conclusively prove that it was MARC::File::XML, because I work with test data and I haven't added an item in weeks. Garry On Tue, Aug 11, 2009 at 7:44 AM, Galen Charlton<gmcharlt@gmail.com> wrote:
Hi,
On Mon, Aug 10, 2009 at 12:10 PM, Liny Varghese<liny@cusat.ac.in> wrote:
I have installed koha 3.00.02 on Ubuntu server 8.10. I can login into koha, imported records using bulkmarcimport.pl, and search also possible. When adding a new record using default framework the biblio is added, but Koha 952 fields(items data) are not dding and the following error message appears.
To clarify, is the failure to add items taking place when you load the bibs using bulkmarcimport.pl or when you are trying to add items via the staff web interface?
The following fatal error has occurred: Can't call method "append_fields" on an undefined value at /usr/local/share/perl/5.10.0/MARC/File/SAX.pm line 92. at
Could you attach a sample MARC record or two?
Regards,
Galen -- Galen Charlton gmcharlt@gmail.com _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hi Garry, On Tue, Aug 11, 2009 at 8:17 AM, Garry Collum<gcollum@gmail.com> wrote:
I just checked because I just upgraded my MARC::File::XML and I am having the same problem. It occurs in the staff web interface whenever I try to add or edit an item. However I can't conclusively prove that it was MARC::File::XML, because I work with test data and I haven't added an item in weeks.
Thanks for the followup. Changes introduced in MARC::File::XML 0.92 do appear to be the culprit, so I'll go ahead and track it down. Regards, Galen -- Galen Charlton gmcharlt@gmail.com
Yep. I just went back to the previous version of MARC::File::XML and the problem still occurs. Thanks Galen, Garry On Tue, Aug 11, 2009 at 8:52 AM, Galen Charlton<gmcharlt@gmail.com> wrote:
Hi Garry,
On Tue, Aug 11, 2009 at 8:17 AM, Garry Collum<gcollum@gmail.com> wrote:
I just checked because I just upgraded my MARC::File::XML and I am having the same problem. It occurs in the staff web interface whenever I try to add or edit an item. However I can't conclusively prove that it was MARC::File::XML, because I work with test data and I haven't added an item in weeks.
Thanks for the followup. Changes introduced in MARC::File::XML 0.92 do appear to be the culprit, so I'll go ahead and track it down.
Regards,
Galen -- Galen Charlton gmcharlt@gmail.com
Hi Garry, I've entered this as bug 3520 and pushed a fix for it. Please test and confirm if this solves the problem. I will also patch MARC::File::XML to handle invalid XML input better. Regards, Galen On Tue, Aug 11, 2009 at 8:56 AM, Garry Collum<gcollum@gmail.com> wrote:
Yep. I just went back to the previous version of MARC::File::XML and the problem still occurs.
Thanks Galen,
Garry
On Tue, Aug 11, 2009 at 8:52 AM, Galen Charlton<gmcharlt@gmail.com> wrote:
Hi Garry,
On Tue, Aug 11, 2009 at 8:17 AM, Garry Collum<gcollum@gmail.com> wrote:
I just checked because I just upgraded my MARC::File::XML and I am having the same problem. It occurs in the staff web interface whenever I try to add or edit an item. However I can't conclusively prove that it was MARC::File::XML, because I work with test data and I haven't added an item in weeks.
Thanks for the followup. Changes introduced in MARC::File::XML 0.92 do appear to be the culprit, so I'll go ahead and track it down.
Regards,
Galen -- Galen Charlton gmcharlt@gmail.com
-- Galen Charlton gmcharlt@gmail.com
Saw it come through and just tested it. It works perfectly. Man -- You're good. Garry On Tue, Aug 11, 2009 at 10:53 AM, Galen Charlton<gmcharlt@gmail.com> wrote:
Hi Garry,
I've entered this as bug 3520 and pushed a fix for it. Please test and confirm if this solves the problem. I will also patch MARC::File::XML to handle invalid XML input better.
Regards,
Galen
On Tue, Aug 11, 2009 at 8:56 AM, Garry Collum<gcollum@gmail.com> wrote:
Yep. I just went back to the previous version of MARC::File::XML and the problem still occurs.
Thanks Galen,
Garry
On Tue, Aug 11, 2009 at 8:52 AM, Galen Charlton<gmcharlt@gmail.com> wrote:
Hi Garry,
On Tue, Aug 11, 2009 at 8:17 AM, Garry Collum<gcollum@gmail.com> wrote:
I just checked because I just upgraded my MARC::File::XML and I am having the same problem. It occurs in the staff web interface whenever I try to add or edit an item. However I can't conclusively prove that it was MARC::File::XML, because I work with test data and I haven't added an item in weeks.
Thanks for the followup. Changes introduced in MARC::File::XML 0.92 do appear to be the culprit, so I'll go ahead and track it down.
Regards,
Galen -- Galen Charlton gmcharlt@gmail.com
-- Galen Charlton gmcharlt@gmail.com
Hi, On Tue, Aug 11, 2009 at 10:53 AM, Galen Charlton<gmcharlt@gmail.com> wrote:
I've entered this as bug 3520 and pushed a fix for it. Please test and confirm if this solves the problem. I will also patch MARC::File::XML to handle invalid XML input better.
I've updated MARC::File::SAX in the SourceForge CVS repository (see https://sourceforge.net/projects/marcpm) to throw an exception with a more description error message. Throwing an exception in the face of invalid input is arguably correct behavior for the Perl module, although there are some inconsistencies with MARC::Record handling and MARC::File::XML's error handling that I'm looking into, but improving how Koha detects and manages these sorts of exceptions is also called for. Regards, Galen -- Galen Charlton gmcharlt@gmail.com
participants (3)
-
Galen Charlton -
Garry Collum -
Liny Varghese