Skip Menu |

This queue is for tickets about the Graph-Easy CPAN distribution.

Report information
The Basics
Id: 23942
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Graph-Easy

People
Owner: TELS [...] cpan.org
Requestors: paul.biggar [...] gmail.com
Cc:
AdminCc:

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

Attachments
install.main(java.lang.String[])_ZN7install4mainEJvP6JArrayIPN4java4lang6StringEE.graph



Subject: Incorrect graphviz output
Date: Thu, 14 Dec 2006 15:46:28 -0500
To: bug-Graph-Easy [...] rt.cpan.org
From: "Paul Biggar" <paul.biggar [...] gmail.com>
Hi, The attached graph file is incorrectly translated to graphviz format, when using the command $output = Graph::Easy::Parser->from_file($graph_file)->as_graphviz(); In particular, the target of the edge from [3046] -> [3085] should be 3085, but 3084 is drawn in its place. This uses Graph::Easy 0.49. Perl and Linux version are: This is perl, v5.8.8 built for i486-linux-gnu-thread-multi Linux lindt 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 GNU/Linux Thanks Paul PS Additionally, I couldn't install Graph::Easy::As_svg from CPAN. Perhaps this is related to the missing .meta file? -- Paul Biggar paul.biggar@gmail.com

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #23942] Incorrect graphviz output
Date: Thu, 14 Dec 2006 22:36:54 +0100
To: bug-Graph-Easy [...] rt.cpan.org
From: Tels <nospam-abuse [...] bloodgate.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Paul! On Thursday 14 December 2006 21:46, Paul Biggar via RT wrote: Show quoted text
> Thu Dec 14 15:46:54 2006: Request 23942 was acted upon. > Transaction: Ticket created by paul.biggar@gmail.com > Queue: Graph-Easy > Subject: Incorrect graphviz output > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: paul.biggar@gmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=23942 > > > > Hi, > > The attached graph file is incorrectly translated to graphviz format, > when using the command > > $output = Graph::Easy::Parser->from_file($graph_file)->as_graphviz(); > > In particular, the target of the edge from [3046] -> [3085] should be > 3085, but 3084 is drawn in its place. > > This uses Graph::Easy 0.49. Perl and Linux version are: > > This is perl, v5.8.8 built for i486-linux-gnu-thread-multi > Linux lindt 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 > GNU/Linux > > > Thanks > Paul > > PS Additionally, I couldn't install Graph::Easy::As_svg from CPAN. > Perhaps this is related to the missing .meta file?
I will have a look at the bug. Regarding As_svg, it is borked due to a bug in 0.49. I have 0.50 and a new version of As_svg "almost" ready, but got bogged down with reallife (new camera, xmas travel and preparations). I will release these versions around christmas - have a lot of free time then :) You can get the devel versions here: http://bloodgate.com/perl/packages/devel/ Thanx a lot for the report! best wishes, tels - -- Signed on Thu Dec 14 22:35:24 2006 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "Elliot, Sie Schwachkopf!" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iQEVAwUBRYHEBncLPEOTuEwVAQL7YQf+M21D73BBSjRN0GoaZntsAhanFUVVX+hU NTGe0k97P6j2N9n2SEOvJ/79fXGfnYy5bH5bXnwqWnKFvPJq6rJxpUo7rk2zO8+N m1WramojCVWEE/6xApySiSLiPKO6Twsmf8dNh3Yr7QDwWOZeDzWpA9fviPReS8nk QZ4yFSiHdM39kTeDQ16UMx0ytIsBSiBlGyUDsl+pHI3CTKBjn3SdBj8Ic+4gdZCH wxDCGU4ArSXGDHVjzj0ZlCD6XTiVGe/uTpGNzfXK7JdRY8CIOhbahj8oIHL1iJmf hzkF72KMoHIPlUR/2aaVnp6bBEHUDVm4kcAX/JIedObF4rxo8w139A== =emEx -----END PGP SIGNATURE-----
Subject: Re: [rt.cpan.org #23942] Incorrect graphviz output
Date: Thu, 14 Dec 2006 16:53:21 -0500
To: bug-Graph-Easy [...] rt.cpan.org
From: "Paul Biggar" <paul.biggar [...] gmail.com>
Hi tels, Thanks for getting back to me so quick. As is the way with these things, I found the bug just after I reported it. the bug is actually due to the presence of the # character in the label field. When I convert them all to X, it translates into .dot properly. Thanks Paul On 12/14/06, nospam-abuse@bloodgate.com via RT <bug-Graph-Easy@rt.cpan.org> wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=23942 > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello Paul! > > On Thursday 14 December 2006 21:46, Paul Biggar via RT wrote:
> > Thu Dec 14 15:46:54 2006: Request 23942 was acted upon. > > Transaction: Ticket created by paul.biggar@gmail.com > > Queue: Graph-Easy > > Subject: Incorrect graphviz output > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: paul.biggar@gmail.com > > Status: new > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=23942 > > > > > > > Hi, > > > > The attached graph file is incorrectly translated to graphviz format, > > when using the command > > > > $output = Graph::Easy::Parser->from_file($graph_file)->as_graphviz(); > > > > In particular, the target of the edge from [3046] -> [3085] should be > > 3085, but 3084 is drawn in its place. > > > > This uses Graph::Easy 0.49. Perl and Linux version are: > > > > This is perl, v5.8.8 built for i486-linux-gnu-thread-multi > > Linux lindt 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 > > GNU/Linux > > > > > > Thanks > > Paul > > > > PS Additionally, I couldn't install Graph::Easy::As_svg from CPAN. > > Perhaps this is related to the missing .meta file?
> > I will have a look at the bug. > > Regarding As_svg, it is borked due to a bug in 0.49. I have 0.50 and a new > version of As_svg "almost" ready, but got bogged down with reallife (new > camera, xmas travel and preparations). I will release these versions around > christmas - have a lot of free time then :) > > You can get the devel versions here: > > http://bloodgate.com/perl/packages/devel/ > > Thanx a lot for the report! > > best wishes, > > tels > > > - -- > Signed on Thu Dec 14 22:35:24 2006 with key 0x93B84C15. > Visit my photo gallery at http://bloodgate.com/photos/ > PGP key on http://bloodgate.com/tels.asc or per email. > > "Elliot, Sie Schwachkopf!" > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > > iQEVAwUBRYHEBncLPEOTuEwVAQL7YQf+M21D73BBSjRN0GoaZntsAhanFUVVX+hU > NTGe0k97P6j2N9n2SEOvJ/79fXGfnYy5bH5bXnwqWnKFvPJq6rJxpUo7rk2zO8+N > m1WramojCVWEE/6xApySiSLiPKO6Twsmf8dNh3Yr7QDwWOZeDzWpA9fviPReS8nk > QZ4yFSiHdM39kTeDQ16UMx0ytIsBSiBlGyUDsl+pHI3CTKBjn3SdBj8Ic+4gdZCH > wxDCGU4ArSXGDHVjzj0ZlCD6XTiVGe/uTpGNzfXK7JdRY8CIOhbahj8oIHL1iJmf > hzkF72KMoHIPlUR/2aaVnp6bBEHUDVm4kcAX/JIedObF4rxo8w139A== > =emEx > -----END PGP SIGNATURE----- > >
-- Paul Biggar paul.biggar@gmail.com
Subject: Re: [rt.cpan.org #23942] Incorrect graphviz output
Date: Thu, 14 Dec 2006 23:20:52 +0100
To: bug-Graph-Easy [...] rt.cpan.org
From: Tels <nospam-abuse [...] bloodgate.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Paul, On Thursday 14 December 2006 22:53, Paul Biggar via RT wrote: Show quoted text
> Queue: Graph-Easy > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=23942 > > > Hi tels, > > Thanks for getting back to me so quick. As is the way with these > things, I found the bug just after I reported it. the bug is actually > due to the presence of the # character in the label field. When I > convert them all to X, it translates into .dot properly.
I was suspecting something along these lines. The "#" is the comment character, so it probably confuses the parser. Have you tried quoting the label? Anyway, I found a few bugs in the as_graphviz() output, like it outputs things like "rows=" and "groups=" which it shouldn't! So thanx again! I'll send you an email when I finally release v0.50. Hopefully manage it this weekend :) Best wishes, Tels - -- Signed on Thu Dec 14 23:17:10 2006 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "TT: If I go to Blockbuster and rent a movie and watch it, am I a bad person? Is that bad? JV: No, you're not a bad person. But you don't have any right. TT: But I rented the movie. Why should it be illegal? JV: Well then, you have to get a machine that's licensed to show it. " - Keith J. Winstein (TT) vs. Jack Valenty (JV) in http://tinyurl.com/2y65n -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iQEVAwUBRYHORHcLPEOTuEwVAQIvawf9G7CXqjeusxTaPWOTu3/Uym89DlxGwekY pVDjXSBogpyrazZDRMjzKej7qm++HYhVCOTZV5Zp0/kgm7QZY1P/1rNykAnslcW9 /BWrNPwI3PK15jL61ajffzXZd13OQv3m2Q4RsV1coML7DViu9DXIbHchJvNbeaE6 CJcpRZU47DucPvpGvIcDCGE/GkNaeGk1BR3B73jKTl3argpnwWB2gBKdkedvw5bF 7disjfnjGY7+GS0aGEQgHRNUDvEN2rpUtTka23U61p9FpDzkIgODRKC+VuA3b8vo v7CR/qGo867MW4e6rwxzizqWJO6ug+tOAjRKlsgsjwDJcYQsPP3ryg== =L9eM -----END PGP SIGNATURE-----
I just released v0.50 of Graph::Easy, along with a new version of As_svg and the manual. In the manual, I added some text about "#" to the Syntax chapter, explaining that you need to escape the "#" along with ";" in attribute values, or the parser sees them as start of a comment, respectively as end of the attribute value. So I am closing this bug report now as resolved. If you have any more issues, please do not hesitate to report them! Best wishes, Tels