Skip Menu |

This queue is for tickets about the TreePath CPAN distribution.

Report information
The Basics
Id: 104220
Status: resolved
Priority: 0/
Queue: TreePath

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.21
Fixed in: (no value)



Subject: Tests fail with YAML::XS
03-sync.t fails if YAML::XS is installed (but it seems to work if another YAML module is used): Error parsing t/conf/treewithsync.yml: YAML::XS::Load Error: The problem: mapping values are not allowed in this context was found at document: 1, line: 2, column: 5 at /usr/perl5.20.2p/lib/site_perl/5.20.2/Config/JFDI/Source/Loader.pm line 104. # Looks like your test exited with 255 before it could output anything. t/03-sync.t ............... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run
It works on my system (Debian on i686) with YAML::XS. What's your config I don't understand T/01-path.t use the same syntax and it passes ?
On 2015-05-12 18:45:27, DAB wrote: Show quoted text
> It works on my system (Debian on i686) with YAML::XS. What's your config
It fails on all cpantesters systems, not just mine: http://fast-matrix.cpantesters.org/?dist=TreePath%200.21 The only PASSes here were when I used Devel::Hide to hide YAML::XS. Show quoted text
> I don't understand T/01-path.t use the same syntax and it passes ?
$ /opt/perl-5.20.2/bin/perl /opt/perl-5.20.2/bin/ysh -MYAML::XS < t/conf/treewithsync.yml YAML::XS::Load Error: The problem: mapping values are not allowed in this context was found at document: 1, line: 2, column: 5 $ /opt/perl-5.20.2/bin/perl /opt/perl-5.20.2/bin/ysh -MYAML < t/conf/treewithsync.yml YAML Error: Expected separator '---' Code: YAML_PARSE_ERR_NO_SEPARATOR Line: 1 Document: 2 at /opt/perl-5.20.2/lib/site_perl/5.20.2/YAML/Loader.pm line 80. $ /opt/perl-5.20.2/bin/perl /opt/perl-5.20.2/bin/ysh -MYAML::Syck < t/conf/treewithsync.yml (works)
Oups the yaml file is wrong in version 0.21. This is fixed in version 0.22 Thanx, I did not know fast-matrix.cpantesters.org, I used matrix.cpantesters.org but it is broken.