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