MojoX::Renderer::Xslate (aka Mojolicious::Plugin::XslateRenderer fails installation

55 views
Skip to first unread message

Ekki Plicht

unread,
Mar 16, 2015, 11:19:57 AM3/16/15
to mojol...@googlegroups.com
Hi.
The installation of Mojolicious::Plugin::XslateRenderer fails on Mojolicious 6.03 with thee following error:

Can't locate object method "new" via package "Mojo::Loader"  at /user/.cpanm/work/1426518514.18554/MojoX-Renderer-Xslate-0.09/blib/lib/MojoX/Renderer/Xslate.pm line 31.


What options do I have, short of rewriting the failing module?


TIA,
Ekki








sri

unread,
Mar 16, 2015, 12:11:51 PM3/16/15
to mojol...@googlegroups.com
What options do I have, short of rewriting the failing module?

Fix the module and send a pull request.


--
sebastian 

Ekki Plicht

unread,
Mar 16, 2015, 2:08:32 PM3/16/15
to mojol...@googlegroups.com
Hm, that's the answer I was most worried about. I will look into switching to another templating engine then.

Thanks,
Ekki

sri

unread,
Mar 16, 2015, 2:12:38 PM3/16/15
to mojol...@googlegroups.com
Hm, that's the answer I was most worried about. I will look into switching to another templating engine then.

That sounds insane. A fix should be as trivial as replacing "Mojo::Loader->new->data(" with "Mojo::Loader::data_section(".

--
sebastian

Per Carlson

unread,
Mar 16, 2015, 3:38:38 PM3/16/15
to mojol...@googlegroups.com
Hi


Den mandag 16. mars 2015 skrev sri <kra...@googlemail.com> følgende:
Hm, that's the answer I was most worried about. I will look into switching to another templating engine then.

That sounds insane. A fix should be as trivial as replacing "Mojo::Loader->new->data(" with "Mojo::Loader::data_section(".

It's already fixed upstream.
 


--
Pelle

Research is what I'm doing when I don't know what I'm doing.
- Wernher von Braun

Ekki Plicht

unread,
Mar 16, 2015, 4:18:52 PM3/16/15
to mojol...@googlegroups.com


Am Montag, 16. März 2015 20:38:38 UTC+1 schrieb Pelle:
Hi

Den mandag 16. mars 2015 skrev sri <kra...@googlemail.com> følgende:
Hm, that's the answer I was most worried about. I will look into switching to another templating engine then.

That sounds insane. A fix should be as trivial as replacing "Mojo::Loader->new->data(" with "Mojo::Loader::data_section(".

It's already fixed upstream.
 



Ah, ok, great news. Thanks!

Ekki
 
Reply all
Reply to author
Forward
0 new messages