Am 03.09.21 um 00:18 schrieb Gerion Entrup:
My question: How can I debug this and find out, why it is invalid? Can I do/print anything in Python? Should I use GDB? Where would be a good place to set a breakpoint?
I cannot print the faulty edge. It is fairly complicate to make an minimal example. My whole code uses no remove_edge() or remove_vertex(). I'm using graph_tool 2.43.
What you should do is produce a minimal example that shows the problem... No debugger is going to replace this simple strategy. From the code fragment that you have shown, it's not possible to say much. I notice that you are subclassing Graph, and probably omitting to us specializations that you are making to Graph.vertex() and other methods. -- Tiago de Paula Peixoto <tiago@skewed.de>