W3C home > Mailing lists > Public > www-isaviz@w3.org > October 2007

Re: Problem starting IsaViz the first time.

From: Emmanuel Pietriga <emmanuel.pietriga@inria.fr>
Date: Wed, 17 Oct 2007 08:33:35 +0200
Message-Id: <29EDC505-7D1C-4E30-8F4F-DF76514B95D7@inria.fr>
Cc: www-isaviz@w3.org
To: Stewart Wallace <stewart.wallace@dictionaryofsydney.org>

This definitely sounds like the problem I've been describing with GV  
warning messages causing the Runtime call never to return. Are you  
using the 3.0-alpha/SVN version of IsaViz, or a pre-compiled version ?

If you'e using the latest version from SVN, one easy fix is to:
- comment out line 417 in src/org/w3c/IsaViz/RDFLoader.java
- uncomment line 416 in src/org/w3c/IsaViz/RDFLoader.java
- compile again with "ant isvjar"

This will ask GraphViz to be silent and should solve the Runtime call  
never returning issue.

If you;re not using the latest SVN version, I can build such a  
version of IsaViz, send it to you so that you can test it (I am not  
able to reproduce the problem), and then I'll release a new version.

Emmanuel


On 17 oct. 07, at 01:59, Stewart Wallace wrote:

> Emmanual,
>
> I'm now trying this on my PC at the University which is pretty much  
> the same setup as home - JRE is 1.6.0_01.  Still having the same  
> problems unfortunately.
>
> I ran the command you suggested and got 36 "Could not find/open  
> font" messages.  I've attached the temp input file.  I've also  
> attached the listing of my \GraphViz directory - are the fonts  
> there?  I'm not quite sure where I should be seeing them.  My path  
> for the Font Directory in Preferences is C:\Program Files\ATT 
> \Graphviz but perhaps that's not pointing at what it should.
>
>
>
> Stewart
>
> -----Original Message-----
> From: Emmanuel Pietriga [mailto:emmanuel.pietriga@inria.fr]
> Sent: Wednesday, 17 October 2007 0:29
> To: Stewart Wallace
> Cc: www-isaviz@w3.org
> Subject: Re: Problem starting IsaViz the first time.
>
> On 16 oct. 07, at 09:03, Stewart Wallace wrote:
>
>> Jvm 1.6.0_02, Windows XP Prof 2002 SP2.  I closed the program, closed
>> the only other java program I had running (Protégé) and re- started
>> IsaViz.  I noticed then that the Properties for the rdf file were
>> available so it got that far.  It seems like GraphViz is the issue -
>> the import status gets as far as "Calling Graphviz (this may take
>> several minutes)..." before freezing.
>
>
> It could be that the GraphViz process outputs some warnings (maybe  
> a missing font) that make Java think that the runtime call to dot  
> never terminates. I this case there isn't any actual error, it is  
> just that the call to Runtime.exec() never returns. If you want to  
> find out if this is the src of the problem, you can try to get the  
> temporary .dot file generated by IsaViz and run it manually through  
> dot in a DOS prompt, just to see if it outputs anything.
>
> Use the following command line
>
> dot -Tsvg -o <out.svg> <in.dot>
>
>
>
>> It may not be relevant but I did at some stage get this message in  
>> the
>> command-line window...
>>
>> "[Fatal Error] isaviz.cfg:2:13: The prefix "isv" for element
>> "isv:config" is not bound."
>>
>> ... cfg is attached.  This may have come up when I changed a
>> Preference Directory setting.
>
> Strange. Your .cfg file seems fine. If the error persists, you  
> might want to delete it and save your prefs again from IsaViz.  
> Anyway this is probably not related to the above issue.
>
> Emmanuel
>
>
>>
>>
>>
>> Stewart
>>
>>
>>
>>
>> -----Original Message-----
>> From: Emmanuel Pietriga [mailto:emmanuel.pietriga@inria.fr]
>> Sent: Tuesday, 16 October 2007 16:42
>> To: Stewart Wallace
>> Cc: www-isaviz@w3.org
>> Subject: Re: Problem starting IsaViz the first time.
>>
>> Weird. I don't have access to 2.14 on the Mac (no build provided),  
>> but
>> it works fine with both 2.13 and 2.15-devel.
>>
>> What JVM and OS are you using ?
>>
>> Emmanuel
>>
>>
>> On 16 oct. 07, at 08:32, Stewart Wallace wrote:
>>
>>> No error message within IsaViz or in the command-line window.
>>> Graphviz is 2.14.1.
>>>
>>> -----Original Message-----
>>> From: Emmanuel Pietriga [mailto:emmanuel.pietriga@inria.fr]
>>> Sent: Tuesday, 16 October 2007 16:30
>>> To: Stewart Wallace
>>> Cc: www-isaviz@w3.org
>>> Subject: Re: Problem starting IsaViz the first time.
>>>
>>> On 16 oct. 07, at 08:15, Stewart Wallace wrote:
>>>
>>>> Emmanuel,
>>>>
>>>> I've just got back to this and I'm still having trouble getting
>>>> underway.  I installed the Alpha 3.0 version successfully on my  
>>>> home
>>>> PC (Windows XP) after having had the same problem with 2.1 as  
>>>> below.
>>>> Howwever, I'm just trying to import a small rdf file (attached - a
>>>> Jena sample) to get started - the import status bar comes up, goes
>>>> to a bit over 50% and then doesn't move - I waited up to 20 mins
>>>> with no result.  No messages in the command-line window.
>>>>
>>>> Any thoughts?
>>>>
>>>> Thanks,
>>>
>>> Hello,
>>>
>>> I suppose you don't get any kind of error message, right?
>>>
>>> Your file works fine on my Mac (see attached screenshot). What
>>> version of GraphViz are you using?
>>>
>>> Emmanuel
>>> --
>>> Emmanuel Pietriga
>>> INRIA Futurs - Projet In Situ    tel : +33 1 69 15 34 66
>>> Bat 490, Université Paris-Sud    fax : +33 1 69 15 65 86
>>> 91405 ORSAY Cedex FRANCE     http://www.lri.fr/~pietriga
>>>
>>
>> --
>> Emmanuel Pietriga
>> INRIA Futurs - Projet In Situ    tel : +33 1 69 15 34 66
>> Bat 490, Université Paris-Sud    fax : +33 1 69 15 65 86
>> 91405 ORSAY Cedex FRANCE     http://www.lri.fr/~pietriga
>>
>>
>>
>> <isaviz.cfg>
>
> --
> Emmanuel Pietriga
> INRIA Futurs - Projet In Situ    tel : +33 1 69 15 34 66
> Bat 490, Université Paris-Sud    fax : +33 1 69 15 65 86
> 91405 ORSAY Cedex FRANCE     http://www.lri.fr/~pietriga
>
>
>
> <isv35785.dot>
> <FILES.TXT>

--
Emmanuel Pietriga
INRIA Futurs - Projet In Situ    tel : +33 1 69 15 34 66
Bat 490, Université Paris-Sud    fax : +33 1 69 15 65 86
91405 ORSAY Cedex FRANCE     http://www.lri.fr/~pietriga
Received on Wednesday, 17 October 2007 06:33:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 October 2007 06:33:57 GMT