(base) cloud-di@vm096:/app/g-viewer$ graphviz2drawio H4-K3-A.dot
This is beta software, please report issues to:
https://github.com/hbmartin/graphviz2drawio/issues
Something went wrong, please report
An automatic crash report can be sent to the developer (no personal or graph information)
Type 'no' to cancel report, press enter to send:
Traceback (most recent call last):
File "/home/cloud-di/.local/bin/graphviz2drawio", line 8, in
sys.exit(main())
File "/home/cloud-di/.local/lib/python3.9/site-packages/graphviz2drawio/main.py", line 16, in main
output = convert(args.to_convert, args.program)
File "/home/cloud-di/.local/lib/python3.9/site-packages/graphviz2drawio/graphviz2drawio.py", line 30, in convert
mx_graph = MxGraph(nodes, edges)
File "/home/cloud-di/.local/lib/python3.9/site-packages/graphviz2drawio/mx/MxGraph.py", line 18, in init
self.add_edge(edge)
File "/home/cloud-di/.local/lib/python3.9/site-packages/graphviz2drawio/mx/MxGraph.py", line 38, in add_edge
self.add_mx_geo_with_points(edge_element, edge.curve)
File "/home/cloud-di/.local/lib/python3.9/site-packages/graphviz2drawio/mx/MxGraph.py", line 117, in add_mx_geo_with_points
if cb:
UnboundLocalError: local variable 'cb' referenced before assignment
Sentry is attempting to send 2 pending error messages
Waiting up to 10 seconds
Press Ctrl-C to quit
This is fixed in the upcoming 0.3 release.
Feel free to reopen or create a new issue if that release does not work as you expect.
Thanks for the report!
I have a dot file that I want to converto to drawio.
The dot file is Ok
But the conversion failed
(base) cloud-di@vm096:/app/g-viewer$ graphviz2drawio H4-K3-A.dot This is beta software, please report issues to: https://github.com/hbmartin/graphviz2drawio/issues Something went wrong, please report An automatic crash report can be sent to the developer (no personal or graph information) Type 'no' to cancel report, press enter to send: Traceback (most recent call last): File "/home/cloud-di/.local/bin/graphviz2drawio", line 8, in
sys.exit(main())
File "/home/cloud-di/.local/lib/python3.9/site-packages/graphviz2drawio/main.py", line 16, in main
output = convert(args.to_convert, args.program)
File "/home/cloud-di/.local/lib/python3.9/site-packages/graphviz2drawio/graphviz2drawio.py", line 30, in convert
mx_graph = MxGraph(nodes, edges)
File "/home/cloud-di/.local/lib/python3.9/site-packages/graphviz2drawio/mx/MxGraph.py", line 18, in init
self.add_edge(edge)
File "/home/cloud-di/.local/lib/python3.9/site-packages/graphviz2drawio/mx/MxGraph.py", line 38, in add_edge
self.add_mx_geo_with_points(edge_element, edge.curve)
File "/home/cloud-di/.local/lib/python3.9/site-packages/graphviz2drawio/mx/MxGraph.py", line 117, in add_mx_geo_with_points
if cb:
UnboundLocalError: local variable 'cb' referenced before assignment
Sentry is attempting to send 2 pending error messages
Waiting up to 10 seconds
Press Ctrl-C to quit