Done: Bug 18576 <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18576> for the framework test Bug 18577 <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18577> for the import loop Bob On 05/11/2017 10:01 AM, Jonathan Druart wrote:
Hi Bob, Can you open a bug report please?
On Wed, 10 May 2017 at 23:58 Bob Ewart <bob-ewart@bobsown.com> wrote:
I found the problem. I had created a framework for archives, but didn't set the MARC structure.
MARC Bibliographic framework test should have caught that, but didn't.
Staged MARC record management did manage to import a 5 record batch, but fairly consistently went into an endless loop.
Once I set the MARC structure for the framework, it worked.
Bob
On 05/10/2017 07:12 PM, Bob Ewart wrote:
I started a staged import run about 6:16pm with 499 records. It's now
6:46pm and it's still running.
The only error messages I could find are in the koha-zebraserve-output.log, 499 [warn] ir_session (exception). This from a fresh reload of the koha database;
I loaded about 6000 serials records yesterday in 500 record chunks and it went fine although slow. I did use the undo when I forgot to set the framwork--nice. (It would be nice to have an audible alarm when a batch completed.)
It's obviously in some sort of loop and should have terminated with an error message.
I'm going to reboot, reload koha, rebuild_zebra and try again.
What else can I do?
Bob
On 05/10/2017 04:09 PM, Katrin wrote:
Hi Bob,
I've never used the bulkmarcimport.pl with matching rules, so I am not much help there. But wondering, why don't you use the staged import tools? 13.000 records should not be a problem and it's easier to set up and can be undone if the results are not as you expected them to be.
Katrin
On 10.05.2017 15:13, Bob Ewart wrote:
I'mtrying to import about 13K records from our serials and archives recordsin dbText for Libraries into Koha. (Our books were converted in 2009)
I tried: bulkmarcimport.pl -b -file serial-01.mrc -v -framework SER -all -match Control-number,001 001Code
where 001Code is the matching rule set up as Nicole described to match the Control-number to the incoming 001 MARC field. It works on the web.
It ran in a little over 9 seconds and said it processed 500 records. No errors were reported.
After reindexing zebra, none of the records in serial-01.mrc could be found.
What I want to do is to replace any matching records and insert the new ones.
What am I doing wrongwith bulkmarcimport?
-- Bob Ewart Koha 16.11.07