Unsuccessfully graphviz display

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Unsuccessfully graphviz display

SIM SOON HUAT, CTSID
Hi,

I keep getting this error when I try to use the graphviz plugin. Does
anyone know why this occurs?

graphviz: CreateProcess: dot -Tgif "C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\xwiki\dot\dot-1811682563.dot" -o
"C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\xwiki\dot\dot-1811682563.gif" error=2



Thanks,
ssh



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Unsuccessfully graphviz display

Mark Robinson-6
Your executable for the graphviz front end (eg dot on unix/inux or
dot.exe on windows) is  not set properly in your xwiki configurations so
when it tries to run the program you get an error.

3 things.  

1) Do you have graphviz installed?  See
http://www.graphviz.org/Download..php


2) Do you have the following line in your xwiki.cfg to enable the
plugin.

xwiki.plugins=com.xpn.xwiki.plugin.calendar.CalendarPlugin,
com.xpn.xwiki.plugin.feed.FeedPlugin,com.xpn.xwiki.plugin.ldap.LDAPPlugin,com.xpn.xwiki.plugin.google.GooglePlugin,com.xpn.xwiki.plugin.alexa.Alexa,com.xpn.xwiki.plugin.mail.MailPlugin,com.xpn.xwiki.plugin.graphviz.GraphVizPlugin

3) There is normally a line that points to the executable like:
xwiki.plugin.graphviz.dotpath=c:/Program Files/ATT/GraphViz/bin/dot.exe
xwiki.plugin.graphviz.neatopath=c:/Program Files/ATT/GraphViz/bin/neato.exe

So if you adjust it to match yours you should be fine.

Cheers,


Mark



On Wed, 2006-03-08 at 10:02 +0800, SIM SOON HUAT, CTSID wrote:

> Hi,
>
> I keep getting this error when I try to use the graphviz plugin. Does
> anyone know why this occurs?
>
> graphviz: CreateProcess: dot -Tgif "C:\Program Files\Apache Group\Tomcat
> 4.1\work\Standalone\localhost\xwiki\dot\dot-1811682563.dot" -o
> "C:\Program Files\Apache Group\Tomcat
> 4.1\work\Standalone\localhost\xwiki\dot\dot-1811682563.gif" error=2
>
>
>
> Thanks,
> ssh
>
> plain text document attachment (message-footer.txt)
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Mark Robinson
Regional Clarity Project Manager (HK & AU)

TNT Freight Managment (Australia) Limited
TNT Freight Managment (Hong Kong) Limited

3rd floor, Two Harbourfront, 18-22 Tak Fung Street,
Hung Hom, Kowloon, Hong Kong
Tel: +852 26213688 (ext. 374)
Mob: +852 90335711

Em : [hidden email]
Web: http://www.tntfreight.com





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws