Tags:
create new tag
view all tags

SID-00009: Can't configure DirectedGraphPlugin

Status: Answered Answered TWiki version: 4.1.2 Perl version: 5.8.8
Category: DirectedGraphPlugin Server OS: Debian Etch Linux, kernel 2.6.24 Last update: 16 years ago

I'm trying to install and configure the DirectedGraphPlugin; I have GraphViz and ImageMagick installed. After installation, I try to display the InstalledPlugins page and I get:

"Path to GraphViz commands not defined. Use bin/configure or edit DirectedGraphPlugin.pm at /var/www/twiki/lib/TWiki/Plugins/DirectedGraphPlugin.pm line 136."

I can't see anywhere in the 'configure' utility to configure plugins. The DirectedGraphPlugin.pm file indicates that only pre-Cairo versions need to be edited (not sure what Cairo is, but I think it's an old version of TWiki).

I'm clearly missing something - can someone help?

Thanks.

-- KeithEdmunds - 05 Jan 2009

Discussion and Answer

Cairo is a pre-4.0 release of TWiki.

Configure should pick up the settings in lib/TWiki/Plugins/DirectedGraphPlugin/Config.spec. If not, add those to the end of your lib/LocalSite.cfg file.

-- PeterThoeny - 05 Jan 2009

I don't have a lib/TWiki/Plugins/DirectedGraphPlugin directory. I created one and changed the ownership to the same as the Apache process and reinsatlled; now I have a Config.spec.

If I copy the settings in that to the end (before the "1;") of lib/LocalSite.cfg, I get a new error:

Perl error when reading LocalSite.cfg: syntax error at /var/www/twiki/lib/LocalSite.cfg line 171, near "/.."

That line (171) is:

$TWiki::cfg{DirectedGraphPlugin}{toolsPath} = $TWiki::cfg{PubDir}/../tools ;


So I removed all traces of the DirectedGraphPlugin, and reinstalled it from the 'configure' page. I get an error at the end of the installation, as I do with all plugins:

[list of files removed]
tools/DirectedGraphPlugin.pl
Error: Failed to move file 'lib/TWiki/Plugins/DirectedGraphPlugin/' to /var/www/twiki/lib/TWiki/Plugins/DirectedGraphPlugin: Is a directory
Software error:
Installation terminated at /var/www/twiki/lib/TWiki/Configure/UIs/EXTEND.pm line 149.

Now when I try to look at any page on TWiki, I get Path to GraphViz commands not defined. Use bin/configure or edit DirectedGraphPlugin.pm  at /var/www/twiki/lib/TWiki/Plugins/DirectedGraphPlugin.pm line 136.

I'd be grateful for pointers to understand what is going wrong, thanks.

-- KeithEdmunds - 14 Jan 2009

I've resolved this by:

  • Installing the ExtenderScript
  • Running the installation script manually (which was done as root)
  • Resetting the file permissions (which probably could have been obviated by running the installation script as the Apache user)

-- KeithEdmunds - 15 Jan 2009

Thanks for reporting back so that other users can learn!

-- PeterThoeny - 15 Jan 2009

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Can't configure DirectedGraphPlugin
SupportCategory DirectedGraphPlugin
TWiki version 4.1.2
Server OS Debian Etch Linux, kernel 2.6.24
Web server Apache 2.2.3
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2009-01-15 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.