[Koha-devel] Tag error, and CGI::Carp and DebugLevel misbehaviour

Paul POULAIN paul.poulain at free.fr
Wed Dec 5 14:16:06 CET 2007


Ignacio Javier a écrit :
> Hi all:
> 
> 1) When trying to add a MARC Record (Addbiblio.pl), appears a software
> error:
> 
> 	Tag "" is not a valid tag. at
> /usr/local/share/perl/5.8.8/C4/Biblio.pm 	line 2307
> 	CGI::Carp 
> 
Those errors are VERY hard to understand and debug. The best would be to 
add some warn "==> ".Data::Dumper::Dumper($dunno_what) just before the 
line 2307 and investigate the resulting output to understand what is 
going wrong.
Anyway, it means that MARC::Record has found that you tried to define a 
tag (000 => 999) as "" (empty), which is illegal. MARC::Record, in this 
case, dies, and there is no possibility to have it just ignore the thing 
and continue anyway.

-- 
Paul POULAIN
BibLibre SARL
Expert en Logiciels Libres pour l'info-doc
Tel : 04 91 31 45 19





More information about the Koha-devel mailing list