Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphViz not working #19

Closed
abolt opened this issue Aug 15, 2016 · 4 comments
Closed

GraphViz not working #19

abolt opened this issue Aug 15, 2016 · 4 comments
Labels
Milestone

Comments

@abolt
Copy link

abolt commented Aug 15, 2016

Exception: java.lang.RuntimeException
Message: Graphviz-dot binary not found.
java.io.FileNotFoundException: lib\dotBinaries6\dot.exe (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at org.processmining.plugins.graphviz.dot.Dot2Image.createDotDirectoryByCopying(Dot2Image.java:183)
at org.processmining.plugins.graphviz.dot.Dot2Image.getDotDirectory(Dot2Image.java:164)
at org.processmining.plugins.graphviz.dot.Dot2Image.dot2imageInputStream(Dot2Image.java:37)
at org.processmining.plugins.graphviz.dot.Dot2Image.dot2imageInputStream(Dot2Image.java:30)
at org.processmining.plugins.graphviz.visualisation.DotPanel.dot2svg(DotPanel.java:437)
at org.processmining.plugins.graphviz.visualisation.DotPanel.(DotPanel.java:116)
at org.processmining.plugins.inductiveVisualMiner.plugins.ProcessTreeVisualisationPlugin.fancy(ProcessTreeVisualisationPlugin.java:25)
at org.rapidprom.ioobjectrenderers.ProcessTreeIOObjectDotRenderer.runVisualization(ProcessTreeIOObjectDotRenderer.java:19)
at org.rapidprom.ioobjectrenderers.ProcessTreeIOObjectDotRenderer.runVisualization(ProcessTreeIOObjectDotRenderer.java:9)
at org.rapidprom.ioobjectrenderers.abstr.AbstractRapidProMIOObjectRenderer.getVisualizationComponent(AbstractRapidProMIOObjectRenderer.java:23)
at com.rapidminer.gui.processeditor.results.ResultDisplayTools$1.run(ResultDisplayTools.java:168)
at com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:550)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Stack trace:

org.processmining.plugins.graphviz.dot.Dot2Image.dot2imageInputStream(Dot2Image.java:40)
org.processmining.plugins.graphviz.dot.Dot2Image.dot2imageInputStream(Dot2Image.java:30)
org.processmining.plugins.graphviz.visualisation.DotPanel.dot2svg(DotPanel.java:437)
org.processmining.plugins.graphviz.visualisation.DotPanel.(DotPanel.java:116)
org.processmining.plugins.inductiveVisualMiner.plugins.ProcessTreeVisualisationPlugin.fancy(ProcessTreeVisualisationPlugin.java:25)
org.rapidprom.ioobjectrenderers.ProcessTreeIOObjectDotRenderer.runVisualization(ProcessTreeIOObjectDotRenderer.java:19)
org.rapidprom.ioobjectrenderers.ProcessTreeIOObjectDotRenderer.runVisualization(ProcessTreeIOObjectDotRenderer.java:9)
org.rapidprom.ioobjectrenderers.abstr.AbstractRapidProMIOObjectRenderer.getVisualizationComponent(AbstractRapidProMIOObjectRenderer.java:23)
com.rapidminer.gui.processeditor.results.ResultDisplayTools$1.run(ResultDisplayTools.java:168)
com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:550)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

@abolt abolt added the Bug label Aug 15, 2016
@abolt abolt added this to the 4.0.0 milestone Aug 15, 2016
@s-j-v-zelst
Copy link

this is due to a (recent) fix, that kind of breaks graphviz in rapidprom.
Sander will fix this.

@s-j-v-zelst
Copy link

s-j-v-zelst commented Aug 16, 2016

I have added GraphViz 6.7.183 to the libraries repository (rapidprom/rapidprom-libraries@9d78c39)
I have updated the integration branch accordingly (1a281bd).
@abolt can you test this? (try to run it without any .ProM folder in the user home).
Don't forget to refresh the caches.

@s-j-v-zelst s-j-v-zelst removed their assignment Aug 16, 2016
@abolt
Copy link
Author

abolt commented Aug 16, 2016

@s-j-v-zelst : It does not work. I get the same error:

dot directory lib\dotBinaries6 does not exist; create it and copy binaries to it
copy dot.exe
java.io.FileNotFoundException: lib\dotBinaries6\dot.exe (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at org.processmining.plugins.graphviz.dot.Dot2Image.createDotDirectoryByCopying(Dot2Image.java:191)
at org.processmining.plugins.graphviz.dot.Dot2Image.getDotDirectory(Dot2Image.java:172)
at org.processmining.plugins.graphviz.dot.Dot2Image.dot2imageInputStream(Dot2Image.java:37)
at org.processmining.plugins.graphviz.dot.Dot2Image.dot2imageInputStream(Dot2Image.java:30)
at org.processmining.plugins.graphviz.visualisation.DotPanel.dot2svg(DotPanel.java:437)
at org.processmining.plugins.graphviz.visualisation.DotPanel.(DotPanel.java:116)
at org.processmining.plugins.inductiveVisualMiner.plugins.ProcessTreeVisualisationPlugin.fancy(ProcessTreeVisualisationPlugin.java:25)
at org.rapidprom.ioobjectrenderers.ProcessTreeIOObjectDotRenderer.runVisualization(ProcessTreeIOObjectDotRenderer.java:19)
at org.rapidprom.ioobjectrenderers.ProcessTreeIOObjectDotRenderer.runVisualization(ProcessTreeIOObjectDotRenderer.java:9)
at org.rapidprom.ioobjectrenderers.abstr.AbstractRapidProMIOObjectRenderer.getVisualizationComponent(AbstractRapidProMIOObjectRenderer.java:23)
at com.rapidminer.gui.processeditor.results.ResultDisplayTools$1.run(ResultDisplayTools.java:168)
at com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:550)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

@abolt abolt assigned s-j-v-zelst and unassigned abolt Aug 16, 2016
@abolt
Copy link
Author

abolt commented Aug 16, 2016

now it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants