Tiago: Apologies for wasting your time. It all came down to a typo: I entered the name of the graph instead of the name of a file. ________________________________ From: graph-tool <graph-tool-bounces@skewed.de> on behalf of Tiago de Paula Peixoto <tiago@skewed.de> Sent: 12 July 2019 06:43 To: Main discussion list for the graph-tool project Subject: Re: [graph-tool] Puzzled Am 11.07.19 um 22:27 schrieb JeanPierre Paillet:
Hi Tiago:
I understand the need for context. However, in this case you have the whole context. The function gt_gml starts with g = load_graph('./_GT/grf.gt')
You seem to be missing my point entirely. Without the *actual code*, not your interpretation or paraphrasing of it, there is nothing that can be said. Btw, your account above is completely inconsistent with the stack trace you sent, which includes the line "g = load_graph(g_f)". I'll repeat once more: Please remember to *always* provide a _minimal_ and _self-contained_ example that shows the problem. And as I said in the previous email, even from the incomplete information you sent, it's pretty clear that you are calling the load_graph() function with the wrong argument. -- Tiago de Paula Peixoto <tiago@skewed.de>