[Koha] Error when staging MARC records for import

Katrin Fischer Katrin.Fischer.83 at web.de
Sun Nov 1 23:39:45 NZDT 2015

Hi Pedro,

I am not sure the warnings in the logs are related to the problems you

The citation column would normally be filled from 245 (MARC21) or 200
(UNIMARC) from your imported records. Have you checked that your records
are valid and match the MARC flavor of your installation?

I think there is an existing bug about the status bar display. Which
version are you using?

Can you share a record that has not imported correctly?

Hope this helps,


Am 31.10.2015 um 14:21 schrieb Pedro Amorim:
> Hello,
> I have been banging my head with this problem for the past couple of days
> now and I have no idea what might be causing it.
> When I upload the .mrc file with the records to import all goes fine but
> when I press "Stage for import" it stays at 0% for a while, then fills the
> logs with errors (see below) and after that it goes to "manage staged
> records" as if everything went fine. It lists how many records were staged
> and 0 errors found.
> However, my imported records don't seem right:
> - The "citation" column is null for every record;
> - Some MARC fields don't seem to have been imported;
> I'm not sure if the problem is with the .mrc file or my Koha installation,
> or both.
> I've been focusing on the "binmode() on closed filehandle STDOUT" message,
> changing permissions in files, changing owners, changing the file
> permission before uploading it, but nothing.
> Error stack:
> [Sat Oct 31 13:06:24 2015] [error] [client] [Sat Oct 31 13:06:24
> 2015] stage-marc-import.pl: binmode() on closed filehandle STDOUT at
> /usr/share/koha/lib/C4/Templates.pm line 122., referer:
> [Sat Oct 31 13:06:24 2015] [error] [client] [Sat Oct 31 13:06:24
> 2015] stage-marc-import.pl: Filehandle STDOUT reopened as FH only for input
> at /usr/lib/perl5/Template/Provider.pm line 965., referer:
> Thanks,
> Pedro Amorim
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha

More information about the Koha mailing list