graph_tool.topology.shortest_distance on reversed graph yields a RuntimeError
Hi, I've updated form 2.7 to '2.8 (commit e523cea5, Sun Sep 27 11:17:31 2015 +0200)'. Since the update *graph_tool.topology.shortest_distance* applied to a *reversed* graph yields a *RuntimeError*. You'll find below the steps to reproduce the bug. In order to have a fallback solution, would it be possible to keep latest version(s) of the package available on the repository ?
g=gt.Graph(directed=True) g.add_vertex(3) <generator object <genexpr> at 0x7f7d1bb1a550> g.add_edge(1,2) <Edge object with source '1' and target '2' at 0x7f7d256beb98> g.add_edge(0,1) <Edge object with source '0' and target '1' at 0x7f7d256beb00> g <Graph object, directed, with 3 vertices and 2 edges at 0x7f7d256d5ad0> shortest_distance(g, source=1, target=2, pred_map=True) (1, <PropertyMap object with key type 'Vertex' and value type 'int64_t', for Graph 0x7f7d256d5ad0, at 0x7f7d256e3cd0>)
shortest_distance(gt.GraphView(g, reversed=True), source=1, target=2,pred_map=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/graph_tool/topology/__init__.py", line 1256, in shortest_distance pmap = g.copy_property(u.vertex_index, value_type="int64_t") File "/usr/lib/python2.7/dist-packages/graph_tool/decorators.pyc", line 2, in copy_property Vc File "/usr/lib/python2.7/dist-packages/graph_tool/decorators.py", line 144, in wrapper return f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/graph_tool/decorators.pyc", line 2, in copy_property Vc File "/usr/lib/python2.7/dist-packages/graph_tool/decorators.py", line 144, in wrapper return f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/graph_tool/__init__.py", line 2168, in copy_property _prop("v", self, tgt)) RuntimeError
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 28.09.2015 11:47, François wrote:
Hi,
I've updated form 2.7 to '2.8 (commit e523cea5, Sun Sep 27 11:17:31 2015 +0200)'.
Since the update *graph_tool.topology.shortest_distance* applied to a *reversed* graph yields a *RuntimeError*. You'll find below the steps to reproduce the bug.
I've just fixed this in git. I'll trigger a new release.
In order to have a fallback solution, would it be possible to keep latest version(s) of the package available on the repository ?
Unfortunately, the Debian repository software removes old versions automatically. But you can download and install older packages by hand from here: http://downloads.skewed.de/graph-tool/packages/ Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
Thanks for the blazing fast fix ! I didn't know about http://downloads.skewed.de/graph-tool/packages/ that's perfect. Best, François On Mon, Sep 28, 2015 at 12:17 PM, Tiago Peixoto [via Main discussion list for the graph-tool project] <ml-node+s982480n4026284h61@n3.nabble.com> wrote:
On 28.09.2015 11:47, François wrote:
Hi,
I've updated form 2.7 to '2.8 (commit e523cea5, Sun Sep 27 11:17:31 2015 +0200)'.
Since the update *graph_tool.topology.shortest_distance* applied to a *reversed* graph yields a *RuntimeError*. You'll find below the steps to reproduce the bug.
I've just fixed this in git. I'll trigger a new release.
In order to have a fallback solution, would it be possible to keep latest version(s) of the package available on the repository ?
Unfortunately, the Debian repository software removes old versions automatically. But you can download and install older packages by hand from here:
http://downloads.skewed.de/graph-tool/packages/
Best, Tiago
-- Tiago de Paula Peixoto <[hidden email] <http:///user/SendEmail.jtp?type=node&node=4026284&i=0>>
_______________________________________________ graph-tool mailing list [hidden email] <http:///user/SendEmail.jtp?type=node&node=4026284&i=1> http://lists.skewed.de/mailman/listinfo/graph-tool
*signature.asc* (836 bytes) Download Attachment <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4026284/0/signature.asc> -- Tiago de Paula Peixoto <tiago@skewed.de>
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... To start a new topic under Main discussion list for the graph-tool project, email ml-node+s982480n2141189h16@n3.nabble.com To unsubscribe from graph_tool.topology.shortest_distance on reversed graph yields a RuntimeError, click here <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4026283&code=ZnJhbmNvaXMua2F3YWxhQGdtYWlsLmNvbXw0MDI2MjgzfDIxMTQ0MDk4Nzk=> . NAML <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- François Kawala -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
I'm wondering when should I expect for the new release to be available ? best, françois On Mon, Sep 28, 2015 at 12:32 PM, François <francois.kawala@gmail.com> wrote:
Thanks for the blazing fast fix !
I didn't know about http://downloads.skewed.de/graph-tool/packages/ that's perfect.
Best, François
On Mon, Sep 28, 2015 at 12:17 PM, Tiago Peixoto [via Main discussion list for the graph-tool project] <[hidden email] <http:///user/SendEmail.jtp?type=node&node=4026285&i=0>> wrote:
On 28.09.2015 11:47, François wrote:
Hi,
I've updated form 2.7 to '2.8 (commit e523cea5, Sun Sep 27 11:17:31 2015 +0200)'.
Since the update *graph_tool.topology.shortest_distance* applied to a *reversed* graph yields a *RuntimeError*. You'll find below the steps to reproduce the bug.
I've just fixed this in git. I'll trigger a new release.
In order to have a fallback solution, would it be possible to keep latest version(s) of the package available on the repository ?
Unfortunately, the Debian repository software removes old versions automatically. But you can download and install older packages by hand from here:
http://downloads.skewed.de/graph-tool/packages/
Best, Tiago
-- Tiago de Paula Peixoto <[hidden email] <http:///user/SendEmail.jtp?type=node&node=4026284&i=0>>
_______________________________________________ graph-tool mailing list [hidden email] <http:///user/SendEmail.jtp?type=node&node=4026284&i=1> http://lists.skewed.de/mailman/listinfo/graph-tool
*signature.asc* (836 bytes) Download Attachment <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4026284/0/signature.asc> -- Tiago de Paula Peixoto <[hidden email] <http:///user/SendEmail.jtp?type=node&node=4026285&i=1>>
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... To start a new topic under Main discussion list for the graph-tool project, email [hidden email] <http:///user/SendEmail.jtp?type=node&node=4026285&i=2> To unsubscribe from graph_tool.topology.shortest_distance on reversed graph yields a RuntimeError, click here. NAML <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- François Kawala
------------------------------ View this message in context: Re: graph_tool.topology.shortest_distance on reversed graph yields a RuntimeError <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/graph-tool-topology-shortest-distance-on-reversed-graph-yields-a-RuntimeError-tp4026283p4026285.html> Sent from the Main discussion list for the graph-tool project mailing list archive <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/> at Nabble.com.
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
-- François Kawala
Great news, thanks again. On Mon, Sep 28, 2015 at 3:35 PM, Tiago Peixoto [via Main discussion list for the graph-tool project] <ml-node+s982480n4026287h54@n3.nabble.com> wrote:
On 28.09.2015 15:31, François Kawala wrote:
I'm wondering when should I expect for the new release to be available ?
It already is.
-- Tiago de Paula Peixoto <[hidden email] <http:///user/SendEmail.jtp?type=node&node=4026287&i=0>>
_______________________________________________ graph-tool mailing list [hidden email] <http:///user/SendEmail.jtp?type=node&node=4026287&i=1> http://lists.skewed.de/mailman/listinfo/graph-tool
*signature.asc* (836 bytes) Download Attachment <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4026287/0/signature.asc> -- Tiago de Paula Peixoto <tiago@skewed.de>
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... To start a new topic under Main discussion list for the graph-tool project, email ml-node+s982480n2141189h16@n3.nabble.com To unsubscribe from graph_tool.topology.shortest_distance on reversed graph yields a RuntimeError, click here <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4026283&code=ZnJhbmNvaXMua2F3YWxhQGdtYWlsLmNvbXw0MDI2MjgzfDIxMTQ0MDk4Nzk=> . NAML <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- François Kawala -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
participants (3)
-
François -
François Kawala -
Tiago de Paula Peixoto