Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Chart-Clicker CPAN distribution.

Report information
The Basics
Id: 37205
Status: resolved
Priority: 0/
Queue: Chart-Clicker

People
Owner: Nobody in particular
Requestors: raherh [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.4.2
Fixed in: (no value)



Subject: two tests fail on windows
Tests ./t/990-normal.t and ./t/999-simple.t fail with the following results. I have no idea where this come from. It's on windows with perl 5.10.0. 990-normal.t 1..19 ok 1 - use Chart::Clicker; ok 2 - use Chart::Clicker::Axis; ok 3 - use Chart::Clicker::Data::DataSet; ok 4 - use Chart::Clicker::Data::Series; ok 5 - use Chart::Clicker::Decoration::Grid; ok 6 - use Chart::Clicker::Decoration::Label; ok 7 - use Chart::Clicker::Decoration::Legend; ok 8 - use Chart::Clicker::Decoration::Plot; ok 9 - use Chart::Clicker::Drawing; ok 10 - use Chart::Clicker::Drawing::Container; ok 11 - use Chart::Clicker::Renderer::Area; ok 12 - use Chart::Clicker::Renderer::Bar; ok 13 - use Chart::Clicker::Renderer::Line; ok 14 - use Chart::Clicker::Renderer::Point; ok 15 - new Chart::Clicker ok 16 - new Legend ok 17 - new Axis ok 18 - new Plot ok 19 - new Renderer Attribute (dataset_count) does not pass the type constraint because: Validation failed for 'Int' failed with value undef at (eval 189) line 7 Chart::Clicker::Renderer::Base::dataset_count ('Chart::Clicker::Renderer::Point=HASH(0x1256e54)', undef) called at . \lib/Chart/Clicker/Decoration/Plot.pm line 66 Chart::Clicker::Decoration::Plot::prepare ('Chart::Clicker::Decoration::Plot=HASH(0x124f614)', 'Chart::Clicker=HASH(0x124c2cc)', 'Chart::Clicker::Drawing::Dimension=HASH(0x125d644)') called at .\lib/ Chart/Clicker/Drawing/Container.pm line 114 Chart::Clicker::Drawing::Container::prepare('Chart::Clicker=HASH (0x124c2cc)', 'Chart::Clicker=HASH(0x124c2cc)', 'Chart::Clicker::Drawing::Dimension=HASH(0x1257d54)') called at .\lib/ Chart/Clicker.pm line 213 Chart::Clicker::prepare('Chart::Clicker=HASH(0x124c2cc)') called at .\t\990-normal.t line 113 # Looks like your test died just after 19. 999-simple.t 1..3 ok 1 - use Chart::Clicker::Simple; ok 2 - use Chart::Clicker::Renderer::Line; Attribute (format) does not pass the type constraint because: Validation failed for 'Str' failed with value undef at (eval 128) line 7 Chart::Clicker::Axis::format('Chart::Clicker::Axis=HASH (0x9d2074)', undef) called at .\lib/Chart/Clicker/Simple.pm line 73 Chart::Clicker::Simple::new('Chart::Clicker::Simple', 'HASH (0x1220d5c)') called at .\t\999-simple.t line 8 # Looks like you planned 3 tests but only ran 2. # Looks like your test died just after 2. Radek
I'm not seeing that failure here. What version of Moose do you have installed? I'd suggest updating that if it's not the current one. I know of no real dependency on any particular version, but I will add the current version to the Makefile.PL if it fixes your problem. If that doesn't work, you can try the current svn HEAD: http://our.coldhardcode.com/svn/Chart-Clicker/trunk It's not ready for production yet, but i'd be curious if the problem went away.
From: raherh [...] gmail.com
Show quoted text
> If that doesn't work, you can try the current svn HEAD: > > http://our.coldhardcode.com/svn/Chart-Clicker/trunk > > It's not ready for production yet, but i'd be curious if the problem > went away.
Moose is the latest. From trunk dmake test was successful and installation of C:C 2.0.0 as well. I also had to install DateTime::Format::Strptime and MooseX::AttributeHelpers. Thank you.
Interesting. Well... That version works ftmp. I haven't made up my mind when I'll be releasing it, but by my eye the test failures seem harmless in the current version. I'll defer this to the new release, which will be sometime in the next few weeks.
Has this gone away in newer versions?
Subject: Re: [rt.cpan.org #37205] two tests fail on windows
Date: Tue, 05 May 2009 16:42:52 +0200
To: bug-Chart-Clicker [...] rt.cpan.org
From: rahed <raherh [...] gmail.com>
"Cory Watson via RT" <bug-Chart-Clicker@rt.cpan.org> writes: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=37205 > > > Has this gone away in newer versions?
In the meantime I reinstalled OS and perl and had to install many modules anew. This module has many dependencies and I am not able to install some of them: e.g. Test::Output, File::NFSLock. I develop on windows only occasionally and also decided for GD::Graph types to make the issue more simple. -- Radek
Likely solved.