A new request with request id 7780 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is :

Title : Koha-devel Digest, Vol 201, Issue 23
Category :
Description :
Send Koha-devel mailing list submissions to
    koha-devel@lists.koha-community.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
    koha-devel-request@lists.koha-community.org

You can reach the person managing the list at
    koha-devel-owner@lists.koha-community.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."


Today's Topics:

1. Re: Difficulties with JSON::Validator after upgrading to
22.05 (Tomas Cohen Arazi)


----------------------------------------------------------------------

Message: 1
Date: Fri, 26 Aug 2022 18:07:13 -0300
From: Tomas Cohen Arazi <tomascohen@gmail.com>
To: Philippe Blouin <philippe.blouin@inlibro.com>
Cc: koha-devel <koha-devel@lists.koha-community.org>
Subject: Re: [Koha-devel] Difficulties with JSON::Validator after
    upgrading to 22.05
Message-ID:
    <CABZfb=VHgWGKkUUi5XiXY9BUGwTOuUYEAM01FWpsgpF7-39bYA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I think it is failing to import something and THEN failing due to that. But
yeah, solved. Now to develop great things

El vie, 26 ago 2022 15:46, Philippe Blouin <philippe.blouin@inlibro.com>
escribió:

> Well, you got that right! Upgrading to 22.04 made the error disappear.
>
> But from a programming standpoint, I still don't get why the errors.
>
> Oh well, I just hope JSON::Validator / Mojolicious libraries errors are
> behind us now.
>
> Thanks again!
> Philippe Blouin,
> Directeur de la technologie
>
> Tél. : (833) 465-4276, poste 230
> philippe.blouin@inLibro.com
> inLibro | pour esprit libre | www.inLibro.com
> On 2022-08-26 13:32, Tomas Cohen Arazi wrote:
>
> You've got the wrong library version.
>
> Ubuntu 20.04 is old in terms of the Debian version of is based on. I'm
> pretty sure you can append 'focal' to the repository configuration line and
> it will pull the right dependencies.
>
> El vie, 26 ago 2022 14:08, Philippe Blouin <philippe.blouin@inlibro.com>
> escribió:
>
>> Hi folks!
>>
>> Got a really weird error in my logs right now:
>>
>> "is_bool" is not exported by the JSON::Validator::Util module
>> "is_num" is not exported by the JSON::Validator::Util module
>> "str2data" is not exported by the JSON::Validator::Util module
>> Can't continue after import errors at /usr/share/perl5/JSON/Validator/Schema.pm line 7.
>> BEGIN failed--compilation aborted at /usr/share/perl5/JSON/Validator/Schema.pm line 7.
>> Compilation failed in require at /usr/share/perl5/Mojo/Base.pm line 134.
>> BEGIN failed--compilation aborted at /usr/share/perl5/JSON/Validator/Schema/Draft4.pm line 2.
>> Compilation failed in require at /usr/share/perl5/Mojo/Base.pm line 134.
>> BEGIN failed--compilation aborted at /usr/share/perl5/JSON/Validator/Schema/OpenAPIv2.pm line 2.
>> Compilation failed in require at /inlibro/git/koha-v22-dev-blou/Koha/REST/V1.pm line 25.
>> BEGIN failed--compilation aborted at /inlibro/git/koha-v22-dev-blou/Koha/REST/V1.pm line 25.
>> Compilation failed in require at (eval 22) line 1.
>>
>> Which ruins most table displays.
>>
>> The error is weird in many ways, including the fact that
>> /usr/share/perl5/JSON/Validator/Util.pm DOES export is_bool and friend in
>> its header.
>>
>> cpan tells me I have the latest version, etc...
>>
>> I have Ubuntu 20.04, which I'm upgrading now to 22.04, but I don't expect
>> much to change there considering the error.
>>
>>
>> Any suggestion?
>>
>>
>> Best regards,
>> --
>> Philippe Blouin,
>> Directeur de la technologie
>>
>> Tél. : (833) 465-4276, poste 230
>> philippe.blouin@inLibro.com
>> inLibro | pour esprit libre | www.inLibro.com
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel@lists.koha-community.org
>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : https://www.koha-community.org/
>> git : https://git.koha-community.org/
>> bugs : https://bugs.koha-community.org/
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220826/e89e031e/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


------------------------------

End of Koha-devel Digest, Vol 201, Issue 23
*******************************************


NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.