[Koha-bugs] [Bug 13799] Add base for building RESTful API
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 21 15:16:43 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13799
--- Comment #15 from Julian Maurice <julian.maurice at biblibre.com> ---
It seems that Swagger2 can't work with Mojolicious versions packaged in Debian
wheezy
Tested with Mojolicious 2.98 (wheezy):
$ perl -MSwagger2 -e ''
Can't locate encode_json.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr
/local/lib/site_perl .) at /usr/share/perl5/Mojo/Base.pm line 32.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Swagger2.pm
line 50.
Compilation failed in require.
BEGIN failed--compilation aborted.
and with Mojolicious 3.97 (wheezy-backports)
$ perl -MSwagger2 -e ''
"encode_json" is not exported by the Mojo::JSON module
"decode_json" is not exported by the Mojo::JSON module
Can't continue after import errors at
/usr/local/share/perl/5.14.2/Swagger2.pm line 50
BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Swagger2.pm
line 50.
Compilation failed in require.
BEGIN failed--compilation aborted.
With Mojolicious 5.54 (jessie) it works.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list