[Koha-bugs] [Bug 12412] Add ability for plugins to convert arbitrary files to MARC from record staging tool

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 27 16:45:03 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12412

--- Comment #15 from Pete Edwards <koha at jsense.co.uk> ---
(In reply to Pete Edwards from comment #14)
> This is a really useful facility and I am using it import directly from
> Excel spreadsheets (XLS binary format). There is a problem if I try and
> re-import the same file. I get the impression that the import tries to
> reload the staged file but in this case it doesn't include the
> transformation step so I get an error:
> 
> stage-marc-import.pl: binmode() on closed filehandle STDOUT at
> /usr/share/koha/lib/C4/Templates.pm line 120., referer:
> http://library-intra.edwards4.co.uk/cgi-bin/koha/tools/stage-marc-import.pl
> stage-marc-import.pl: Filehandle STDOUT reopened as FH only for input at
> /usr/lib/perl5/Template/Provider.pm line 964., referer:
> http://library-intra.edwards4.co.uk/cgi-bin/koha/tools/stage-marc-import.pl
> 
> Have I understood the issue correctly and does the staging facility need to
> remember the transformation too?

Sorry - this was a red herring. I had another error in my plugin meaning I
couldn't load the file. However, I still get the following error from somewhere
when I import a file:
stage-marc-import.pl: binmode() on closed filehandle STDOUT at
/usr/share/koha/lib/C4/Templates.pm line 120
I don't know what causes this. Has anyone seen similar?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list