[Koha] Koha 22.11.5v Fine amount did not Calculate

MASTeR Library mamcet.library10 at gmail.com
Wed May 31 01:51:58 NZST 2023


Katrin Fischer sir,

koha until 22.11.3 Fine calculation was calculated perfectly. But fine
doesn't calculate since upgrade Koha 22.11.5 and 22.11.6
My Koha failed to calculate fines despite setting all preferences
correctly. I get the following errors when running the ./fines.pl manually.

Can't locate Koha.pm in @INC (you may need to install the Koha module)
(@INC con tains: /etc/perl /usr/local/lib/perl/5.18.2
/usr/local/share/perl/5.18.2 /usr/li b/perl5 /usr/share/perl5
/usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/ site_perl .) at
/etc/perl/C4/Context.pm line 115.
BEGIN failed--compilation aborted at /etc/perl/C4/Context.pm line 115.
Compilation failed in require at ./fines.pl line 33.
BEGIN failed--compilation aborted at ./fines.pl line 33.

Please help and reply.

On Tue, 30 May 2023, 4:24 pm Katrin Fischer, <katrin.fischer.83 at web.de>
wrote:

> Hi,
>
> all jobs should always be run as your koha user. You can use 'sudo
> koha-shell instance' to switch to that user and then try to run the job
> again.
>
> Some other things to make sure of:
>
>    - system preference finesmode is set to "Calculate and charge"
>    - today is not a holiday in the calendar of the library
>    - the maxfine setting in circulation rules is > 0
>
> Hope this helps,
>
> Katrin
> On 30.05.23 10:32, MASTeR Library wrote:
>
> Katrin Fischer sir,
> I have Enclosed fines.pl error Screen link.
> https://i.ibb.co/K2Qzy83/fines-error.png
>
> On Tue, May 30, 2023 at 12:39 PM MASTeR Library <
> mamcet.library10 at gmail.com> wrote:
>
>> Katrin Fischer
>> Thank you for your reply,
>> I have run the fines.pl, following error?
>> Use of uninitialized value in string eq at
>> /usr/share/koha/lib/C4/Overdues.pm line 612.
>>
>> On Mon, May 29, 2023 at 5:44 PM Katrin Fischer <katrin.fischer.83 at web.de>
>> wrote:
>>
>>> Hi,
>>>
>>> the error you posted looks like it's from the overdues.pl script. It
>>> complains about a missing letter ODUE. So you might want to check your
>>> notices and overdue notice triggers. But this won't affect fine
>>> calculation.
>>>
>>> Fines are calculated independently of the letters via the fines.pl
>>> cronjob.
>>>
>>> If you run fines.pl, is there any error?
>>>
>>> Fines not calculating can have a lot of reasons. Are you using a
>>> CurrencyFormat other than US?
>>>
>>> Hope this helps,
>>>
>>> Katrin
>>>
>>> On 20.05.23 15:25, MASTeR Library wrote:
>>> > Hi, friends using koha 22.11.5 version please reply to me with the
>>> above
>>> > question.
>>> >
>>> > On Sat, May 20, 2023 at 10:39 AM MASTeR Library <
>>> mamcet.library10 at gmail.com>
>>> > wrote:
>>> >
>>> >> Hi Koha Community Members,
>>> >> I just updated my Koha from 22.11.3 to 22.11.5 when I upgraded the
>>> server
>>> >> from Ubuntu MATE 22.11. patrons' account book overdrive fine is not
>>> >> calculated, only the date shown on the red colour fine amount is not
>>> >> displayed.
>>> >>
>>> >> I try to manually fine script commands. cd /etc/cron.daily/
>>> ./koha-common
>>> >>
>>> >> Get the following error/warning:
>>> >>
>>> >> No circulation ODUE letter transported by print at
>>> >> /usr/share/koha/lib/C4/Letters.pm line 585.
>>> >>
>>> >> Use of uninitialized value in string eq at
>>> >> /usr/share/koha/lib/C4/Overdues.pm line 612.
>>> >>
>>> >> I Enclosed the Error Screen message:
>>> https://i.ibb.co/W5DkRbk/Fine.png
>>> >>
>>> >> Can anybody tell me what this means? Is it a big problem?
>>> >>
>>> >>
>>> >> --
>>> >>   Thanking you..
>>> >>
>>> >> Librarian,
>>> >> MAMCET <http://mamcet.com/>
>>> >> Trichy-Chennai Trunk Road,
>>> >> Siruganur, Tiruchirappalli-621 105.
>>> >>
>>> >>
>>> _______________________________________________
>>>
>>> Koha mailing list  http://koha-community.org
>>> Koha at lists.katipo.co.nz
>>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>>>
>>
>>
>> --
>>  Thanking you..
>>
>> Librarian,
>> MAMCET <http://mamcet.com/>
>> Trichy-Chennai Trunk Road,
>> Siruganur, Tiruchirappalli-621 105.
>>
>>
>
> --
>  Thanking you..
>
> Librarian,
> MAMCET <http://mamcet.com/>
> Trichy-Chennai Trunk Road,
> Siruganur, Tiruchirappalli-621 105.
>
>


More information about the Koha mailing list