SID-02403: DirectedGraph not rendering
| Status: |
Asked |
TWiki version: |
6.0.2 |
Perl version: |
v5.14.1 |
| Category: |
DirectedGraphPlugin |
Server OS: |
Red Hat Enterprise Linux Server release 6.9 (Santiago) |
Last update: |
6 years ago |
We tried to install graphviz via instruction at
http://www.linuxfromscratch.org/blfs/view/svn/general/graphviz.html
but getting the following error message instead of the graph
DirectedGraph Error (127):
Processing /usr/bin/.convert -density %DENSITY|N% -geometry %GEOMETRY|S% %INFILE|F% %OUTFILE|F%
We have the following code:
| <dot antialias="on" size="800x800">
digraph GRS {
fontsize=8;
nodesep=0.5;
RESET [shape=none label="~Cpl_PC6PWROK or\nWarmReset"];
IDLE [label="Idle(1)\nExitCnt=63"];
FUSE [label="Fuse(3)\nExitCnt=23"];
WAIT [label="Wait(2)\nExitCnt=7"];
BIST [label="BIST(6)\nExitCnt=7"];
INIT [label="Init(7)\nExitCnt=7"];
TEST [label="Test(5)\nExitCnt=7"];
UCGO [label="UcGo(4)\nExitCnt=7"];
DONE [label="Done(0)\nExitCnt=1"];
RESET -> IDLE;
IDLE -> FUSE;
FUSE -> WAIT [label="FuseDone\nfrom FuseCtl "];
WAIT -> BIST;
BIST -> INIT [label="GrsBistDone\nfrom BistCtl "];
INIT -> TEST [label="SoftRepairDone\nfrom FuseCtl "];
TEST -> UCGO;
UCGO -> DONE;
DONE -> IDLE [label="L3IReset"];
{ rank = same; RESET IDLE }
{ rank = same; UCGO DONE }
}
</dot> |
--
Sukant K - 2019-04-25
Discussion and Answer
Any solution would be appreciated.
--
TWiki Guest - 2019-05-02
Any solution would be appreciated.
--
TWiki Guest - 2019-05-02
I am not familiar with this plugin, but reading the docs and code, add a DIRECTEDGRAPHPLUGIN_DEBUG setting in your Main.TWikiPreferences, and see generated temp files in
/tmp. Look also at the
twiki/data/debug.txt
--
Peter Thoeny - 2019-05-03
Hello Peter,
We added DIRECTEDGRAPHPLUGIN_DEBUG setting in your
TWikiPreferences and below message getting in twiki/data/debug.txt but there is no temp files generated in /tmp.
| 2019-05-08 - 19:27:55 |
EasyTimelinePlugin - - TWiki::Plugins::EasyTimelinePlugin::initPlugin(
DirectedGraphPlugin ) is OK
| 2019-05-08 - 19:27:55 | -
EasyTimelinePlugin::commonTagsHandler(
DirectedGraphPlugin )
| 2019-05-08 - 19:27:55 | -
EasyTimelinePlugin::commonTagsHandler(
WebBottomBar )
| 2019-05-08 - 19:27:55 | -
EasyTimelinePlugin::commonTagsHandler(
DirectedGraphPlugin )
| 2019-05-08 - 19:27:55 | -
EasyTimelinePlugin::commonTagsHandler(
DirectedGraphPlugin )
| 2019-05-08 - 19:28:07 |
EasyTimelinePlugin - - TWiki::Plugins::EasyTimelinePlugin::initPlugin(
DirectedGraphPlugin ) is OK
| 2019-05-08 - 19:28:07 | -
EasyTimelinePlugin::commonTagsHandler(
DirectedGraphPlugin )
| 2019-05-08 - 19:28:08 | -
EasyTimelinePlugin::commonTagsHandler(
DirectedGraphPlugin )
| 2019-05-08 - 19:28:08 | -
EasyTimelinePlugin::commonTagsHandler(
DirectedGraphPlugin )
| 2019-05-08 - 19:28:08 | -
EasyTimelinePlugin::commonTagsHandler(
DirectedGraphPlugin )
| 2019-05-08 - 19:28:08 | -
EasyTimelinePlugin::commonTagsHandler(
WebLeftBarLogin )
| 2019-05-08 - 19:28:08 | -
EasyTimelinePlugin::commonTagsHandler(
WebLeftBarWebsList )
| 2019-05-08 - 19:28:08 | -
EasyTimelinePlugin::commonTagsHandler(
WebLeftBar )
| 2019-05-08 - 19:28:08 | -
EasyTimelinePlugin::commonTagsHandler(
LanguageSelector )
| 2019-05-08 - 19:28:08 | -
EasyTimelinePlugin::commonTagsHandler(
WebTopBar )
| 2019-05-08 - 19:28:08 | -
EasyTimelinePlugin::commonTagsHandler(
WebBottomBar )
| 2019-05-08 - 19:28:08 | -
EasyTimelinePlugin::commonTagsHandler(
DirectedGraphPlugin )
| 2019-05-08 - 19:28:09 | -
EasyTimelinePlugin::commonTagsHandler(
DirectedGraphPlugin )
--
TWiki Guest - 2019-05-08
Per article
https://foswiki.org/Extensions/DirectedGraphPlugin
Verified installation using below steps:
Ensure that the dot command can manually generate a png file. From a command prompt, enter dot -v Then ^c and examine the output. You should see png as a listed device, and can confirm that textlayout uses cairo.
Result:
dot - graphviz version 2.40.1 (20161225.0304)
libdir = "/usr/local/lib/graphviz"
Activated plugin library: libgvplugin_dot_layout.so.6
Using layout: dot:dot_layout
Activated plugin library: libgvplugin_core.so.6
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file:
/usr/local/lib/graphviz/config6
was successfully loaded.
render : dot dot_json fig json json0 map mp pic pov ps svg tk vml xdot xdot_json
layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
textlayout :
device : canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 mp pic plain plain-ext pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4 xdot_json
loadimage : (lib) eps gif jpe jpeg jpg png ps svg
NOTE: png is not listed under device instead of I can see in loadimage. Is something need to change?
If using the antialias option, ensure that
ImageMagic convert command can convert from a .ps to .png format.
We configured as Set DIRECTEDGRAPHPLUGIN_ANTIALIAS = off
Can you please help here.
--
TWiki Guest - 2019-05-08
Hi,
Any help would be most appreciated.
--
TWiki Guest - 2019-05-10
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.