Can't call method "append_fields"

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

Can't call method "append_fields"

MagnusE
Yes, the previous problem was solved, indeed...

I do not understand why I have so many  problems installing koha,..
maybe the last years I was too used to Joomla! installations :D

So the challenging koha that its concept I so much admire and embrace
makes me face another problem.

Trying to add a MARC record, (I retrieved its data from a z30.50
server, but that does not matter, I think) and then I am getting an
error page (http://localhost:8080/cgi-bin/koha/cataloguing/additem.pl)

Its contents are:
"
Koha error
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 95. at
/usr/local/lib/perl/5.10.0/XML/LibXML/SAX.pm line 64
 at /usr/local/share/perl/5.10.0/MARC/File/XML.pm line 443
Apache Server version: Apache/2.2.9 (Debian) Server built: Jun 21 2008 10:35:35
Koha 3.00.00.094
Koha DB 3.0000094
MySQL mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486)
using readline 5.2
OS Linux sangre 2.6.25.9xx6-costis07 #1 SMP PREEMPT Wed Jul 2 02:35:38
EEST 2008 i686 GNU/Linux
Perl 5.010000
"

The laste contens of /var/log/koha/koha-error_log are

[...] [error] [...] [...] addbiblio.pl: INDEXING :orignew at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :1 at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :ocip at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :20 at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :y-gencatlg at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :ddc at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :SR at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :pc15 2006-07-19 to
SSCD at /usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :jp00 2006-07-26 CIP
recd at /usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :jp20 2006-07-26 to
subj at /usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :jp03 2006-07-26 at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :aa05 2006-07-27 at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :1 at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] addbiblio.pl: INDEXING :1 at
/usr/share/koha/lib/C4/Biblio.pm line 2319., referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [debug] mod_deflate.c(619): [...] Zlib: Compressed 37993 to 5966
: URL /cgi-bin/koha/cataloguing/additem.pl, referer:
http://localhost:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=1
[...] [error] [...] [...] additem.pl: Can't call method
"append_fields" on an undefined value at
/usr/local/share/perl/5.10.0/MARC/File/SAX.pm line 95. at
/usr/local/lib/perl/5.10.0/XML/LibXML/SAX.pm line 64, referer:
http://localhost:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=1&frameworkcode=BKS
[...] [error] [...] [...] additem.pl:  at
/usr/local/share/perl/5.10.0/MARC/File/XML.pm line 443, referer:
http://localhost:8080/cgi-bin/koha/cataloguing/additem.pl?biblionumber=1&frameworkcode=BKS

What could I do to solve this problem?

Tsardounis Constantine
http://costis.name


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

Re: [Koha] Can't call method "append_fields"

MagnusE
> This error occurs while converting a marcxml data into a marc record
> editable by PERL.
> So may be the error is in the marc biblio,
> if not you should try and trace the problem then report us and perl4lib
> group.
What else could I do except of looking in /var/log/koha/koha-error_log
? I have already posted its contents, but I do not think they help.
I have tried to enter simple values and words (and only in the
mandatory fields) instead of a z39.50 server retrieval based on ISBN,
but the same error occurs.


> try and send us some of the biblios that raise the problem.
> And try to determine if the problem is general or occurs only on some
> peculiar data.
For now all the records I enter result to the same problem. For
example I imported a Z39.50 search of ISBN: 0324171897 (Principles of
Macroeconomics by N. Gregory Mankiw, that is), then I chose save and
after that the items page
I complete it as you can see at
http://www.costis.name/0various/Item1.png, but the error message
persists, no matter what I do... Even if I let the Items page blank.

Thank you so much for the reply!,...

Constantine Tsardounis
http://www.costis.name


_______________________________________________
Koha-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/koha-devel
_______________________________________________
Koha-devel mailing list
[hidden email]
http://lists.koha.org/mailman/listinfo/koha-devel