Skip Menu |

This queue is for tickets about the UML-Class-Simple CPAN distribution.

Report information
The Basics
Id: 39179
Status: resolved
Priority: 0/
Queue: UML-Class-Simple

People
Owner: Nobody in particular
Requestors: david [...] davidfavor.com
Cc:
AdminCc:

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



Subject: UML::Class::Simple-0.15 + perl-5.10.0-34336 fails one test
Date: Thu, 11 Sep 2008 06:39:59 -0500
To: bug-UML-Class-Simple [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
ok 18 - width ok ok 19 - height ok invalid width and height at t/basic.t line 68 ok 20 - setting size with invalid values ok 21 - width not changed ok 22 - height not changed either ok 23 - node_color's default value changed ok 24 - $dom ok ok 25 - $dom is a ref ok 26 - $dom structure ok ok 27 - public_only defaults to false ok 28 - public_only changed to true ok 29 - $dom structure ok ok 30 - dot looks ok ok 31 - size set ok ok 32 - color set ok ok 33 - dot file 't/me.dot' generated ok 34 - dot file 't/me.dot' is not empty ok 35 - binary PNG data returned Format: "gif" not recognized. Use one of: bmp canon cmap cmapx cmapx_np dia dot fig gtk hpgl ico imap imap_np ismap jpe jpeg jpg mif mp pcl pdf pic plain plain-ext png ps ps2 svg svgz tif tiff vml vmlz vtx xdot xlib at t/basic.t line 143 not ok 36 - binary GIF data returned # Failed test 'binary GIF data returned' # at t/basic.t line 149. ok 37 - inherited_methods defaults to true ok 38 - inherited_methods changed to false ok 39 - $dom structure ok # Looks like you failed 1 test of 39. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/39 subtests Test Summary Report ------------------- t/basic (Wstat: 256 Tests: 39 Failed: 1) Failed test: 36 Non-zero exit status: 1 -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
Subject: Re: [rt.cpan.org #39179] UML::Class::Simple-0.15 + perl-5.10.0-34336 fails one test
Date: Fri, 12 Sep 2008 16:09:01 +0800
To: bug-UML-Class-Simple [...] rt.cpan.org
From: agentzh <agentzh [...] gmail.com>
On Thu, Sep 11, 2008 at 7:41 PM, David Favor via RT <bug-UML-Class-Simple@rt.cpan.org> wrote: Show quoted text
> Format: "gif" not recognized. Use one of: bmp canon cmap cmapx cmapx_np dia dot fig gtk hpgl ico > imap imap_np ismap jpe jpeg jpg mif mp pcl pdf pic plain plain-ext png ps ps2 svg svgz tif tiff vml > vmlz vtx xdot xlib > at t/basic.t line 143 > not ok 36 - binary GIF data returned >
Hmm, that's caused by the missing git support for your graphviz. I'll skip this test if such exception raises in the next release. Thanks! Cheers, -agentzh
Subject: Re: [rt.cpan.org #39179] UML::Class::Simple-0.15 + perl-5.10.0-34336 fails one test
Date: Fri, 12 Sep 2008 16:38:45 +0800
To: bug-UML-Class-Simple [...] rt.cpan.org
From: agentzh <agentzh [...] gmail.com>
On Fri, Sep 12, 2008 at 4:09 PM, agentzh <agentzh@gmail.com> wrote: Show quoted text
> > Hmm, that's caused by the missing git support for your graphviz. I'll > skip this test if such exception raises in the next release. Thanks! >
Hmm, I just noticed that I've put an eval around that as_gif test (in t/basic.t line 143). It seems it didn't catch that exception. Sigh. Could you help me tracing that issue? I don't have a graphviz install w/o gif support so I can't fix that easily. Thanks! -agentzh
Subject: Re: [rt.cpan.org #39179] UML::Class::Simple-0.15 + perl-5.10.0-34336 fails one test
Date: Fri, 12 Sep 2008 10:22:43 -0500
To: bug-UML-Class-Simple [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
agentzh@gmail.com via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=39179 > > > On Thu, Sep 11, 2008 at 7:41 PM, David Favor via RT > <bug-UML-Class-Simple@rt.cpan.org> wrote:
>> Format: "gif" not recognized. Use one of: bmp canon cmap cmapx cmapx_np dia dot fig gtk hpgl ico >> imap imap_np ismap jpe jpeg jpg mif mp pcl pdf pic plain plain-ext png ps ps2 svg svgz tif tiff vml >> vmlz vtx xdot xlib >> at t/basic.t line 143 >> not ok 36 - binary GIF data returned >>
> > Hmm, that's caused by the missing git support for your graphviz. I'll > skip this test if such exception raises in the next release. Thanks! > > Cheers, > -agentzh >
Hum... I see no packages on Fedora 9 for anything like graphviz-git. Let me know the specific file/program/etc is being looked for and I'll make a note of the Fedora package which resolves this. Thanks. -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
Subject: Re: [rt.cpan.org #39179] UML::Class::Simple-0.15 + perl-5.10.0-34336 fails one test
Date: Fri, 12 Sep 2008 10:25:29 -0500
To: bug-UML-Class-Simple [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
agentzh@gmail.com via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=39179 > > > On Fri, Sep 12, 2008 at 4:09 PM, agentzh <agentzh@gmail.com> wrote:
>> Hmm, that's caused by the missing git support for your graphviz. I'll >> skip this test if such exception raises in the next release. Thanks! >>
> > Hmm, I just noticed that I've put an eval around that as_gif test (in > t/basic.t line 143). It seems it didn't catch that exception. Sigh. > Could you help me tracing that issue? > > I don't have a graphviz install w/o gif support so I can't fix that easily. > > Thanks! > -agentzh >
Looks like on Fedora 9 the package is graphviz-gd. Ah... I see, you said 'git' and meant 'gif'. Got it! -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
Subject: Re: [rt.cpan.org #39179] UML::Class::Simple-0.15 + perl-5.10.0-34336 fails one test
Date: Fri, 12 Sep 2008 10:26:23 -0500
To: bug-UML-Class-Simple [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
agentzh@gmail.com via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=39179 > > > On Fri, Sep 12, 2008 at 4:09 PM, agentzh <agentzh@gmail.com> wrote:
>> Hmm, that's caused by the missing git support for your graphviz. I'll >> skip this test if such exception raises in the next release. Thanks! >>
> > Hmm, I just noticed that I've put an eval around that as_gif test (in > t/basic.t line 143). It seems it didn't catch that exception. Sigh. > Could you help me tracing that issue? > > I don't have a graphviz install w/o gif support so I can't fix that easily. > > Thanks! > -agentzh >
Still get the invalid warning: net1#make test PERL_DL_NONLAZY=1 /common/pkgs/perl-5.10.0-34336/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/basic.t t/class-accessor-fast.t t/class-accessor-pbp.t t/class-accessor.t t/classes-from-runtime.t t/dot-prog.t t/pod-coverage.t t/pod.t t/preload-bug.t t/umlclass.t t/basic...................15/39 invalid width and height at t/basic.t line 68 t/basic...................ok And make test passes now. -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
Subject: Re: [rt.cpan.org #39179] UML::Class::Simple-0.15 + perl-5.10.0-34336 fails one test
Date: Sat, 13 Sep 2008 17:11:20 +0800
To: bug-UML-Class-Simple [...] rt.cpan.org
From: agentzh <agentzh [...] gmail.com>
On Fri, Sep 12, 2008 at 11:26 PM, David Favor via RT <bug-UML-Class-Simple@rt.cpan.org> wrote: Show quoted text
> > Still get the invalid warning: > > net1#make test > PERL_DL_NONLAZY=1 /common/pkgs/perl-5.10.0-34336/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/basic.t t/class-accessor-fast.t > t/class-accessor-pbp.t t/class-accessor.t t/classes-from-runtime.t t/dot-prog.t t/pod-coverage.t > t/pod.t t/preload-bug.t t/umlclass.t > t/basic...................15/39 invalid width and height at t/basic.t line 68
This warning can be safely ignored. I've added a hint to the test. So for the next release, you'll probably see the following: t/basic...................ok 16/38(Please ignore the warning in the following line.) invalid width and height at t/basic.t line 69 t/basic...................ok [snip] Show quoted text
> > And make test passes now. >
Yay! -agentzh
I've just released v0.16 which throws an exception when the external dot program complaints about something and returns a non-zero status. In this version, the as_gif test in t/basic.t should be skipped automatically when "gif" support is missing in the user's graphviz install. If you have further issues, feel free to reopen this ticket. Thanks! -agentzh
Subject: Re: [rt.cpan.org #39179] UML::Class::Simple-0.15 + perl-5.10.0-34336 fails one test
Date: Sat, 13 Sep 2008 08:07:38 -0500
To: bug-UML-Class-Simple [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Agent Zhang via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=39179 > > > I've just released v0.16 which throws an exception when the external dot > program complaints about something and returns a non-zero status. In > this version, the as_gif test in t/basic.t should be skipped > automatically when "gif" support is missing in the user's graphviz install. > > If you have further issues, feel free to reopen this ticket. > > Thanks! > -agentzh
Thanks! -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.