hbmartin / graphviz2drawio

Convert graphviz (dot) files into draw.io / lucid (mxGraph) format
http://graphviz2drawio.rtfd.io
GNU General Public License v3.0
164 stars 33 forks source link

Convetration error #28

Closed gavr123456789 closed 2 weeks ago

gavr123456789 commented 5 years ago

This is beta software, please report issues to: https://github.com/hbmartin/graphviz2drawio/issues

Something went wrong, please report
Traceback (most recent call last):
  File "/usr/bin/graphviz2drawio", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python3.7/site-packages/graphviz2drawio/__main__.py", line 26, in main
    output = convert(args.to_convert, args.program)
  File "/usr/lib/python3.7/site-packages/graphviz2drawio/graphviz2drawio.py", line 27, in convert
    [e.enrich_from_graph(graph_edges[e.gid]) for e in edges]
  File "/usr/lib/python3.7/site-packages/graphviz2drawio/graphviz2drawio.py", line 27, in <listcomp>
    [e.enrich_from_graph(graph_edges[e.gid]) for e in edges]
KeyError: 'node0:f0->node1:f0'
Sentry is attempting to send 2 pending error messages
Waiting up to 10 seconds
Press Ctrl-C to quit

when tried to convert that: https://graphviz.gitlab.io/_pages/Gallery/directed/datastruct.html

hbmartin commented 2 weeks ago

This is fixed in the upcoming 0.3 release and automated testing has been added for that file. Feel free to reopen or create a new issue if that release does not work as you expect. Thanks for the report!