Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mojo::JSON "new" issue #14

Open
srynobio opened this issue Jul 23, 2015 · 5 comments
Open

Mojo::JSON "new" issue #14

srynobio opened this issue Jul 23, 2015 · 5 comments

Comments

@srynobio
Copy link

I'm trying to complete a setup of jobControl but when I run the following command:

rex_job_control jobcontrol setup

I get the following warn/errors:

[Thu Jul 23 15:11:12 2015] [debug] Reading configuration file "/etc/rex/jobcontrol.conf"
[Thu Jul 23 15:11:12 2015] [debug] Your secret passphrase needs to be changed
Can't locate object method "new" via package "Mojo::JSON" at /usr/share/perl5/vendor_perl/Rex/JobControl/Helper/AuditLog.pm line 23, <DATA> line 2231.

It seem more like a warning but i can't complete any of the step after this point, I have Mojolicious-6.14 installed.

Also, how would I change my secret passphrase?

Thanks!

@kwakwaversal
Copy link

That's an error I'm afraid. The version of Mojolicious you have installed doesn't have the object-orientated interface to Mojo::JSON.

Removed deprecated object-oriented Mojo::JSON API.

It was removed in 5.73 - https://github.com/kraih/mojo/blob/master/Changes#L234

Until this repo is updated, you could always install an older version of Mojolicious that 5.73.

@krimdomu
Copy link

Hi all,
thanks for the report and the information about Mojolicious 5.73.
Currently i have problems with my handwrists and can't do much. I'm going to look at it as soon as it is possible.

@mbroadhead
Copy link

There is now a pending pull request that fixes this. See #9

@ehuelsmann
Copy link
Contributor

@mbroadhead @srynobio This should now have been fixed. Please verify.

@srynobio
Copy link
Author

srynobio commented Aug 2, 2019

I'll leave @mbroadhead to verify fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants