[dancer-users] Upgrade issue (maybe)
Stefan Hornburg (Racke)
racke at linuxia.de
Wed Jan 4 07:46:33 GMT 2017
On 01/03/2017 09:00 PM, Clive Eisen wrote:
>
> I am moving a working Dancer2 app from centos6 to 7
>
> When running it I get
>
> Class::XSAccessor: invalid instance method invocant: no hash ref
> supplied at /usr/local/share/perl5/Dancer2/Core/Role/Serializer.pm line 71.
>
> I have narrowed it down to a single line - if I comment this out the app
> starts fine - albeit with the data from $file_string missing and
> therefore useless
>
> $sql_config = from_yaml($file_string);
>
> But why on earth is it failing at compile time?
>
> Working on 6 - Dancer2 0.160003
>
> Not working on 7 - Dancer2 0.204002
>
> Downgraded 7 to 0.160003 - works
>
> have I missed something that changed between versions of Dancer2?
>
> TIA
Hello Clive,
did you check that you meet all Perl module prerequisites for
Dancer2.
These have changed between the Dancer2 versions mentioned above.
Regards
Racke
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20170104/615b7809/attachment.sig>
More information about the dancer-users
mailing list