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

Re: GraphViz 1.7.4

From: Jitao Yang <jitao.yang@gmail.com>
Date: Fri, 13 Feb 2009 16:49:42 +0100
Message-ID: <eb1226bd0902130749s658dd763y4f087abd08582bab@mail.gmail.com>
To: olivier Thereaux <ot@w3.org>
Cc: Jeremy_Carroll@hp.com, www-rdf-validator@w3.org
Dear Thereaux,
Thank you so much for your reply,
I thought 1.7.4 would solve the problem
is because in the servlet it mentions that:



* Implementation notes:


* o This servlet supports the HTTP POST operation; it does not

*  support the HTTP GET operation


* o Depending upon the parameters given to the servlet it may

*  invoke a GraphViz suprocess to generate a graph of the RDF.

*  See the following for more information about GraphViz:


*   http://www.research.att.com/sw/tools/graphviz/


*  The servlet assumes version 1.7.4 of GraphViz.


* o Depending upon the parameters given to the servlet, the RDF

*  to be validated may be copied to a file.  The name of the file

*  is automatically generated via Java's temporary file APIs.  The

*  location of the directory where the file is stored is configured

*  via the serverlet's init() method.  See below for more information.


* o See the section on Server Initialization for more information.


so, I thought maybe it is the version problem.

yes, after careful tracing the the codes, i think it is indeed the config
I am trying to fix it now.

again, thank you very much for your reply.


On Fri, Feb 13, 2009 at 3:24 PM, olivier Thereaux <ot@w3.org> wrote:

> 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 15:51:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 20:17:00 UTC