[Koha] as_usmarc error / biblio encoding

Sébastien Hinderer Sebastien.Hinderer at snv.jussieu.fr
Thu Jul 2 09:24:18 NZST 2009


Hi Rachel,

Newbie attempting to reply...

> Greetings colleagues, yesterday I found a biblio record through
> Z39.50. It was for the e-book version (GMD "electronic resource") and
> I had the print version in hand. It had a the expected extra fixed
> fields and while I was at it, I checked the 000/leader. There I found
> that the encoding/position 9 stated UCS/Unicode. I'm fairly certain
> that we are using MARC-8/MARC21/USMARC.

These are two different things.
MARC-8/MARC21/USMARC concerns the structure of your bibliographic record
as a whole, so it says which fields contain what.
UCS/Unicode refers to the way characters are represented in itles, author
names, etc. UCS/Unicode seems a reasonable value.

> Could this be the reason we are seeing "Error: Can't call method
> "as_usmarc" on an undefined value at /usr/share/koha/lib/C4/Search.pm
> line 2126" when searching the catalog?

That I don't know. If you have the record in a single file, perhaps you
could try
$ yaz-marcdump your file
to see whether something wrong is detected ?

My two cents,
Sébastien.


More information about the Koha mailing list