vmiklos / ged2dot

GEDCOM to Graphviz converter
https://vmiklos.hu/ged2dot/
Mozilla Public License 2.0
96 stars 18 forks source link

Uses wrong path (win10) #11

Closed tracton closed 5 years ago

tracton commented 5 years ago

In gedcom-0.7.oxt\filter.py the os.environ(PROGRAMFILES) settings returns "Program Files" but the default graphviz installer puts the file at "Program Files (x86)". So dot.exe is never found. Suggestions:

vmiklos commented 5 years ago

Right, the only config I tested was a 32bit Windows VM, so it's not surprising that 64bitness breaks things. So you say graphviz is 32bit, your Windows is 64bit, what is the bitness of LibreOffice?

Agreed, best to search in both paths.

Please test 0.8 (see releases here on GitHub), it is meant to fix compat problems with newer LibreOffice.

I'll try to reproduce this 32bit graphviz thing on 64bit Windows, I don't expect it's too hard to fix this.

vmiklos commented 5 years ago

https://github.com/vmiklos/ged2dot/commit/bdcf19b30ce1f44bd111adfa9514bf3f2e6cb865 fixes this.