This question about Using an extension: Answered

Problems with graphviz dot drawings

I am running version 1.1.0 of foswiki, and we recently moved onto a new machine with centos 6, however have an issue with the Graphviz plugin, I get an error in log of:-

Foswiki::Plugigins::directGraphPlugin::initPlugin did not return true

Interestingly when try to generate a new dot graphic in wiki page displays is completely blank however an empty .png file is created in the foswiki temp directory?

I have installed the required modules, including the dot tool and imagemagic, and I can put the dot diagrams into the command line and they generate fine so something foswiki is sending is causing an issue. Any suggestions would be really appreciated.

-- BobEasthope - 17 Jul 2014

Have you checked the System/InstalledPlugins page? Are there any initialization errors logged there? Are there any other messages in the log other than the "Did not return true?"

Have you checked the Foswiki error and debug logs? The DirectedGraphPlugin::initPlugin logs a debug message whenever it returns zero.

(Foswiki 1.1.0 is very old. If you've installed onto a newer serve running a newer version of perl, you'll probably run into other issues as well.)

-- GeorgeClark - 18 Jul 2014

There is a newer graphviz integration available now that might not have these issues. Try GraphvizPlugin

-- MichaelDaum - 09 Sep 2015

QuestionForm edit

Subject Using an extension
Extension DirectedGraphPlugin
Version Foswiki 1.1.0
Status Answered
Related Topics
Topic revision: r4 - 09 Sep 2015, MichaelDaum - This page was cached on 13 Sep 2020 - 02:23.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy