Skip Menu |

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

Report information
The Basics
Id: 47778
Status: open
Priority: 0/
Queue: UML-Class-Simple

People
Owner: Nobody in particular
Requestors: antony.gelberg [...] wayforth.com
Cc:
AdminCc:

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



Subject: width is too large
I'm trying to use this for the first time to graph my app. I simply typed umlclass.pl -r lib, and got a load of class names followed by: dot: width (35540 >= 32768) is too large. at /usr/share/perl5/UML/Class/Simple.pm line 292 UML::Class::Simple::_as_image('UML::Class::Simple=HASH(0x7d852e0)', 'png', 'a.png') called at /usr/share/perl5/UML/Class/Simple.pm line 263 UML::Class::Simple::as_png('UML::Class::Simple=HASH(0x7d852e0)', 'a.png') called at /usr/bin/umlclass.pl line 119 Let me know if there's any more information that you need to debug this.
Subject: Re: [rt.cpan.org #47778] width is too large
Date: Sat, 11 Jul 2009 14:28:08 +0800
To: bug-UML-Class-Simple [...] rt.cpan.org
From: agentzh <agentzh [...] gmail.com>
On 7/11/09, Antony Gelberg via RT <bug-UML-Class-Simple@rt.cpan.org> wrote: Show quoted text
> > I'm trying to use this for the first time to graph my app. I simply > typed umlclass.pl -r lib, and got a load of class names followed by: > > dot: width (35540 >= 32768) is too large. > at /usr/share/perl5/UML/Class/Simple.pm line 292 >
Hmm, it seems that the resulting image was just (a bit) too large for bitmap output for your app (the SVG backend might be okay). A recent release of graphviz added such checks and the latest CVS version of graphviz seems to have fixed this according to this bug ticket thread: https://bugs.launchpad.net/ubuntu/+source/graphviz/+bug/243442 Maybe you could give it a shot? Another tip is to use the -p option of umlclass.pl to limit the packages you want to include in your plot so as to reduce the total bitmap size. Show quoted text
> > Let me know if there's any more information that you need to debug this. >
Well, thanks for your report :) Please let me know if my tips work for you :) Cheers, -agentzh