[Koha] Z39.50: Can't call method "size" on an undefined value
Giuseppe.Angilella at ct.infn.it
Giuseppe.Angilella at ct.infn.it
Tue Jan 4 03:18:46 NZDT 2005
Hi everybody,
I eventually managed to have a Z39.50 client running here (Koha 2.2.0RC5
on RedHat 9.0).
Looking at the log file, it seems that the client does connect to the
(various) servers defined, since I can read lines such as:
10027/16 : Processing isbn=0691043655 at LIBRARY OF CONGRESS, WASHINGTON DC, USA z3950.loc.gov:7090 voyager MARC21 (6 forks)
10027/16 : 2 >>
10027/16 : creating and 10027/16 : working on results entry 62
10027/16 : connected to LIBRARY OF CONGRESS, WASHINGTON DC, USA
However, after a search has been done, I get error messages such as:
Can't call method "size" on an undefined value at /usr/local/koha/intranet/scripts/z3950daemon/processz3950queue line 277.
I tried to edit the processz3950queue script, and line 277 is indeed where
size() is first called:
my $numresults=$rs->size();
(Line numbering may be different from your copies of processz3950queue,
since I had to include the line:
my $context = C4::Context->new("/etc/koha.conf");
as suggested in previous postings, to have processz3950queue working.)
I believe that a search has been done, but the results cannot be retrieved
and/or saved in Koha's database, because at this point the perl script
generates the above error.
In addition to that, and seemingly independently from that,
processz3950queue enters a loop, with many lines like
starting loop
in the log file.
I did specify
export LIB5PERL=/usr/local/koha/intranet/modules
and did start the Z39.50 client via
./z3950-daemon-launch.sh
Any help?
Thank you again in advance.
Giuseppe.
More information about the Koha
mailing list