Dancer2 0.160000 en route to CPAN!
Hi everyone, I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1]. This release carries the following major changes: * Workaround for multiple plugins with hooks. * "send_file" is asynchronous by default. Fallback to synchronous. * "prefix" now supports the entire route path spec ("/:var" now works in prefix). * Clear up prefix inconsistencies ("/var" vs. "/var/"). * Proper package reported in logging. Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog): cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes. The full Changelog for this release: [ BUG FIXES ] * GH #868: Fix incorrect access name in $error->throw. (cdmalon) * GH #879, #883: Fix version numbering in packaging and tests. (Russell Jenkins) * File serving (send_file) won't call serializer. (Russell Jenkins) * GH #892, #510: Workaround for multiple plugins with hooks. (Russell Jenkins, Alberto Simões) * GH #558: Remove "prefix" inconsistency with possibly missing postfixed forward slash. (Sawyer X) [ DOCUMENTATION ] * GH #816, #874 Document session engine changes in migration documentation. (Chenchen Zhao) * GH #866, #870: Clarify that you cannot forward to a static file, why, and two different ways of accomplishing it without forward. (Sakshee Vijayvargia) * GH #878: Rework example for optional named matching due to operator precedence. (Andrew Solomon) * GH #844: Document Simple session backend is the default. (Sawyer X) [ ENHANCEMENT ] * GH #869: Streaming file serving (send_file). (Russell Jenkins) * GH #793: "prefix" now supports the path definition spec. (Sawyer X) * GH #817, #845: Route spec under a prefix doesn't need to start with a slash (but must without a prefix). (Sawyer X, Russell Jenkins) * GH #871: Use Safe.pm instead of eval with Dancer2::Serializer::Dumper. (David Zurborg) * GH #880: Reduce and cleanup different logging calls in order to handle the stack frames traceback for logging classes. (Russell Jenkins) * GH #857, #875: When failing to render in Template::Toolkit, make the error reflect it's a TT error, not an internal one. (valerycodes) Sawyer, on behalf of the Dancer core developers team. [1] Only 20 tickets mentioned in the Changelog itself.
I have code like this: hook after => sub { my ($response) = @_; if ($response->status != 200) { ... } return; }; In Dancer2-0.159003 the after hooks used to get an object that had a method called 'status'. In Dancer2-0.160000 it is not the case any more. I get the following: Can't locate object method "status" via package "Dancer2::Core::Response::Delayed" Was this change intentional? Gabor
On 27/04/2015 4:20 pm, Gabor Szabo wrote:
In Dancer2-0.160000 it is not the case any more.
I get the following: Can't locate object method "status" via package "Dancer2::Core::Response::Delayed"
Hey Garbor. Its certainly not intentional! To help identify the cause, do the routes that trigger this error use the `send_file` keyword ? Thanks, Russell.
On Mon, Apr 27, 2015 at 8:54 AM, Russell Jenkins < russell.jenkins@strategicdata.com.au> wrote:
On 27/04/2015 4:20 pm, Gabor Szabo wrote:
In Dancer2-0.160000 it is not the case any more.
I get the following: Can't locate object method "status" via package "Dancer2::Core::Response::Delayed"
Hey Garbor.
Its certainly not intentional!
thank you for looking into this!
To help identify the cause, do the routes that trigger this error use the `send_file` keyword ?
Yes, I think so. BTW this is the build error: https://travis-ci.org/szabgab/Perl-Maven/builds/60170435 Gabor ps. I've already solved the problem for myself, using the request() function instead of the object passed to the after hook, but the issue might still be relevant to other people or might indicate some other issue as well.
None of our examples should use the parameters inside a route or a hook (and I hope we have no such examples) because we do not assure what the parameters will be. We provide the DSL instead. You should *always* use the DSL (allowing us to deprecate behavior, work around problems, and introduce changes) and not parameters. If you have any code that does use the parameters, please change it. If you find examples in which we made that mistake, please let us know so we could correct them. Aside from all of this, we will fix this problem. It wasn't an intentional change, and if we have no reason to introduce this change, we won't. Thanks for reporting it and sorry for the breakage it cost you. On Mon, Apr 27, 2015 at 9:14 AM, Gabor Szabo <gabor@szabgab.com> wrote:
On Mon, Apr 27, 2015 at 8:54 AM, Russell Jenkins < russell.jenkins@strategicdata.com.au> wrote:
On 27/04/2015 4:20 pm, Gabor Szabo wrote:
In Dancer2-0.160000 it is not the case any more.
I get the following: Can't locate object method "status" via package "Dancer2::Core::Response::Delayed"
Hey Garbor.
Its certainly not intentional!
thank you for looking into this!
To help identify the cause, do the routes that trigger this error use the `send_file` keyword ?
Yes, I think so.
BTW this is the build error: https://travis-ci.org/szabgab/Perl-Maven/builds/60170435
Gabor ps. I've already solved the problem for myself, using the request() function instead of the object passed to the after hook, but the issue might still be relevant to other people or might indicate some other issue as well.
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Hey Garbor and Sawyer. On 27/04/2015 7:32 pm, Sawyer X wrote:
Aside from all of this, we will fix this problem. It wasn't an intentional change, and if we have no reason to introduce this change, we won't.
I've raised the following issue so we don't forget! https://github.com/PerlDancer/Dancer2/issues/894 Again, sorry for the breakage cost. Regards, Russell.
On Tue, Apr 28, 2015 at 1:44 AM, Russell Jenkins < russell.jenkins@strategicdata.com.au> wrote:
Hey Garbor and Sawyer.
On 27/04/2015 7:32 pm, Sawyer X wrote:
Aside from all of this, we will fix this problem. It wasn't an intentional change, and if we have no reason to introduce this change, we won't.
I've raised the following issue so we don't forget! https://github.com/PerlDancer/Dancer2/issues/894
Again, sorry for the breakage cost.
Regards, Russell.
That just made me clean up my code a bit, no worries at all. Gabor
Hi all! On Mon, 27 Apr 2015 00:34:09 +0200 Sawyer X <xsawyerx@gmail.com> wrote:
Hi everyone,
I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1].
This release carries the following major changes:
* Workaround for multiple plugins with hooks. * "send_file" is asynchronous by default. Fallback to synchronous. * "prefix" now supports the entire route path spec ("/:var" now works in prefix). * Clear up prefix inconsistencies ("/var" vs. "/var/"). * Proper package reported in logging.
Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog):
cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes.
Thanks to everyone for this release! Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/bits/facts/Summer-Glau/ The first phrase that needs to be taught when teaching a new language is how to say “Do you speak English?”. The first thing that needs to be taught when teaching a new computer tool is how to exit it. Please reply to list if it's a mailing list post - http://shlom.in/reply .
Hi Re: my previous issues with install Has anyone managed to install this new version on a virgin OS? I ran the installer for the new version on a clean Centos 7 install, and it still fails as before: 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/1430127487.10996/Dancer2-0.160000/t/config/environments/failure.yml: Can't use an undefined value as a HASH reference at /root/.cpanm/work/1430127487.10996/Dancer2-0.160000/blib/lib/Dancer2/Core/Role/ConfigReader.pm line 208. # at (eval 129) line 22. # ' # doesn't match '(?^:YAML)' # Looks like you failed 1 test of 19. t/config_reader.t ...................................... Z From: dancer-users [mailto:dancer-users-bounces@dancer.pm] On Behalf Of Sawyer X Sent: 26 April 2015 23:34 To: Perl Dancer users mailing list Subject: [dancer-users] Dancer2 0.160000 en route to CPAN! Hi everyone, I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1]. This release carries the following major changes: * Workaround for multiple plugins with hooks. * "send_file" is asynchronous by default. Fallback to synchronous. * "prefix" now supports the entire route path spec ("/:var" now works in prefix). * Clear up prefix inconsistencies ("/var" vs. "/var/"). * Proper package reported in logging. Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog): cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes. The full Changelog for this release: [ BUG FIXES ] * GH #868: Fix incorrect access name in $error->throw. (cdmalon) * GH #879, #883: Fix version numbering in packaging and tests. (Russell Jenkins) * File serving (send_file) won't call serializer. (Russell Jenkins) * GH #892, #510: Workaround for multiple plugins with hooks. (Russell Jenkins, Alberto Simões) * GH #558: Remove "prefix" inconsistency with possibly missing postfixed forward slash. (Sawyer X) [ DOCUMENTATION ] * GH #816, #874 Document session engine changes in migration documentation. (Chenchen Zhao) * GH #866, #870: Clarify that you cannot forward to a static file, why, and two different ways of accomplishing it without forward. (Sakshee Vijayvargia) * GH #878: Rework example for optional named matching due to operator precedence. (Andrew Solomon) * GH #844: Document Simple session backend is the default. (Sawyer X) [ ENHANCEMENT ] * GH #869: Streaming file serving (send_file). (Russell Jenkins) * GH #793: "prefix" now supports the path definition spec. (Sawyer X) * GH #817, #845: Route spec under a prefix doesn't need to start with a slash (but must without a prefix). (Sawyer X, Russell Jenkins) * GH #871: Use Safe.pm instead of eval with Dancer2::Serializer::Dumper. (David Zurborg) * GH #880: Reduce and cleanup different logging calls in order to handle the stack frames traceback for logging classes. (Russell Jenkins) * GH #857, #875: When failing to render in Template::Toolkit, make the error reflect it's a TT error, not an internal one. (valerycodes) Sawyer, on behalf of the Dancer core developers team. [1] Only 20 tickets mentioned in the Changelog itself.
What version of YAML do you have installed? On Mon, Apr 27, 2015 at 12:10 PM, Zahir Lalani < ZahirLalani@oliver-marketing.com> wrote:
Hi
Re: my previous issues with install
Has anyone managed to install this new version on a virgin OS?
I ran the installer for the new version on a clean Centos 7 install, and it still fails as before:
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/1430127487.10996/Dancer2-0.160000/t/config/environments/failure.yml: Can't use an undefined value as a HASH reference at /root/.cpanm/work/1430127487.10996/Dancer2-0.160000/blib/lib/Dancer2/Core/Role/ConfigReader.pm line 208.
# at (eval 129) line 22.
# '
# doesn't match '(?^:YAML)'
# Looks like you failed 1 test of 19.
t/config_reader.t ......................................
Z
*From:* dancer-users [mailto:dancer-users-bounces@dancer.pm] *On Behalf Of *Sawyer X *Sent:* 26 April 2015 23:34 *To:* Perl Dancer users mailing list *Subject:* [dancer-users] Dancer2 0.160000 en route to CPAN!
Hi everyone,
I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1].
This release carries the following major changes:
* Workaround for multiple plugins with hooks.
* "send_file" is asynchronous by default. Fallback to synchronous.
* "prefix" now supports the entire route path spec ("/:var" now works in prefix).
* Clear up prefix inconsistencies ("/var" vs. "/var/").
* Proper package reported in logging.
Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog):
cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes.
The full Changelog for this release:
[ BUG FIXES ]
* GH #868: Fix incorrect access name in $error->throw. (cdmalon)
* GH #879, #883: Fix version numbering in packaging and tests.
(Russell Jenkins)
* File serving (send_file) won't call serializer. (Russell Jenkins)
* GH #892, #510: Workaround for multiple plugins with hooks.
(Russell Jenkins, Alberto Simões)
* GH #558: Remove "prefix" inconsistency with possibly missing postfixed
forward slash. (Sawyer X)
[ DOCUMENTATION ]
* GH #816, #874 Document session engine changes in migration documentation.
(Chenchen Zhao)
* GH #866, #870: Clarify that you cannot forward to a static file, why,
and two different ways of accomplishing it without forward.
(Sakshee Vijayvargia)
* GH #878: Rework example for optional named matching due to operator
precedence. (Andrew Solomon)
* GH #844: Document Simple session backend is the default. (Sawyer X)
[ ENHANCEMENT ]
* GH #869: Streaming file serving (send_file). (Russell Jenkins)
* GH #793: "prefix" now supports the path definition spec. (Sawyer X)
* GH #817, #845: Route spec under a prefix doesn't need to start with
a slash (but must without a prefix).
(Sawyer X, Russell Jenkins)
* GH #871: Use Safe.pm instead of eval with Dancer2::Serializer::Dumper.
(David Zurborg)
* GH #880: Reduce and cleanup different logging calls in order to handle
the stack frames traceback for logging classes. (Russell Jenkins)
* GH #857, #875: When failing to render in Template::Toolkit, make the
error reflect it's a TT error, not an internal one.
(valerycodes)
Sawyer,
on behalf of the Dancer core developers team.
[1] Only 20 tickets mentioned in the Changelog itself.
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Hi On my local dev (which was installed months ago – its 1.14 On the clean build it is picking up 1.15 Z From: dancer-users [mailto:dancer-users-bounces@dancer.pm] On Behalf Of Sawyer X Sent: 27 April 2015 12:10 To: Perl Dancer users mailing list Subject: Re: [dancer-users] Dancer2 0.160000 en route to CPAN! What version of YAML do you have installed? On Mon, Apr 27, 2015 at 12:10 PM, Zahir Lalani <ZahirLalani@oliver-marketing.com<mailto:ZahirLalani@oliver-marketing.com>> wrote: Hi Re: my previous issues with install Has anyone managed to install this new version on a virgin OS? I ran the installer for the new version on a clean Centos 7 install, and it still fails as before: 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/1430127487.10996/Dancer2-0.160000/t/config/environments/failure.yml: Can't use an undefined value as a HASH reference at /root/.cpanm/work/1430127487.10996/Dancer2-0.160000/blib/lib/Dancer2/Core/Role/ConfigReader.pm line 208. # at (eval 129) line 22. # ' # doesn't match '(?^:YAML)' # Looks like you failed 1 test of 19. t/config_reader.t ...................................... Z From: dancer-users [mailto:dancer-users-bounces@dancer.pm<mailto:dancer-users-bounces@dancer.pm>] On Behalf Of Sawyer X Sent: 26 April 2015 23:34 To: Perl Dancer users mailing list Subject: [dancer-users] Dancer2 0.160000 en route to CPAN! Hi everyone, I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1]. This release carries the following major changes: * Workaround for multiple plugins with hooks. * "send_file" is asynchronous by default. Fallback to synchronous. * "prefix" now supports the entire route path spec ("/:var" now works in prefix). * Clear up prefix inconsistencies ("/var" vs. "/var/"). * Proper package reported in logging. Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog): cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes. The full Changelog for this release: [ BUG FIXES ] * GH #868: Fix incorrect access name in $error->throw. (cdmalon) * GH #879, #883: Fix version numbering in packaging and tests. (Russell Jenkins) * File serving (send_file) won't call serializer. (Russell Jenkins) * GH #892, #510: Workaround for multiple plugins with hooks. (Russell Jenkins, Alberto Simões) * GH #558: Remove "prefix" inconsistency with possibly missing postfixed forward slash. (Sawyer X) [ DOCUMENTATION ] * GH #816, #874 Document session engine changes in migration documentation. (Chenchen Zhao) * GH #866, #870: Clarify that you cannot forward to a static file, why, and two different ways of accomplishing it without forward. (Sakshee Vijayvargia) * GH #878: Rework example for optional named matching due to operator precedence. (Andrew Solomon) * GH #844: Document Simple session backend is the default. (Sawyer X) [ ENHANCEMENT ] * GH #869: Streaming file serving (send_file). (Russell Jenkins) * GH #793: "prefix" now supports the path definition spec. (Sawyer X) * GH #817, #845: Route spec under a prefix doesn't need to start with a slash (but must without a prefix). (Sawyer X, Russell Jenkins) * GH #871: Use Safe.pm instead of eval with Dancer2::Serializer::Dumper. (David Zurborg) * GH #880: Reduce and cleanup different logging calls in order to handle the stack frames traceback for logging classes. (Russell Jenkins) * GH #857, #875: When failing to render in Template::Toolkit, make the error reflect it's a TT error, not an internal one. (valerycodes) Sawyer, on behalf of the Dancer core developers team. [1] Only 20 tickets mentioned in the Changelog itself. _______________________________________________ dancer-users mailing list dancer-users@dancer.pm<mailto:dancer-users@dancer.pm> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Locally I had a much earlier version, but with upgrading it still doesn't break. Can you contact me privately so we could find the problem and fix it? I could send a different test case that produces much more output to help us understand what is happening there. On Mon, Apr 27, 2015 at 1:43 PM, Zahir Lalani < ZahirLalani@oliver-marketing.com> wrote:
Hi
On my local dev (which was installed months ago – its 1.14
On the clean build it is picking up 1.15
Z
*From:* dancer-users [mailto:dancer-users-bounces@dancer.pm] *On Behalf Of *Sawyer X *Sent:* 27 April 2015 12:10 *To:* Perl Dancer users mailing list *Subject:* Re: [dancer-users] Dancer2 0.160000 en route to CPAN!
What version of YAML do you have installed?
On Mon, Apr 27, 2015 at 12:10 PM, Zahir Lalani < ZahirLalani@oliver-marketing.com> wrote:
Hi
Re: my previous issues with install
Has anyone managed to install this new version on a virgin OS?
I ran the installer for the new version on a clean Centos 7 install, and it still fails as before:
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/1430127487.10996/Dancer2-0.160000/t/config/environments/failure.yml: Can't use an undefined value as a HASH reference at /root/.cpanm/work/1430127487.10996/Dancer2-0.160000/blib/lib/Dancer2/Core/Role/ConfigReader.pm line 208.
# at (eval 129) line 22.
# '
# doesn't match '(?^:YAML)'
# Looks like you failed 1 test of 19.
t/config_reader.t ......................................
Z
*From:* dancer-users [mailto:dancer-users-bounces@dancer.pm] *On Behalf Of *Sawyer X *Sent:* 26 April 2015 23:34 *To:* Perl Dancer users mailing list *Subject:* [dancer-users] Dancer2 0.160000 en route to CPAN!
Hi everyone,
I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1].
This release carries the following major changes:
* Workaround for multiple plugins with hooks.
* "send_file" is asynchronous by default. Fallback to synchronous.
* "prefix" now supports the entire route path spec ("/:var" now works in prefix).
* Clear up prefix inconsistencies ("/var" vs. "/var/").
* Proper package reported in logging.
Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog):
cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes.
The full Changelog for this release:
[ BUG FIXES ]
* GH #868: Fix incorrect access name in $error->throw. (cdmalon)
* GH #879, #883: Fix version numbering in packaging and tests.
(Russell Jenkins)
* File serving (send_file) won't call serializer. (Russell Jenkins)
* GH #892, #510: Workaround for multiple plugins with hooks.
(Russell Jenkins, Alberto Simões)
* GH #558: Remove "prefix" inconsistency with possibly missing postfixed
forward slash. (Sawyer X)
[ DOCUMENTATION ]
* GH #816, #874 Document session engine changes in migration documentation.
(Chenchen Zhao)
* GH #866, #870: Clarify that you cannot forward to a static file, why,
and two different ways of accomplishing it without forward.
(Sakshee Vijayvargia)
* GH #878: Rework example for optional named matching due to operator
precedence. (Andrew Solomon)
* GH #844: Document Simple session backend is the default. (Sawyer X)
[ ENHANCEMENT ]
* GH #869: Streaming file serving (send_file). (Russell Jenkins)
* GH #793: "prefix" now supports the path definition spec. (Sawyer X)
* GH #817, #845: Route spec under a prefix doesn't need to start with
a slash (but must without a prefix).
(Sawyer X, Russell Jenkins)
* GH #871: Use Safe.pm instead of eval with Dancer2::Serializer::Dumper.
(David Zurborg)
* GH #880: Reduce and cleanup different logging calls in order to handle
the stack frames traceback for logging classes. (Russell Jenkins)
* GH #857, #875: When failing to render in Template::Toolkit, make the
error reflect it's a TT error, not an internal one.
(valerycodes)
Sawyer,
on behalf of the Dancer core developers team.
[1] Only 20 tickets mentioned in the Changelog itself.
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Or, alternatively, if you could provide me with access to a fresh instance you're trying to set up. (Privately, of course.) On Mon, Apr 27, 2015 at 2:09 PM, Sawyer X <xsawyerx@gmail.com> wrote:
Locally I had a much earlier version, but with upgrading it still doesn't break.
Can you contact me privately so we could find the problem and fix it? I could send a different test case that produces much more output to help us understand what is happening there.
On Mon, Apr 27, 2015 at 1:43 PM, Zahir Lalani < ZahirLalani@oliver-marketing.com> wrote:
Hi
On my local dev (which was installed months ago – its 1.14
On the clean build it is picking up 1.15
Z
*From:* dancer-users [mailto:dancer-users-bounces@dancer.pm] *On Behalf Of *Sawyer X *Sent:* 27 April 2015 12:10 *To:* Perl Dancer users mailing list *Subject:* Re: [dancer-users] Dancer2 0.160000 en route to CPAN!
What version of YAML do you have installed?
On Mon, Apr 27, 2015 at 12:10 PM, Zahir Lalani < ZahirLalani@oliver-marketing.com> wrote:
Hi
Re: my previous issues with install
Has anyone managed to install this new version on a virgin OS?
I ran the installer for the new version on a clean Centos 7 install, and it still fails as before:
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/1430127487.10996/Dancer2-0.160000/t/config/environments/failure.yml: Can't use an undefined value as a HASH reference at /root/.cpanm/work/1430127487.10996/Dancer2-0.160000/blib/lib/Dancer2/Core/Role/ConfigReader.pm line 208.
# at (eval 129) line 22.
# '
# doesn't match '(?^:YAML)'
# Looks like you failed 1 test of 19.
t/config_reader.t ......................................
Z
*From:* dancer-users [mailto:dancer-users-bounces@dancer.pm] *On Behalf Of *Sawyer X *Sent:* 26 April 2015 23:34 *To:* Perl Dancer users mailing list *Subject:* [dancer-users] Dancer2 0.160000 en route to CPAN!
Hi everyone,
I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1].
This release carries the following major changes:
* Workaround for multiple plugins with hooks.
* "send_file" is asynchronous by default. Fallback to synchronous.
* "prefix" now supports the entire route path spec ("/:var" now works in prefix).
* Clear up prefix inconsistencies ("/var" vs. "/var/").
* Proper package reported in logging.
Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog):
cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes.
The full Changelog for this release:
[ BUG FIXES ]
* GH #868: Fix incorrect access name in $error->throw. (cdmalon)
* GH #879, #883: Fix version numbering in packaging and tests.
(Russell Jenkins)
* File serving (send_file) won't call serializer. (Russell Jenkins)
* GH #892, #510: Workaround for multiple plugins with hooks.
(Russell Jenkins, Alberto Simões)
* GH #558: Remove "prefix" inconsistency with possibly missing postfixed
forward slash. (Sawyer X)
[ DOCUMENTATION ]
* GH #816, #874 Document session engine changes in migration documentation.
(Chenchen Zhao)
* GH #866, #870: Clarify that you cannot forward to a static file, why,
and two different ways of accomplishing it without forward.
(Sakshee Vijayvargia)
* GH #878: Rework example for optional named matching due to operator
precedence. (Andrew Solomon)
* GH #844: Document Simple session backend is the default. (Sawyer X)
[ ENHANCEMENT ]
* GH #869: Streaming file serving (send_file). (Russell Jenkins)
* GH #793: "prefix" now supports the path definition spec. (Sawyer X)
* GH #817, #845: Route spec under a prefix doesn't need to start with
a slash (but must without a prefix).
(Sawyer X, Russell Jenkins)
* GH #871: Use Safe.pm instead of eval with Dancer2::Serializer::Dumper.
(David Zurborg)
* GH #880: Reduce and cleanup different logging calls in order to handle
the stack frames traceback for logging classes. (Russell Jenkins)
* GH #857, #875: When failing to render in Template::Toolkit, make the
error reflect it's a TT error, not an internal one.
(valerycodes)
Sawyer,
on behalf of the Dancer core developers team.
[1] Only 20 tickets mentioned in the Changelog itself.
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Great thanks David Will contact you offline Z From: dancer-users [mailto:dancer-users-bounces@dancer.pm] On Behalf Of Sawyer X Sent: 27 April 2015 13:10 To: Perl Dancer users mailing list Subject: Re: [dancer-users] Dancer2 0.160000 en route to CPAN! Or, alternatively, if you could provide me with access to a fresh instance you're trying to set up. (Privately, of course.) On Mon, Apr 27, 2015 at 2:09 PM, Sawyer X <xsawyerx@gmail.com<mailto:xsawyerx@gmail.com>> wrote: Locally I had a much earlier version, but with upgrading it still doesn't break. Can you contact me privately so we could find the problem and fix it? I could send a different test case that produces much more output to help us understand what is happening there. On Mon, Apr 27, 2015 at 1:43 PM, Zahir Lalani <ZahirLalani@oliver-marketing.com<mailto:ZahirLalani@oliver-marketing.com>> wrote: Hi On my local dev (which was installed months ago – its 1.14 On the clean build it is picking up 1.15 Z From: dancer-users [mailto:dancer-users-bounces@dancer.pm<mailto:dancer-users-bounces@dancer.pm>] On Behalf Of Sawyer X Sent: 27 April 2015 12:10 To: Perl Dancer users mailing list Subject: Re: [dancer-users] Dancer2 0.160000 en route to CPAN! What version of YAML do you have installed? On Mon, Apr 27, 2015 at 12:10 PM, Zahir Lalani <ZahirLalani@oliver-marketing.com<mailto:ZahirLalani@oliver-marketing.com>> wrote: Hi Re: my previous issues with install Has anyone managed to install this new version on a virgin OS? I ran the installer for the new version on a clean Centos 7 install, and it still fails as before: 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/1430127487.10996/Dancer2-0.160000/t/config/environments/failure.yml: Can't use an undefined value as a HASH reference at /root/.cpanm/work/1430127487.10996/Dancer2-0.160000/blib/lib/Dancer2/Core/Role/ConfigReader.pm line 208. # at (eval 129) line 22. # ' # doesn't match '(?^:YAML)' # Looks like you failed 1 test of 19. t/config_reader.t ...................................... Z From: dancer-users [mailto:dancer-users-bounces@dancer.pm<mailto:dancer-users-bounces@dancer.pm>] On Behalf Of Sawyer X Sent: 26 April 2015 23:34 To: Perl Dancer users mailing list Subject: [dancer-users] Dancer2 0.160000 en route to CPAN! Hi everyone, I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1]. This release carries the following major changes: * Workaround for multiple plugins with hooks. * "send_file" is asynchronous by default. Fallback to synchronous. * "prefix" now supports the entire route path spec ("/:var" now works in prefix). * Clear up prefix inconsistencies ("/var" vs. "/var/"). * Proper package reported in logging. Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog): cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes. The full Changelog for this release: [ BUG FIXES ] * GH #868: Fix incorrect access name in $error->throw. (cdmalon) * GH #879, #883: Fix version numbering in packaging and tests. (Russell Jenkins) * File serving (send_file) won't call serializer. (Russell Jenkins) * GH #892, #510: Workaround for multiple plugins with hooks. (Russell Jenkins, Alberto Simões) * GH #558: Remove "prefix" inconsistency with possibly missing postfixed forward slash. (Sawyer X) [ DOCUMENTATION ] * GH #816, #874 Document session engine changes in migration documentation. (Chenchen Zhao) * GH #866, #870: Clarify that you cannot forward to a static file, why, and two different ways of accomplishing it without forward. (Sakshee Vijayvargia) * GH #878: Rework example for optional named matching due to operator precedence. (Andrew Solomon) * GH #844: Document Simple session backend is the default. (Sawyer X) [ ENHANCEMENT ] * GH #869: Streaming file serving (send_file). (Russell Jenkins) * GH #793: "prefix" now supports the path definition spec. (Sawyer X) * GH #817, #845: Route spec under a prefix doesn't need to start with a slash (but must without a prefix). (Sawyer X, Russell Jenkins) * GH #871: Use Safe.pm instead of eval with Dancer2::Serializer::Dumper. (David Zurborg) * GH #880: Reduce and cleanup different logging calls in order to handle the stack frames traceback for logging classes. (Russell Jenkins) * GH #857, #875: When failing to render in Template::Toolkit, make the error reflect it's a TT error, not an internal one. (valerycodes) Sawyer, on behalf of the Dancer core developers team. [1] Only 20 tickets mentioned in the Changelog itself. _______________________________________________ dancer-users mailing list dancer-users@dancer.pm<mailto:dancer-users@dancer.pm> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users _______________________________________________ dancer-users mailing list dancer-users@dancer.pm<mailto:dancer-users@dancer.pm> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Hi Zahir, On Mon, 27 Apr 2015 12:51:05 +0000 Zahir Lalani <ZahirLalani@oliver-marketing.com> wrote:
Great thanks David
Which "David" are you referring to? You replied to Sawyer whose name is not "David", as far as I recall. Regards, Shlomi Fish
Will contact you offline
Z
From: dancer-users [mailto:dancer-users-bounces@dancer.pm] On Behalf Of Sawyer X Sent: 27 April 2015 13:10 To: Perl Dancer users mailing list Subject: Re: [dancer-users] Dancer2 0.160000 en route to CPAN!
Or, alternatively, if you could provide me with access to a fresh instance you're trying to set up. (Privately, of course.)
On Mon, Apr 27, 2015 at 2:09 PM, Sawyer X <xsawyerx@gmail.com<mailto:xsawyerx@gmail.com>> wrote: Locally I had a much earlier version, but with upgrading it still doesn't break.
Can you contact me privately so we could find the problem and fix it? I could send a different test case that produces much more output to help us understand what is happening there.
-- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ What does “Zionism” mean? - http://shlom.in/def-zionism Ken: [to Sarah] And who are you? Sarah: I’m Sarah Eisenman. A Jewish vampire slayer. And who are you? Ken: …Bitch! — http://www.shlomifish.org/humour/Buffy/A-Few-Good-Slayers/ Please reply to list if it's a mailing list post - http://shlom.in/reply .
Ooops - sincere apologies - Don't know why I had that name in my head! Z
-----Original Message----- From: dancer-users [mailto:dancer-users-bounces@dancer.pm] On Behalf Of Shlomi Fish Sent: 27 April 2015 14:17 To: Perl Dancer users mailing list Subject: Re: [dancer-users] Dancer2 0.160000 en route to CPAN!
Hi Zahir,
On Mon, 27 Apr 2015 12:51:05 +0000 Zahir Lalani <ZahirLalani@oliver-marketing.com> wrote:
Great thanks David
Which "David" are you referring to? You replied to Sawyer whose name is not "David", as far as I recall.
Regards,
Shlomi Fish
Will contact you offline
Z
From: dancer-users [mailto:dancer-users-bounces@dancer.pm] On Behalf Of Sawyer X Sent: 27 April 2015 13:10 To: Perl Dancer users mailing list Subject: Re: [dancer-users] Dancer2 0.160000 en route to CPAN!
Or, alternatively, if you could provide me with access to a fresh instance you're trying to set up. (Privately, of course.)
On Mon, Apr 27, 2015 at 2:09 PM, Sawyer X <xsawyerx@gmail.com<mailto:xsawyerx@gmail.com>> wrote: Locally I had a much earlier version, but with upgrading it still doesn't break.
Can you contact me privately so we could find the problem and fix it? I could send a different test case that produces much more output to help us understand what is happening there.
-- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ What does “Zionism” mean? - http://shlom.in/def-zionism
Ken: [to Sarah] And who are you? Sarah: I’m Sarah Eisenman. A Jewish vampire slayer. And who are you? Ken: …Bitch! — http://www.shlomifish.org/humour/Buffy/A-Few-Good-Slayers/
Please reply to list if it's a mailing list post - http://shlom.in/reply . _______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Thanks to Zahir, I was able to pin this down to the following ticket: https://github.com/PerlDancer/Dancer2/issues/893 I hope to resolve it soon. Thank you, Zahir. :) Sawyer. On Mon, Apr 27, 2015 at 2:51 PM, Zahir Lalani < ZahirLalani@oliver-marketing.com> wrote:
Great thanks David
Will contact you offline
Z
*From:* dancer-users [mailto:dancer-users-bounces@dancer.pm] *On Behalf Of *Sawyer X *Sent:* 27 April 2015 13:10
*To:* Perl Dancer users mailing list *Subject:* Re: [dancer-users] Dancer2 0.160000 en route to CPAN!
Or, alternatively, if you could provide me with access to a fresh instance you're trying to set up.
(Privately, of course.)
On Mon, Apr 27, 2015 at 2:09 PM, Sawyer X <xsawyerx@gmail.com> wrote:
Locally I had a much earlier version, but with upgrading it still doesn't break.
Can you contact me privately so we could find the problem and fix it? I could send a different test case that produces much more output to help us understand what is happening there.
On Mon, Apr 27, 2015 at 1:43 PM, Zahir Lalani < ZahirLalani@oliver-marketing.com> wrote:
Hi
On my local dev (which was installed months ago – its 1.14
On the clean build it is picking up 1.15
Z
*From:* dancer-users [mailto:dancer-users-bounces@dancer.pm] *On Behalf Of *Sawyer X *Sent:* 27 April 2015 12:10 *To:* Perl Dancer users mailing list *Subject:* Re: [dancer-users] Dancer2 0.160000 en route to CPAN!
What version of YAML do you have installed?
On Mon, Apr 27, 2015 at 12:10 PM, Zahir Lalani < ZahirLalani@oliver-marketing.com> wrote:
Hi
Re: my previous issues with install
Has anyone managed to install this new version on a virgin OS?
I ran the installer for the new version on a clean Centos 7 install, and it still fails as before:
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/1430127487.10996/Dancer2-0.160000/t/config/environments/failure.yml: Can't use an undefined value as a HASH reference at /root/.cpanm/work/1430127487.10996/Dancer2-0.160000/blib/lib/Dancer2/Core/Role/ConfigReader.pm line 208.
# at (eval 129) line 22.
# '
# doesn't match '(?^:YAML)'
# Looks like you failed 1 test of 19.
t/config_reader.t ......................................
Z
*From:* dancer-users [mailto:dancer-users-bounces@dancer.pm] *On Behalf Of *Sawyer X *Sent:* 26 April 2015 23:34 *To:* Perl Dancer users mailing list *Subject:* [dancer-users] Dancer2 0.160000 en route to CPAN!
Hi everyone,
I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1].
This release carries the following major changes:
* Workaround for multiple plugins with hooks.
* "send_file" is asynchronous by default. Fallback to synchronous.
* "prefix" now supports the entire route path spec ("/:var" now works in prefix).
* Clear up prefix inconsistencies ("/var" vs. "/var/").
* Proper package reported in logging.
Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog):
cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes.
The full Changelog for this release:
[ BUG FIXES ]
* GH #868: Fix incorrect access name in $error->throw. (cdmalon)
* GH #879, #883: Fix version numbering in packaging and tests.
(Russell Jenkins)
* File serving (send_file) won't call serializer. (Russell Jenkins)
* GH #892, #510: Workaround for multiple plugins with hooks.
(Russell Jenkins, Alberto Simões)
* GH #558: Remove "prefix" inconsistency with possibly missing postfixed
forward slash. (Sawyer X)
[ DOCUMENTATION ]
* GH #816, #874 Document session engine changes in migration documentation.
(Chenchen Zhao)
* GH #866, #870: Clarify that you cannot forward to a static file, why,
and two different ways of accomplishing it without forward.
(Sakshee Vijayvargia)
* GH #878: Rework example for optional named matching due to operator
precedence. (Andrew Solomon)
* GH #844: Document Simple session backend is the default. (Sawyer X)
[ ENHANCEMENT ]
* GH #869: Streaming file serving (send_file). (Russell Jenkins)
* GH #793: "prefix" now supports the path definition spec. (Sawyer X)
* GH #817, #845: Route spec under a prefix doesn't need to start with
a slash (but must without a prefix).
(Sawyer X, Russell Jenkins)
* GH #871: Use Safe.pm instead of eval with Dancer2::Serializer::Dumper.
(David Zurborg)
* GH #880: Reduce and cleanup different logging calls in order to handle
the stack frames traceback for logging classes. (Russell Jenkins)
* GH #857, #875: When failing to render in Template::Toolkit, make the
error reflect it's a TT error, not an internal one.
(valerycodes)
Sawyer,
on behalf of the Dancer core developers team.
[1] Only 20 tickets mentioned in the Changelog itself.
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Thanks for your help Sawyer I can confirm that pre-loading YAML::XS before the main install solves the issue for now Z From: dancer-users [mailto:dancer-users-bounces@dancer.pm] On Behalf Of Sawyer X Sent: 27 April 2015 15:30 To: Perl Dancer users mailing list Subject: Re: [dancer-users] Dancer2 0.160000 en route to CPAN! Thanks to Zahir, I was able to pin this down to the following ticket: https://github.com/PerlDancer/Dancer2/issues/893 I hope to resolve it soon. Thank you, Zahir. :) Sawyer. On Mon, Apr 27, 2015 at 2:51 PM, Zahir Lalani <ZahirLalani@oliver-marketing.com<mailto:ZahirLalani@oliver-marketing.com>> wrote: Great thanks David Will contact you offline Z From: dancer-users [mailto:dancer-users-bounces@dancer.pm<mailto:dancer-users-bounces@dancer.pm>] On Behalf Of Sawyer X Sent: 27 April 2015 13:10 To: Perl Dancer users mailing list Subject: Re: [dancer-users] Dancer2 0.160000 en route to CPAN! Or, alternatively, if you could provide me with access to a fresh instance you're trying to set up. (Privately, of course.) On Mon, Apr 27, 2015 at 2:09 PM, Sawyer X <xsawyerx@gmail.com<mailto:xsawyerx@gmail.com>> wrote: Locally I had a much earlier version, but with upgrading it still doesn't break. Can you contact me privately so we could find the problem and fix it? I could send a different test case that produces much more output to help us understand what is happening there. On Mon, Apr 27, 2015 at 1:43 PM, Zahir Lalani <ZahirLalani@oliver-marketing.com<mailto:ZahirLalani@oliver-marketing.com>> wrote: Hi On my local dev (which was installed months ago – its 1.14 On the clean build it is picking up 1.15 Z From: dancer-users [mailto:dancer-users-bounces@dancer.pm<mailto:dancer-users-bounces@dancer.pm>] On Behalf Of Sawyer X Sent: 27 April 2015 12:10 To: Perl Dancer users mailing list Subject: Re: [dancer-users] Dancer2 0.160000 en route to CPAN! What version of YAML do you have installed? On Mon, Apr 27, 2015 at 12:10 PM, Zahir Lalani <ZahirLalani@oliver-marketing.com<mailto:ZahirLalani@oliver-marketing.com>> wrote: Hi Re: my previous issues with install Has anyone managed to install this new version on a virgin OS? I ran the installer for the new version on a clean Centos 7 install, and it still fails as before: 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/1430127487.10996/Dancer2-0.160000/t/config/environments/failure.yml: Can't use an undefined value as a HASH reference at /root/.cpanm/work/1430127487.10996/Dancer2-0.160000/blib/lib/Dancer2/Core/Role/ConfigReader.pm line 208. # at (eval 129) line 22. # ' # doesn't match '(?^:YAML)' # Looks like you failed 1 test of 19. t/config_reader.t ...................................... Z From: dancer-users [mailto:dancer-users-bounces@dancer.pm<mailto:dancer-users-bounces@dancer.pm>] On Behalf Of Sawyer X Sent: 26 April 2015 23:34 To: Perl Dancer users mailing list Subject: [dancer-users] Dancer2 0.160000 en route to CPAN! Hi everyone, I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1]. This release carries the following major changes: * Workaround for multiple plugins with hooks. * "send_file" is asynchronous by default. Fallback to synchronous. * "prefix" now supports the entire route path spec ("/:var" now works in prefix). * Clear up prefix inconsistencies ("/var" vs. "/var/"). * Proper package reported in logging. Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog): cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes. The full Changelog for this release: [ BUG FIXES ] * GH #868: Fix incorrect access name in $error->throw. (cdmalon) * GH #879, #883: Fix version numbering in packaging and tests. (Russell Jenkins) * File serving (send_file) won't call serializer. (Russell Jenkins) * GH #892, #510: Workaround for multiple plugins with hooks. (Russell Jenkins, Alberto Simões) * GH #558: Remove "prefix" inconsistency with possibly missing postfixed forward slash. (Sawyer X) [ DOCUMENTATION ] * GH #816, #874 Document session engine changes in migration documentation. (Chenchen Zhao) * GH #866, #870: Clarify that you cannot forward to a static file, why, and two different ways of accomplishing it without forward. (Sakshee Vijayvargia) * GH #878: Rework example for optional named matching due to operator precedence. (Andrew Solomon) * GH #844: Document Simple session backend is the default. (Sawyer X) [ ENHANCEMENT ] * GH #869: Streaming file serving (send_file). (Russell Jenkins) * GH #793: "prefix" now supports the path definition spec. (Sawyer X) * GH #817, #845: Route spec under a prefix doesn't need to start with a slash (but must without a prefix). (Sawyer X, Russell Jenkins) * GH #871: Use Safe.pm instead of eval with Dancer2::Serializer::Dumper. (David Zurborg) * GH #880: Reduce and cleanup different logging calls in order to handle the stack frames traceback for logging classes. (Russell Jenkins) * GH #857, #875: When failing to render in Template::Toolkit, make the error reflect it's a TT error, not an internal one. (valerycodes) Sawyer, on behalf of the Dancer core developers team. [1] Only 20 tickets mentioned in the Changelog itself. _______________________________________________ dancer-users mailing list dancer-users@dancer.pm<mailto:dancer-users@dancer.pm> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users _______________________________________________ dancer-users mailing list dancer-users@dancer.pm<mailto:dancer-users@dancer.pm> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users _______________________________________________ dancer-users mailing list dancer-users@dancer.pm<mailto:dancer-users@dancer.pm> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
participants (5)
-
Gabor Szabo -
Russell Jenkins -
Sawyer X -
Shlomi Fish -
Zahir Lalani