<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hello koha folks,<br></div><div><br></div><div>###<br></div><div>I hope this is the correct list for this kind of email<br></div><div>###<br></div><div><br></div><div><br></div><div>We are currently exporting about 500k recods from a dabis system into a new koha installation.<br></div><div><br></div><div>the export file (MARCXML) goes through some transformations using catmandu.<br></div><div><br></div><div>I imported the first 25k records using this command:<br></div><div><br></div><div>```<br></div><div>bulkmarcimport.pl -M MARCXML -file tmp/marc_001.xml<br></div><div>```<br></div><div><br></div><div>after
inspecting the records some of the catmandu fixes had to be updated and
now im trying to update the existing koha records with the new
marc_002.xml file.<br></div><div><br></div><div>```<br></div><div>bulkmarcimport.pl -M MARCXML -update -isbn -file tmp/marc_002.xml<br></div><div>```<br></div><div><br></div><div>this gives me alot of these errors:<br></div><div>```<br></div><div>WARNING: Updating record failed at /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 470, <GEN24> line 190.<br></div><div>..Use
of uninitialized value $originalid in concatenation (.) or string at
/usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 470,
<GEN24> line 194.<br></div><div>WARNING: Updating record failed at /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 470, <GEN24> line 194.<br></div><div>```<br></div><div><br></div><div>I also tried using -match but I havent figured out how the parameters for -match are supposed to look like<br></div><div>```<br></div><div>bulkmarcimport.pl -m MARCXML -update -match="001" -file tmp/marc_002.xml<br></div><div>```<br></div><div><br></div><div>```<br></div><div>.Use
of uninitialized value $recorddata in pattern match (m//) at
/usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 603,
<GEN24> line 2.<br></div><div>unable to search the database for
duplicates : No query entered at
/usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 323,
<GEN24> line 2.<br></div><div>```<br></div><div><br></div><div>help or pointers are appreciated.<br></div><div><br></div><div>cheers<br></div><div>david<br></div></body></html>