Ciao, I want to use koha for an italian school but I'm encountering some problems: I have installed Koha 2.2RC2 upgraded to 2.2RC3, on a debian sarge when I try to use z3950 to download a marc record from Italian z3950 servers I can find some records but the isbn, title and author fields appear void in the popup window. Looking in the z3950queue table I can see that there are some records, but the isbn field is void, the title and author fields contain the NULL value. I also had to add the line: my $context = new C4::Context; to get the script processz3950queue not aborting at the start, (same problem of Harry Jacson and the virtual hosts configuration with PERL5LIB and KOHA_CONF pointing to the right files) some lines of the log file: SBS UNIVERSITA DI SIENA : sbs2.unisi.it:9909 records retrieved 4 speed: 4 sbs2.unisi.it:9909 search done. DBD::mysql::st execute warning: at /usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 141. DBD::mysql:st execute failed: MySQL server has gone away at /usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 144. DBD::mysql:st execute failed: MySQL server has gone away at /usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 149. DBD::mysql::st fetchrow failed: fetch() without execute() at /usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 150. The encoding I use is UNIMARC, so I'm asking if someone of the french koha users can post the parameters of a french z3950 server and a title of a book that I can find in it, just to test my Koha configuration. Thanks Marco Vaninetti
Marco Vaninetti a écrit :
The encoding I use is UNIMARC, so I'm asking if someone of the french koha users can post the parameters of a french z3950 server and a title of a book that I can find in it, just to test my Koha configuration.
Ok for your encoding. But are your biblio marc structure also in UNIMARC (= means you have all labels in french) Otherwise, here's what happends : * Koha retrieves a biblio from your z3950 server * He tries to find isbn & title & author. BUT in MARC21, title is in 245, and in UNIMARC, it's in 200 !!! (fortunatly, isbn is in the same field) So, the "title" you see is the "title" in a MARC21 tag. And the effective title is in the UNIMARC one !!! The "encoding" is just for character encoding ( managemenet of é, à ...) : some servers provide UNIMARC biblios, but with a MARC21 encoding (i don't know if there is MARC21 servers that provides biblios with an UNIMARC encoding) It also means you CANNOT retrieve a MARC biblio from a server with a different MARC flavour than yours : technically, it's there, but Koha can do nothing with it. You can be angry, but not against Koha team : against ppl that defined 2 technically-same-but-functionnaly-completly-different "standards"... -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
Marco Vaninetti a écrit : Ok for your encoding. But are your biblio marc structure also in UNIMARC (= means you have all labels in french) Ciao Paul, Yes, in Italy the standard is UNIMARC, so we choosed the UNIMARC setting and
Alle 16:07, venerdì 3 dicembre 2004, hai scritto: the labels are in french. We have found our problem, but we don't understand many things: In the processz3950queue script between the lines 285-294, if you have the UNIMARC selected, the program use the render() function of the package Net::Z3950::Record::UNIMARC that we found in the file /usr/local/lib/perl/5.8.4/Net/Z3950/Record.pm. But the render() function for UNIMARC in that package is void!! If we change the UNIMARC sub render() code whith the code of the USMARC sub rawdata() : my $this = shift(); return $$this; all seems to work. We have the record imported with ISBN, Title, Author and many other things in the right place (so the records we are retrieving are UNIMARC). Only we have some problems with some fields that are not well recognized (it seems to me that some fiels are merged with some |||||) The question is: How can the z3950queue script work for you without the change we have made? Which kind of settings could be wrong in our configuration? Are you using another Record.pm? THANKS for your help Marco Vaninetti
participants (2)
-
Marco Vaninetti -
Paul POULAIN