18 Aug
2020
18 Aug
'20
6:25 a.m.
Am 17.08.20 um 22:20 schrieb Jeff Trull:
I tracked this down and I believe the issue is related to the interpretation of the global variables Agdirected and Agundirected from libgvc. If you replace lines 75 and 76 of graphviz_draw.py from:
libgv_directed = libgv.Agdirected libgv_undirected = libgv.Agundirected
to:
libgv_directed = ctypes.c_int.in_dll(libgv, "Agdirected") libgv_undirected = ctypes.c_int.in_dll(libgv, "Agundirected")
these values are interpreted correctly (as bit fields, not function pointers) and the test case works again.
Thanks for the fix, and the patch in gitlab, which has been merged. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>