W3C home > Mailing lists > Public > www-rdf-validator@w3.org > February 2009

Re: GraphViz 1.7.4

From: olivier Thereaux <ot@w3.org>
Date: Fri, 13 Feb 2009 09:24:59 -0500
Cc: Jeremy_Carroll@hp.com, www-rdf-validator@w3.org
Message-Id: <CF1045C3-2C93-47C7-8104-2287542217E2@w3.org>
To: Jitao Yang <jitao.yang@gmail.com>

Dear Jitao, dear all.

On 11-Feb-09, at 5:32 PM, Jitao Yang wrote:
> I am using ARPServlet.java to develop an application,
> could you please send me a copy of GraphViz 1.7.4,
> since I can not find it from the website of GraphViz any more.

I am not an expert on graphviz, unfortunately, but I can tell with  
confidence that the service at http://www.w3.org/RDF/Validator/ uses a  
much more recent version of graphviz (2.8-3). Why do you think version  
1.7.4 would solve the problem?

Looking quickly at the code for ARPServlet.java
http://dev.w3.org/java/classes/org/w3c/rdf/examples/ARPServlet.java
the error you mention happens when running graphviz (as a standalone  
script) fails.

A way to fix the issue would be to first check that the "dot" script  
works.

> GRAPH_VIZ_FONT_DIR = /Volumes/Macintosh_HD_2/graphviz-2.20.3/graphs
> (I can not find the dir of Fonts)


Given what you wrote, I strongly suspect that your graphviz config is  
problematic. In particular, if you do not have a repository of fonts,  
maybe trying to not set that variable at all would be betther than  
setting it to a wrong path?

The graphviz project has a mailing-list and documentation online,  
hopefully they should be of interest.

Hope this helps,
-- 
olivier
Received on Friday, 13 February 2009 14:25:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:36:34 GMT