[koha-Infos] Creation de notice apres importation
"Michaël P."
mytechos at altern.org
Jeu 8 Juil 15:39:27 CEST 2004
Paul POULAIN wrote:
> Michaël P. a écrit :
>
>> Impossible de faire fonctionner ce script. Voici ce qu'il me sort:
>>
>> $ ./dumpmarc.pl -file noticesiptparis.iso -n 1
>> NUM : 1
>> Invalid indicators " fre" forced to blanks in record 1 for tag 040
>>
>> no subfield data found in record 1 for tag 040
>> Invalid indicators " ADMIN/ADMIN" forced to blanks in record 1 for
>> tag 944
>>
>> no subfield data found in record 1 for tag 944
>> Invalid indicators " ISO00000100" forced to blanks in record 1 for
>> tag 951
>>
>> no subfield data found in record 1 for tag 951
>> Invalid indicators " BFPT" forced to blanks in record 1 for tag 956
>>
>> no subfield data found in record 1 for tag 956
>> Invalid indicators " 1" forced to blanks in record 1 for tag 958
>>
>> no subfield data found in record 1 for tag 958
>> Invalid indicators " P" forced to blanks in record 1 for tag 959
>>
>> no subfield data found in record 1 for tag 959
>> Invalid indicators " 0" forced to blanks in record 1 for tag 960
>>
>> no subfield data found in record 1 for tag 960
>> ==================
>> 1 record parsed
>>
>
> Et bien il marche tout à fait ce script. Cela signifie par contre que le
> fichier n'est pas iso2709 valide. (Il suffit d'un octet mal positionné
> pour mettre du bazard dans un fichier iso2709...)
> Essayez avec l'option -w :
> w : warning and strict off. If your dump fail, try -w option. It it
> works, then, the file is iso2709, but a buggy one !
L'option -w n'existe pas dans ma version du fichier. Mais en
décommentant les lignes:
$batch->warnings_off();
$batch->strict_off();
J'obtiens le résultat suivant, identique à ce que j'avais obtenu
avec mon script:
NUM : 1
NUMBER 1 =>
LDR 008410000000002890004500
100 _a Marx, Karl,
_d 1818-1883.
200 _bLivre
240 _a Selections.
245 _a Morceaux choisis /
_c Karl Marx. Introd. par H. Lefebvre et N. Gutermann.
260 _a [Paris] :
_b Gallimard,
_c 1934.
300 _a 463 p. ;
_c 19 cm.
500 _a -- MANQUANT --.
504 _a Bibliography: p.[31]-32.
505 _a Marx philosophie par P. Y. Nizan.-- Marx Âeconomiste
par J. Duret.
650 _a Philosophie
700 _a Lefebvre, Henri,
_d 1905-
700 _a Gutermann, Norbert
_d (1900-....)
700 _a Nizan, P. Y.
_t Marx philosophie.
700 _a Duret, Jean
740 _a Marx philosophie. Marx Âeconomiste.
Est-ce que le fait d'avoir un fichier marc "un peu corrompu" a pu
affecter la création de notice dans Koha? Cela me semble peu
vraisemblable.
--
Michaël P.
gpg: D4C8 F73D A000 71C7 44EF 27E6 8982 4991 7126 3CE3
Plus d'informations sur la liste de diffusion Infos