owlviz icon indicating copy to clipboard operation
owlviz copied to clipboard

OWLVIZ Display problems

Open sidkgp opened this issue 7 years ago • 38 comments

OwlViz is displaying the entire hierarchy at (0,0). Not sure how to move this to center.

image

sidkgp avatar Feb 20 '18 05:02 sidkgp

Do you have GraphViz installed on your system? You need this, and you need to set the path to the "DOT" application in the OWLViz preferences. This is set on the OWLViz tab on the preference dialog. On my system the path is "/usr/local/bin/dot".

matthewhorridge avatar Feb 20 '18 19:02 matthewhorridge

I had the same problem; I thought I had GraphViz installed already and was wrong. Downloading the zip file and pointing the preferences setting to dot.exe fixed it. Thanks!

iisai1821 avatar Jul 10 '18 04:07 iisai1821

For Ubuntu users getting this error nowadays (2020):

  1. Run:
$ sudo apt install graphviz
  1. Then restart Protégé;
  2. Done!

Source: https://graphviz.org/download/

macedoj avatar Jul 26 '20 00:07 macedoj

Had the same problem with Windows, could not get Owlviz to work with Graphviz 2.44.1 (current stable), installed from Anaconda (Graphviz 2.38), that did work.

mgraauw avatar Sep 24 '20 13:09 mgraauw

Same problem, thank you @mgraauw, anaconda pkgs works in Windows 10

drdavide avatar Oct 23 '20 13:10 drdavide

I had the same trouble in win10. Adjust inside of Protege in menu File/Preferences/OWLViz the path to dot.exe I had to name the path and the program name C:...\Graphviz\bin\dot.exe

MartinKoelbl avatar Mar 24 '21 12:03 MartinKoelbl

Find the realpath to the dotfile.

For those installing via homebrew on osx:

For some reason the dotfile was not symlinked into /usr/local/bin

Test by trying to get the realpath via which graphviz. If found then just use this, if not then get the realpath yourself or create the symbolic link.

For a quick hack i ended up with: /usr/local/Cellar/graphviz/2.46.1/bin/dot

hpl002 avatar May 22 '21 16:05 hpl002

image

I have the real path to the dot app, but still cannot see the graph. What am I missing?

HjoshM avatar Jun 16 '21 07:06 HjoshM

@HjoshM Install it https://graphviz.org/download/ Restart Protege.

Path: C:\Program Files\Graphviz\bin\dot.exe

MarkOcean avatar Aug 02 '21 11:08 MarkOcean

I tried these commands to help me locate the DOT file path on my mac. It was not: "/usr/local/bin/dot" on my system.

dot -V

dot - graphviz version 2.49.2 (20211016.1639)

which dot

/opt/homebrew/bin/dot

I had installed Graphviz, but I was still running into trouble finding the right path. I am using Protege, and I had to modify the path for OwlViz since it was displaying the entire hierarchy at (0,0). I copied the path that I got by running the which dot command to the OWLViz tab on the preference dialog, and restarted protege and it worked perfectly! Good luck!

ikramlalmi avatar Oct 25 '21 16:10 ikramlalmi

Probably User rights linked issue. I has the same issue on Windows due to GraphViz being installed under C:\Program Files (x86)\Graphviz
=> For windows, the xxx\Graphviz\bin\dot.exe must be placed under a folder with "normal rights access" and the file no be "read only" => I moved the dot.exe file under C:\Users\Serge\OneDrive\Documents\XXXX, adapted protege preferences (File/Preferences/OwlViz => Path to dot file: C:\Users\Serge\OneDrive\Documents\XXXX\dot.exe Then after a relaunch, the issue was solved. Good luck!

SergeMIT avatar Dec 12 '21 17:12 SergeMIT

I tried these commands to help me locate the DOT file path on my mac. It was not: "/usr/local/bin/dot" on my system.

dot -V

dot - graphviz version 2.49.2 (20211016.1639)

which dot

/opt/homebrew/bin/dot

I had installed Graphviz, but I was still running into trouble finding the right path. I am using Protege, and I had to modify the path for OwlViz since it was displaying the entire hierarchy at (0,0). I copied the path that I got by running the which dot command to the OWLViz tab on the preference dialog, and restarted protege and it worked perfectly! Good luck!

(mac m1) This works for me. Check path of dot and change it in Protégé OWLViz, Path to DOT.

Sophal24 avatar Mar 15 '22 10:03 Sophal24

@HjoshM Install it https://graphviz.org/download/ Restart Protege.

Path: C:\Program Files\Graphviz\bin\dot.exe

I have installed the Graphicviz installed it in the same directory and set the same directory in the file--> owlviz /path to dot (C:\Program Files\Graphviz\bin\dot.exe) but the issue is still there

Misbah-khan786 avatar Apr 08 '22 04:04 Misbah-khan786

I have installed the Graphicviz installed it in the same directory and set the same directory in the file--> owlviz /path to dot (C:\Program Files\Graphviz\bin\dot.exe) but the issue is still there

I would try restarting the computer and/or reinstalling Protege itself. I don't remember if I did it myself, but I think so. I hope it helps you.

MarkOcean avatar Apr 08 '22 07:04 MarkOcean

In os x I used brew

brew install graphviz

and then adjust the dot path:

 which dot
/opt/homebrew/bin/dot
Screen Shot 2022-11-25 at 12 22 10 PM

garciadiazjaime avatar Nov 25 '22 18:11 garciadiazjaime