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

RE: Problem starting IsaViz the first time.

From: Stewart Wallace <stewart.wallace@dictionaryofsydney.org>
Date: Wed, 31 Oct 2007 22:09:47 +1100
Message-ID: <CEFE462FBADF6444A5B42B307A50C913166AC2@TPMA17.cityofsydney.nsw.gov.au>
To: "Emmanuel Pietriga" <emmanuel.pietriga@inria.fr>
Cc: <www-isaviz@w3.org>

Emmanuel,

Success!  Font was actually Dialog - changed it to Arial and all seems OK.  Thanks.



Stewart Wallace
Project Manager, Dictionary of Sydney
61 2 417 420 155
www.dictionaryofsydney.org


-----Original Message-----
From: Emmanuel Pietriga [mailto:emmanuel.pietriga@inria.fr] 
Sent: Wednesday, 31 October 2007 20:39
To: Stewart Wallace
Cc: www-isaviz@w3.org
Subject: Re: Problem starting IsaViz the first time.

I eventually managed to reproduce the problem on a Windows XP machine. It is the same problem as reported several times : GraphViz/ dot issues warning messages even when told to be quiet, and this causes the Java runtime call never to return. The SVG file actually gets generated, everything is fine, but the call to Runtime.exec() never returns.

I believe I have a workaround for you however (without changing the version of GraphViz) :
- in IsaViz, go to Edit/Preferences...
- select tab Rendering/GSS
- there is a good chance that the Graph/VTM font is set to Arial Unicode MS, and you might not have that font on your system
- select a font that you actually have on your system through the dialog box

This should solve your problem, as GraphViz will no longer complain about the missing font.

I'll also file a bug report for GraphViz about the fact that dot is not completely quiet when told to be.

Let me know if this works for you,
Emmanuel



On 28 oct. 07, at 07:58, Stewart Wallace wrote:

>
> Emmanuel,
>
> Graphviz is 2.14.1.  Two files attached, both have same problem.
>
> Thanks,
>
>
>
> Stewart
> -----Original Message-----
> From: Emmanuel Pietriga [mailto:emmanuel.pietriga@inria.fr]
> Sent: Sunday, 28 October 2007 17:41
> To: Stewart Wallace
> Subject: Re: Problem starting IsaViz the first time.
>
> I'll try to reproduce the problem on an XP box. Can you send me that 
> file again, and tell me which version of GraphViz you're using?
>
> Emmanuel
>
> On 28 oct. 07, at 03:27, Stewart Wallace wrote:
>
>> Emmanual,
>>
>> I had a go myself.  These are the two lines after the amendment:
>>
>> ****************************************
>> String cmdArray[]={Editor.m_GraphVizPath.toString(),"-Tsvg","-q2","-
>> o",outputFileName,dotFileName};
>> //String cmdArray[]={Editor.m_GraphVizPath.toString(),"-Tsvg","-
>> o",outputFileName,dotFileName};
>> ****************************************
>>
>> I recompiled (note - I had to copy isv-manifest.mf to the root of 
>> IsaViz before it did so successfully).  Got the following listing 
>> which I assume meant all was OK:
>>
>> ****************************************
>> Buildfile: build.xml
>> init:
>> isvbuild:
>>     [javac] Compiling 1 source file to C:\PROGRA~1\IsaViz3s\classes
>>     [javac] Note: C:\PROGRA~1\IsaViz3s\src\org\w3c\IsaViz
>> \RDFLoader.java uses or
>>  overrides a deprecated API.
>>     [javac] Note: Recompile with -Xlint:deprecation for details.
>>     [javac] Note: C:\PROGRA~1\IsaViz3s\src\org\w3c\IsaViz
>> \RDFLoader.java uses un
>> checked or unsafe operations.
>>     [javac] Note: Recompile with -Xlint:unchecked for details.
>> isvjar:
>>       [jar] Building jar: C:\PROGRA~1\IsaViz3s\lib\isaviz.jar
>> BUILD SUCCESSFUL
>> Total time: 12 seconds
>> ****************************************
>>
>> A new isaviz.jar was created - size, 835,476.
>>
>> BUT - same problem - tried to load the same rdf file and it still got 
>> stuck at "Calling Graphviz (this may take several minutes)..." - 
>> waited 10 mins - no result.
>>
>> Any other thoughts?  Or have you had a chance to re-compile this 
>> version in case I'm doing something wrong?
>>
>> Thanks,
>>
>>
>>
>>
>> Stewart Wallace
>> Project Manager, Dictionary of Sydney
>> 61 2 417 420 155
>> www.dictionaryofsydney.org
>>
>>
>>
>> -----Original Message-----
>> From: Stewart Wallace
>> Sent: Wednesday, 17 October 2007 17:41
>> To: 'Emmanuel Pietriga'
>> Cc: www-isaviz@w3.org
>> Subject: RE: Problem starting IsaViz the first time.
>>
>> Emmanual,
>>
>> I'm using a pre-compiled and generally prefer to avoid building/ 
>> compiling if possible - I would greatly appreciate it if you could 
>> send me a compiled version for WinXP/JRE1.6.0_01.
>>
>>
>> Stewart
>>
>> -----Original Message-----
>> From: Emmanuel Pietriga [mailto:emmanuel.pietriga@inria.fr]
>> Sent: Wednesday, 17 October 2007 16:34
>> To: Stewart Wallace
>> Cc: www-isaviz@w3.org
>> Subject: Re: Problem starting IsaViz the first time.
>>
>> 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
>>
>>
>>
>
> --
> 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
>
>
>
>
> <bloggers.rdf>
> <vc-db-2.rdf>

--
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, 31 October 2007 11:10:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 31 October 2007 11:10:23 GMT