Hi All

Got a really weird issue. I have been building up a rex script to setup a 
digitalocean VM from scratch. It has been working fine - till today.

On installing Dancer2 I am getting failures regardless of the version I install 
(even without rex using cpanm Dancer2)?? The errors begin with:

t/00-report-prereqs.t .................................. ok
[main:9783] error @2015-04-24 14:06:00> Exception caught in 
'core.app.before_request' filter: Hook error: Can't locate object method 
"failure" via package "Foo" (perhaps you forgot to load "Foo"?) at t/app.t line 
150.
at 
/root/.cpanm/work/1429898751.9695/Dancer2-0.159003/blib/lib/Dancer2/Core/App.pm 
line 852. in (eval 69) l. 1

......

t/config_multiapp.t .................................... ok

#   Failed test 'Configuration file parsing failure'
#   at t/config_reader.t line 97.
#                   'Unable to parse the configuration file: 
/root/.cpanm/work/1429898751.9695/Dancer2-0.159003/t/config/environments/failure.yml:
 Can't use an undefined value as a HASH reference at 
/root/.cpanm/work/1429898751.9695/Dancer2-0.159003/blib/lib/Dancer2/Core/Role/ConfigReader.pm
 line 208.
#  at (eval 126) line 22.
# '
#     doesn't match '(?^:YAML)'
# Looks like you failed 1 test of 19.

...............

t/issues/gh-762.t ...................................... ok
[App:9848] core @2015-04-24 14:06:24> Failed to deserialize the request: 
malformed JSON string, neither array, object, number, string or atom, at 
character offset 0 (before "invalid") at 
/root/.cpanm/work/1429898751.9695/Dancer2-0.159003/blib/lib/Dancer2/Serializer/JSON.pm
 line 41. in (eval 179) l. 2
t/issues/gh-794.t ...................................... ok
[App:9849] core @2015-04-24 14:06:24> Failed to deserialize the request: 
'false' expected, at character offset 0 (before "foo=bar") at 
/root/.cpanm/work/1429898751.9695/Dancer2-0.159003/blib/lib/Dancer2/Serializer/JSON.pm
 line 41. in (eval 179) l. 2



I can provide the whole log, but was hoping someone would know the issue from 
this? As I said, it has been working fine till now.

Thx

Z

_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to