[Koha] Unwanted e-mail about UseTransportCostMatrix

Jonathan Druart jonathan.druart at bugs.koha-community.org
Wed Jun 26 10:32:14 NZST 2019


Hi Michael,
Restart memcached and plack to make sure the pref's value is not
fetched from the cache.
The code raising this warning is pretty trivial:

189     my $use_transport_cost_matrix =
C4::Context->preference("UseTransportCostMatrix");
190     if ($use_transport_cost_matrix) {
191         $transport_cost_matrix = TransportCostMatrix();
192         unless (keys %$transport_cost_matrix) {
193             warn "UseTransportCostMatrix set to yes, but matrix
not populated";

Le mar. 25 juin 2019 à 03:30, Michael Kuhn <mik at adminkuhn.ch> a écrit :
>
> Hi
>
> Since two days I am receiving the following unwanted e-mail from my demo
> installation (running Koha 19.05.00) every hour:
>
> ##################################
>
> Subject: Cron <root at vmi47659>    cd / && run-parts --report /etc/cron.hourly
>
>
> /etc/cron.hourly/koha-common:
> UseTransportCostMatrix set to yes, but matrix not populated at
> /usr/share/koha/lib/C4/HoldsQueue.pm line 193.
>
> ##################################
>
> But in fact system preference "UseTransportCostMatrix" is NOT set to yes:
>
> mysql> select value from systempreferences where
> variable="UseTransportCostMatrix";
> +-------+
> | value |
> +-------+
> | 0     |
> +-------+
> 1 row in set (0.00 sec)
>
>
> What does it mean and how can I prevent getting this unwanted e-mail?
>
> Best wishes: Michael
> --
> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
> T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch
> _______________________________________________
> 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