[v0.17] Dependency graph: Graphviz failed to create an image file

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
miniellipse
Posts: 89
Joined: Tue Apr 24, 2018 9:09 pm

Re: [v0.17] Dependency graph: Graphviz failed to create an image file

Postby miniellipse » Sun Mar 31, 2019 4:16 am

NormandC wrote:
Sat Mar 30, 2019 8:28 pm
It looks like Graphviz was recently moved to GitLab for its code and web hosting, the complete website was changed and they no longer provide older versions than 2.38.
So what does one do to make it Graphviz work on a windows machine? The weird part is I do not understand how I broke it in the first place. Maybe I was trying to install too many FCAD dev versions??!
chrisb
Posts: 32185
Joined: Tue Mar 17, 2015 9:14 am

Re: [v0.17] Dependency graph: Graphviz failed to create an image file

Postby chrisb » Sun Mar 31, 2019 5:46 am

The number of FreeCAD versions is of no importance here - unless you run completely out of harddisk memory. Then all sorts of unexpected things can happen.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [v0.17] Dependency graph: Graphviz failed to create an image file

Postby NormandC » Sun Mar 31, 2019 6:03 am

miniellipse wrote:
Sun Mar 31, 2019 4:16 am
So what does one do to make it Graphviz work on a windows machine?
You mean that it won't work anymore for any model, not only for one single FCStd document?
kisolre
Posts: 3146
Joined: Wed Nov 21, 2018 1:13 pm

Re: [v0.17] Dependency graph: Graphviz failed to create an image file

Postby kisolre » Mon Apr 01, 2019 10:10 am

Here is the 2.41.81 dev version that I downloaded and works for me:
https://www.dropbox.com/s/5t6wnxrsnzjfl ... 1.zip?dl=0
User avatar
miniellipse
Posts: 89
Joined: Tue Apr 24, 2018 9:09 pm

Re: [v0.17] Dependency graph: Graphviz failed to create an image file

Postby miniellipse » Mon Apr 01, 2019 7:11 pm

NormandC wrote:
Sun Mar 31, 2019 6:03 am
You mean that it won't work anymore for any model, not only for one single FCStd document?
[/quote]

Ok. I rechecked things and the problem is only that one fcad file. Something in that file caused dot.exe to crash. I made some changes to that file and refreshed things, and now it works. Appreciate all the help as always in this forum. I love FCAD!
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [v0.17] Dependency graph: Graphviz failed to create an image file

Postby NormandC » Tue Apr 02, 2019 3:06 am

I've witnessed that for files posted on the forum from time to time where Graphviz can't generate a graph. I don't know why.
SixHourDays
Posts: 10
Joined: Wed May 15, 2019 10:44 pm

Re: [v0.17] Dependency graph: Graphviz failed to create an image file

Postby SixHourDays » Thu Jun 06, 2019 3:01 am

I can confirm in FreeCAD v0.18 with Graphviz 2.38, this is still a problem, this time on Windows10 x64.

I could make a literal cube in PartDesigner, "Graphviz failed to create an image file", every time.

Hot swapped the bin directory provided above into my existing 2.38 install, and voila, dependency graphs work (this is the first time I've seen one!)

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
chrisb
Posts: 32185
Joined: Tue Mar 17, 2015 9:14 am

Re: [v0.17] Dependency graph: Graphviz failed to create an image file

Postby chrisb » Thu Jun 06, 2019 6:32 am

I don't understand:
You have a 2.38 version, which fails.
And if you switch to the same 2.38 version it works?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
kisolre
Posts: 3146
Joined: Wed Nov 21, 2018 1:13 pm

Re: [v0.17] Dependency graph: Graphviz failed to create an image file

Postby kisolre » Thu Jun 06, 2019 6:46 am

chrisb wrote:
Thu Jun 06, 2019 6:32 am
And if you switch to the same 2.38 version it works?
No. He swaps the files in the 2.38 installations with the files from the 2.41.81 zip that I posted above so now folder is still called 2.38 but inside it there are 2.41.81 files which are working.
Current GraphViz dev builds are hard to navigate here https://ci.appveyor.com/project/ellson/graphviz-pl238 that is why I posted my working file.
chrisb
Posts: 32185
Joined: Tue Mar 17, 2015 9:14 am

Re: [v0.17] Dependency graph: Graphviz failed to create an image file

Postby chrisb » Thu Jun 06, 2019 7:04 am

Thanks for the clarification.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.