Re: [graphviz-interest] problem using lua library, bezier assertion

"Emden R. Gansner" <[email protected]> Tue, 25 Feb 2014 10:33:58 -0500
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
On 2/24/14 7:33 PM, Sparr wrote:
> #!/usr/bin/env lua
> require ("gv")
> g = gv.readstring("digraph G {a->b}")
> gv.render(g, 'dot');
>
> and here is are the results:
>
> # ./gv_failure_test_case.lua
> Assertion failed: (bz.size % 3 == 1), function bezier_bb, file emit.c,
> line 3871.
> Abort trap: 6
The problem is that you are rendering the graph before calling gv.layout.
This is still a bug that I am fixing now, but calling gv.layout will at least avoid the crash.

     Emden

_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest