[Catalyst] Argh! Trying to upgrade Catalyst -- getting "Can't use
string as a HASH ref..."
will trillich
will.trillich at serensoft.com
Mon Apr 1 13:25:40 GMT 2013
Ah yes, crikey! wrong Makefile.PL!
Running Makefile.PL for Catalyst::Runtime griped only that "*
Test::WWW::Mechanize::Catalyst*" was out of date. We updated that via cpanm
so now Makefile.PL has no complaints...
Still "can't use string as a HASH ref" tho :( when we try to use the Cache
plugin.
On Sun, Mar 31, 2013 at 11:55 PM, Tomas Doran <bobtfish at bobtfish.net> wrote:
>
> On 31 Mar 2013, at 19:58, will trillich <will.trillich at serensoft.com>
> wrote:
>
> > Hmm. I don't see anything out of line here...?
> >
> > $ perl Makefile.PL
> > include /home/will/projects/perl-mvc/Waste/inc/Module/Install.pm
> > include inc/Module/Install/Metadata.pm
> > include inc/Module/Install/Base.pm
> > include inc/Module/Install/Makefile.pm
> > Cannot determine perl version info from lib/Waste/Web.pm
> > include inc/Module/Install/Catalyst.pm
> > include inc/Module/Install/Include.pm
> > include inc/File/Copy/Recursive.pm
> > *** Module::Install::Catalyst
> > Please run "make catalyst_par" to create the PAR package!
> > *** Module::Install::Catalyst finished.
> > include inc/Module/Install/Scripts.pm
> > include inc/Module/Install/AutoInstall.pm
> > include inc/Module/AutoInstall.pm
> > *** Module::AutoInstall version 1.04
> > *** Checking for Perl dependencies...
> > [Core Features]
> > - Test::More ...loaded.
> (0.98 >=3D 0.88)
> > - Catalyst::Runtime ...loaded.
> (5.90020 >=3D 5.80032)
> > - Catalyst::Plugin::ConfigLoader ...loaded.
> (0.32)
> > - Catalyst::Plugin::Static::Simple ...loaded.
> (0.29)
> > - Catalyst::Action::RenderView ...loaded.
> (0.14)
> > - Moose ...loaded.
> (2.0801)
> > - namespace::autoclean ...loaded.
> (0.13)
> > - Config::General ...loaded.
> (2.49)
> > - Catalyst::Plugin::Session ...loaded.
> (0.29)
> > - Catalyst::Plugin::Session::Store::DBIC ...loaded.
> (0.11)
> > - Catalyst::Plugin::Session::State::Cookie ...loaded.
> (0.17)
> > - Catalyst::Plugin::Authentication ...loaded.
> (0.10016)
> > - Catalyst::Plugin::Authentication::Credential::Password ...loaded. (0)
> > - Catalyst::Plugin::Authorization::Roles ...loaded.
> (0.08)
> > - Catalyst::Plugin::Cache ...loaded.
> (0.09)
> > - DBIx::Class::Cursor::Cached ...loaded.
> (1.000001)
> > *** Module::AutoInstall configuration finished.
> > include inc/Module/Install/WriteAll.pm
> > include inc/Module/Install/Win32.pm
> > include inc/Module/Install/Can.pm
> > include inc/Module/Install/Fetch.pm
> > Writing Makefile for Waste::Web
> > Writing MYMETA.yml and MYMETA.json
> > Writing META.yml
> >
>
> That's your app's Makefile.PL
>
> I asked for the Makefile.PL for Catalyst::Runtime (as that includes the
> 'you must upgrade this plugin for this version of Catalyst' warnings.
>
> > And our app class is same as I posted in the original message of this
> thread -- very standard:
> >
> > package Waste::Web;
> > use Moose;
> > use namespace::autoclean;
> >
> > use Catalyst::Runtime 5.80;
> >
> > use Catalyst qw/
> > ConfigLoader
> > Static::Simple
> > Session
> > Session::Store::DBIC
> > Session::State::Cookie
> > Authentication
> > Authentication::Credential::Password
> > Authorization::Roles
> > Cache
> > /;
> > use Waste::Lib::CSV;
> >
> > extends 'Catalyst';
> >
> > our $VERSION =3D '1.10';
> >
> > __PACKAGE__->config(
> > name =3D> 'Waste::Web',
> > # Disable deprecated behavior needed by old applications
> > disable_component_resolution_regex_fallback =3D> 1,
> > );
> >
> > # Start the application
> > __PACKAGE__->setup();
> >
>
> Yeah, I'd strongly guess it's one of the plugins :)
>
> > Which cpanm module needs an upgrade? And is there a way for me to figure
> that out for next time so I don't have to bother the list with it? :)
>
>
> Hopefully the one running the -Runtime Makefile.PL will tell you :)
>
> Cheers
> t0m
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
-- =
Will Trillich :: 812.454.6431
=93Grading takes away all the fun from failing. And a huge part of education
is about failure.=94 -- Shimon Schocken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20130401/4b40d=
eea/attachment.htm
More information about the Catalyst
mailing list