OPMDG/opm-core

Can't locate object method "secrets" via package "OPM"

Closed this issue · 4 comments

On Debian Wheezy I have Perl v5.14.2. I've installed

apt-get install libmojolicious-perl

however I'm unable to start the server.

Couldn't load application from file "script/opm": Can't locate object method "secrets" via package "OPM" at /usr/share/perl5/Mojo/Server.pm line 13

any idea what's wrong?

ok, solved by installing CPAN module:

cpan Mojolicious::Plugin::I18N

now I'm getting:

Can't load application from file "/opt/opm-core/ui/script/opm": Can't locate object method "bridge" via package "Mojolicious::Routes" at /opt/opm-core/ui/script/../lib/OPM.pm line 103

All right, this should solve the issue:

curl -L cpanmin.us | perl - Mojolicious@4.99
curl -L cpanmin.us | perl - Mojolicious::Plugin::I18N@0.9
curl -L cpanmin.us | perl - DBI
curl -L cpanmin.us | perl - DBD::Pg

Could you add to the README link to http://opm.readthedocs.org/opm-core/Installation.html ?

I've update the README

thanks

Great, thanks.