|Anonymous | Login||2017-11-24 19:07 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001089||graphviz||Dot||public||2006-03-17 10:31||2011-04-28 04:03|
|Summary||0001089: Subgraph label causes Dotty to give-up|
When running dotty with the attached input the file as follows:
>>>> dotty dottybug.dot
The following error results:
dotty.lefty: giving up on dot
dotty.lefty: graph that causes dot
dotty.lefty: to fail has been save in file dottybug.dot
dotty.lefty: please fill out a bug report at
dotty.lefty: http://www.research.att.com/~erg/graphviz/bugform.html [^]
The version of dotty being used is 96c.
This file has been proven to work on another computer server also using dotty 96c.
I have narrowed the problem down to the subgraph label.
If the subgraph label line is omitted from the input file, it works.
However, I would like to use the subgraph label feature.
Please let me know how to fix this problem - perhaps the version
of dot is not compatible with the file!?!?
>>dotty version 96c (09-24-96)
>>lefty version 10 Mar 2005
>>graphviz version 2.8 (Tue Mar 14 16:18:46 UTC 2006)
I have since discovered that the dottybug.dot file does seem to work properly
when dot v2.0 is being used, however, it doesn't seem to work with v2.8.
[carolyn] Ah! Okay, well, running dot there appears to be no problems. Therefore, my
guess is that there is a problem between the dotty-dot interaction. However,
as stated previously dotty v96c with dot v2.8 doesn't work, however, dotty v96
with dot 2.0 does.
[erg] Apparently, the trick is to remember that dotty uses dot -Txdot.
In addition, the bug only pops up if a recent gcc is used, and the bool
type is supplied by stdbool.h. In that case, a bool value will only be
either 1 or 0. This means the old use of "bool have_labels" in Agraphinfo_t,
which relied on bool as unsigned char supporting bit vector semantics, fails.
Thanks to Horst Schirmeier for catching this.
|Tags||No tags attached.|
|STATUS-COMMENT||Fixed (16 may 2006)|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> user695|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|