Hi David, I see that you haven't received any replies on the list yet. Sadly I am not sure what is causing the issues you have. For the matching I found an older mail thread, suggesting a different syntax for the match parameter: http://koha.1045719.n5.nabble.com/bulkmarcimport-problems-td5492136.html ./bulkmarcimport.pl -d -fk -match=barcode,999c -commit 1000 -v -file /tmp/newer40_77000.mrc From that, maybe try: -match=Control-umber,001 If you are stuck, stepping into #koha IRC can be also a good idea: https://koha-community.org/get-involved/irc/ Often people will be able to help you to get to the root of an error message there. Katrin On 22.04.21 11:02, David Schmidt wrote:
Hello koha folks,
### I hope this is the correct list for this kind of email ###
We are currently exporting about 500k recods from a dabis system into a new koha installation.
the export file (MARCXML) goes through some transformations using catmandu.
I imported the first 25k records using this command:
``` bulkmarcimport.pl -M MARCXML -file tmp/marc_001.xml ```
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.
``` bulkmarcimport.pl -M MARCXML -update -isbn -file tmp/marc_002.xml ```
this gives me alot of these errors: ``` WARNING: Updating record failed at /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 470, <GEN24> line 190. ..Use of uninitialized value $originalid in concatenation (.) or string at /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 470, <GEN24> line 194. WARNING: Updating record failed at /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 470, <GEN24> line 194. ```
I also tried using -match but I havent figured out how the parameters for -match are supposed to look like ``` bulkmarcimport.pl -m MARCXML -update -match="001" -file tmp/marc_002.xml ```
``` .Use of uninitialized value $recorddata in pattern match (m//) at /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 603, <GEN24> line 2. unable to search the database for duplicates : No query entered at /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 323, <GEN24> line 2. ```
help or pointers are appreciated.
cheers david
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/