[Koha-devel] Plack : can't locate object method error...

Tomas Cohen Arazi tomascohen at gmail.com
Thu Feb 8 17:39:07 CET 2018


Check JSON::Validator version.

El jue., 8 de feb. de 2018 1:35 p. m., Philippe Blouin <
philippe.blouin at inlibro.com> escribió:

> Hi!
> I'm having issues with a freshly installed debian server on which I put a
> 17.05.06 koha.  Plack just won't start.  In the logs I had
>
> Error while loading /installdir/etc/plack.psgi: Can't load application
> from file "/gitdir/api/v1/app.pl": Can't locate object method "cache_dir"
> via package "Swagger2::SchemaValidator" at /usr/share/perl5/Swagger2.pm
> line 41.
> After futile attemps, I then "solved" it by upgrading Swagger2 (manually)
> to 0.89.   It "solved" it, then appeared
>
> Error while loading /installdir/etc/plack.psgi: Can't load application
> from file "/gitdir/api/v1/app.pl": Can't locate object method "data" via
> package "Mojo::URL" at /usr/local/share/perl/5.20.2/Swagger2.pm line 47
> Mojo and Mojolicious and everything else I check seem to be at their
> latest version.  No patch from the community (for 17.11+) seem related.
>
> Of course, that doesn't happen on my other servers, but they are "old", so
> somewhere a .pm is different for sure.
>
> Any suggestion?
> --
> Philippe Blouin,
> Responsable du développement informatique
>
> Tél.  : (888) 604-2627
> philippe.blouin at inLibro.com
> inLibro | pour esprit libre | www.inLibro.com
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/



-- 
Tomás Cohen Arazi
Theke Solutions (https://theke.io <http://theke.io/>)
✆ +54 9351 3513384
GPG: B2F3C15F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180208/004210d3/attachment.html>


More information about the Koha-devel mailing list