Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Configure Graphviz for Protege 4.0 alpha under MacOSX Leopard

Nick Drummond nick.drummond at cs.manchester.ac.uk
Fri May 9 06:08:00 PDT 2008


Hi Xing,

Thankyou for the stacktrace.
I've added this to the bugtracker. I assume you are still having the  
same problem?

Nick

On 3 May 2008, at 05:23, Xing Lin wrote:

> Here comes the warning message.
>
> "
> Error 1 Logged at Sat May 03 06:22:37 CEST 2008
> TokenMgrError: Lexical error at line 1, column 2049.  Encountered:  
> "_" (95), after : ""
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .util 
> .graph 
> .layout 
> .dotlayoutengine 
> .dotparser 
> .DotParserTokenManager.getNextToken(DotParserTokenManager.java:590)
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .util 
> .graph 
> .layout.dotlayoutengine.dotparser.DotParser.jj_ntk(DotParser.java:433)
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .util 
> .graph 
> .layout.dotlayoutengine.dotparser.DotParser.stmt(DotParser.java:133)
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .util 
> .graph 
> .layout.dotlayoutengine.dotparser.DotParser.graph(DotParser.java:96)
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .util 
> .graph 
> .layout.dotlayoutengine.dotparser.DotParser.start(DotParser.java:61)
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .util 
> .graph 
> .layout.dotlayoutengine.dotparser.DotParser.parse(DotParser.java:18)
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .util 
> .graph 
> .layout 
> .dotlayoutengine 
> .DotGraphLayoutEngine.layoutGraph(DotGraphLayoutEngine.java:109)
>      
> uk 
> .ac 
> .man.cs.mig.util.graph.ui.GraphView.revalidateGraph(GraphView.java: 
> 309)
>     uk.ac.man.cs.mig.util.graph.ui.GraphView 
> $3.graphChanged(GraphView.java:141)
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .util 
> .graph 
> .controller 
> .impl 
> .DefaultGraphGenerator 
> .fireGraphChangedEvent(DefaultGraphGenerator.java:603)
>     uk.ac.man.cs.mig.util.graph.controller.impl.DefaultGraphGenerator 
> $1.objectsAdded(DefaultGraphGenerator.java:167)
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .util 
> .graph 
> .controller 
> .impl 
> .DefaultVisualisedObjectManager 
> .fireObjectAddedEvent(DefaultVisualisedObjectManager.java:726)
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .util 
> .graph 
> .controller 
> .impl 
> .DefaultVisualisedObjectManager 
> .showObjects(DefaultVisualisedObjectManager.java:339)
>      
> uk 
> .ac 
> .man 
> .cs 
> .mig 
> .coode 
> .owlviz 
> .command 
> .ShowAllClassesCommand.actionPerformed(ShowAllClassesCommand.java:61)
>      
> org 
> .protege 
> .editor 
> .core 
> .ui.view.ViewActionAdapter.actionPerformed(ViewActionAdapter.java:48)
>      
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java: 
> 1882)
>     javax.swing.AbstractButton 
> $Handler.actionPerformed(AbstractButton.java:2202)
>      
> javax 
> .swing 
> .DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
>      
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
>      
> javax 
> .swing 
> .plaf 
> .basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
>      
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java: 
> 231)
>     java.awt.Component.processMouseEvent(Component.java:5602)
>     javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
>     java.awt.Component.processEvent(Component.java:5367)
>     java.awt.Container.processEvent(Container.java:2010)
>     java.awt.Component.dispatchEventImpl(Component.java:4068)
>     java.awt.Container.dispatchEventImpl(Container.java:2068)
>     java.awt.Component.dispatchEvent(Component.java:3903)
>     java.awt.LightweightDispatcher.retargetMouseEvent(Container.java: 
> 4256)
>     java.awt.LightweightDispatcher.processMouseEvent(Container.java: 
> 3936)
>     java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
>     java.awt.Container.dispatchEventImpl(Container.java:2054)
>     java.awt.Window.dispatchEventImpl(Window.java:1791)
>     java.awt.Component.dispatchEvent(Component.java:3903)
>     java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
>      
> java 
> .awt 
> .EventDispatchThread 
> .pumpOneEventForHierarchy(EventDispatchThread.java:269)
>      
> java 
> .awt 
> .EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java: 
> 190)
>     java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 
> 184)
>     java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 
> 176)
>     java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> ---------------------------------------------------------------------------------------------------
>
>
> "
>
> On Fri, May 2, 2008 at 10:09 AM, Xing Lin <solo.lin at gmail.com> wrote:
> I attached the two screenshots for 3.4beta and 4.0 alpha.
>
> The first one (3.4beta) looks fine, but the second one (4.0 alpha)  
> can only show a small part of the diagram.
>
> Environment: Mac OS X Leopard 10.5.2, Graphviz (2.18)
>
> Thanks for consideration.
>
>
> On Fri, May 2, 2008 at 9:48 AM, Nick Drummond <nick.drummond at cs.manchester.ac.uk 
> > wrote:
> I have no idea of your level of experience with OWLViz, but here are  
> the instructions [1].
>
> If P4 owlviz is working differently from P3.x could you send a  
> screenshot of what you are seeing as opposed to what you expect.
>
> Nick
>
> [1] http://www.co-ode.org/downloads/owlviz/OWLVizGuide.pdf
>
> On 2 May 2008, at 06:31, Xing Lin wrote:
>
>> Solved!!
>>
>> Only work for DOT, not Graphviz. But visualization is abnormal  
>> since I can see only part of the graph. The version 3.4 beta works  
>> well.
>>
>> Thanks guys.
>>
>> /Xing
>>
>>
>>
>> On Fri, May 2, 2008 at 12:23 AM, Samson Tu <swt at stanford.edu> wrote:
>> Tim showed me how to do this yesterday.
>>
>> In Protege 4, select the OWLViz tab. There is a row of buttons on top
>> part of the tab. The right-most button is Options... You specify the
>> path to the dot or graphviz executable there.
>>
>> With best regard,
>> Samson Tu
>>
>> Xing Lin wrote:
>> > Thanks all to you guys.
>> >
>> > Now the question is how can I point the Dot.Command to Dot or  
>> Graphviz
>> > program ? There is no "protege.properties" under the new version.  
>> Do you
>> > need to create one myself manually?
>> >
>> > Thanks very much for any comments or suggestion.
>> >
>> > /Xing
>> >
>>
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>>
>>
>>
>> -- 
>> -----------------------------------------------------------
>> Xing Lin
>> Geoinformatics
>> KTH - Royal Institute of Technology [Kungliga Tekniska högskolan]
>> SE-100 44 Stockholm
>> Sweden
>> -----------------------------------------------------------  
>> _______________________________________________
>>
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
>
>
>
> -- 
> -----------------------------------------------------------
> Xing Lin
> Geoinformatics
> KTH - Royal Institute of Technology [Kungliga Tekniska högskolan]
> SE-100 44 Stockholm
> Sweden
> -----------------------------------------------------------
>
>
>
> -- 
> -----------------------------------------------------------
> Xing Lin
> Geoinformatics
> KTH - Royal Institute of Technology [Kungliga Tekniska högskolan]
> SE-100 44 Stockholm
> Sweden
> -----------------------------------------------------------  
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20080509/194c02bd/attachment.html>


More information about the protege-owl mailing list