[Koha] Possible bug v 4.02 - serials_stat.pl

Mahesh T Pai paivakil at gmail.com
Thu Jun 16 03:24:01 NZST 2011


Dear all,

I have a fresh install of koha, installed from the stable tarball
(v. 4.02.06) on a Debian stable + testing.

I restored data from an earlier version (v. 3.???) of koha (the
library is not fully "in production" yet). Most things are apparently
as they ought to be, so far.

But, I get this error from Staff interface > Reports > Statistics
Wizards > Serials:-

<quote from the browser>

Koha error

The following fatal error has occurred:

Global symbol "$branches" requires explicit package name at
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl line 148.
Global symbol "$branches" requires explicit package name at
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl line 148.
Global symbol "$branches" requires explicit package name at
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl line 148.
Execution of /usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl
aborted due to compilation errors.

</quote>

<from Koha-error_log>

[Wed Jun 15 20:12:28 2011] [error] [client 127.0.0.1] [Wed Jun 15
20:12:28 2011] serials_stats.pl: Global symbol "$branches" requires
explicit package name at
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl line 148.,
referer: http://library:8080/cgi-bin/koha/reports/reports-home.pl
[Wed Jun 15 20:12:28 2011] [error] [client 127.0.0.1] [Wed Jun 15
20:12:28 2011] serials_stats.pl: Global symbol "$branches" requires
explicit package name at
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl line 148.,
referer: http://library:8080/cgi-bin/koha/reports/reports-home.pl
[Wed Jun 15 20:12:28 2011] [error] [client 127.0.0.1] [Wed Jun 15
20:12:28 2011] serials_stats.pl: Global symbol "$branches" requires
explicit package name at
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl line 148.,
referer: http://library:8080/cgi-bin/koha/reports/reports-home.pl
[Wed Jun 15 20:12:28 2011] [error] [client 127.0.0.1] [Wed Jun 15
20:12:28 2011] serials_stats.pl: Execution of
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl aborted due
to compilation errors., referer:
http://library:8080/cgi-bin/koha/reports/reports-home.pl
[Wed Jun 15 20:25:39 2011] [error] [client 127.0.0.1] [Wed Jun 15
20:25:39 2011] serials_stats.pl: Global symbol "$branches" requires
explicit package name at
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl line 148.,
referer: http://library:8080/cgi-bin/koha/reports/reports-home.pl
[Wed Jun 15 20:25:39 2011] [error] [client 127.0.0.1] [Wed Jun 15
20:25:39 2011] serials_stats.pl: Global symbol "$branches" requires
explicit package name at
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl line 148.,
referer: http://library:8080/cgi-bin/koha/reports/reports-home.pl
[Wed Jun 15 20:25:39 2011] [error] [client 127.0.0.1] [Wed Jun 15
20:25:39 2011] serials_stats.pl: Global symbol "$branches" requires
explicit package name at
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl line 148.,
referer: http://library:8080/cgi-bin/koha/reports/reports-home.pl
[Wed Jun 15 20:25:39 2011] [error] [client 127.0.0.1] [Wed Jun 15
20:25:39 2011] serials_stats.pl: Execution of
/usr/share/koha/intranet/cgi-bin/reports/serials_stats.pl aborted due
to compilation errors., referer:
http://library:8080/cgi-bin/koha/reports/reports-home.pl
</quote>

I refreshed the page, so the same entries have appeared twice.

Perl info:-

<begin>

perl --version

This is perl 5, version 12, subversion 3 (v5.12.3) built for
x86_64-linux-gnu-thread-multi
(with 37 registered patches, see perl -V for more detail)

<end perl info>

(perl -V is too verbose - I suspect it is not relevant.

Libcgi-session-perl is version 4.43-1.


I look at the man page, which shows this:-

<quote from the man page>
reports::serials_stats(.U3.sp.em.r)Contributed Perl
Document.ra.et.pi.oo.rn.ts::serials_stats(3pm)



serials_out
       plugin that shows a stats on serials

DESCRIPTION
POD ERRORS
       Hey! The above document had some coding errors, which are explained
       below:
       Around line 38:
           =over is the last thing in the document?!



perl v5.12.3                      2011-05-18       reports::serials_stats(3pm)

</quote>

I notice that all reports:*_stats.3pm files in man/man3 directory have
this problem: "Around line XX =over is the last thing in the document"

Is something misconfigured?

Thanks in advance.









More information about the Koha mailing list