[Koha-bugs] [Bug 8970] MARC import gives error under Starman/Plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 22 07:52:34 CEST 2014


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

Robin Sheat <robin at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robin at catalyst.net.nz

--- Comment #14 from Robin Sheat <robin at catalyst.net.nz> ---
I can somewhat reproduce this:

My method:
1) Tools -> Stage MARC records for import - staged a small marc file with one
entry.
2) Fill out the boxes (left everything as default, except for giving it a
comment.)
3) Stage for import - everything seems to be fine
4) Follow the Manage staged records link
5) Note that my record is there.


I did see:

seek() on closed filehandle _GEN_44 at /usr/share/perl5/CGI/Emulate/PSGI.pm
line 32.
Can't seek stdout handle: Bad file descriptor at
/usr/share/perl5/Plack/App/WrapCGI.pm line 87.
 at /usr/share/perl/5.18/Carp.pm line 100

in the logs, but no error apparent in the browser. I assume that something (the
progress updater?) is closing the output handle when plack/starman doesn't
expect it.

We have seen the parseerror before, long ago. It was something to do with
invalid JSON appearing in the upload, which would be consistent with this. I
also see:

192.168.56.1 - - [22/Apr/2014:17:47:41 +1200] "POST
/cgi-bin/koha/tools/stage-marc-import.pl HTTP/1.1" 500 5728
"http://test-intra.debmaker32/cgi-bin/koha/tools/stage-marc-import.pl"
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0"

that is, a 500 error. So there is something going wrong.

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


More information about the Koha-bugs mailing list