{"action":"created","issue":{"url":"https://api.github.com/repos/nengo/nengo_gui/issues/371","labels_url":"https://api.github.com/repos/nengo/nengo_gui/issues/371/labels{/name}","comments_url":"https://api.github.com/repos/nengo/nengo_gui/issues/371/comments","events_url":"https://api.github.com/repos/nengo/nengo_gui/issues/371/events","html_url":"https://github.com/nengo/nengo_gui/issues/371","id":86651036,"number":371,"title":"Python 3: Layout problem for circular convolution","user":{"login":"mundya","id":3439837,"avatar_url":"https://avatars.githubusercontent.com/u/3439837?v=3","gravatar_id":"","url":"https://api.github.com/users/mundya","html_url":"https://github.com/mundya","followers_url":"https://api.github.com/users/mundya/followers","following_url":"https://api.github.com/users/mundya/following{/other_user}","gists_url":"https://api.github.com/users/mundya/gists{/gist_id}","starred_url":"https://api.github.com/users/mundya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mundya/subscriptions","organizations_url":"https://api.github.com/users/mundya/orgs","repos_url":"https://api.github.com/users/mundya/repos","events_url":"https://api.github.com/users/mundya/events{/privacy}","received_events_url":"https://api.github.com/users/mundya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-09T16:08:50Z","updated_at":"2015-06-10T12:31:13Z","closed_at":null,"body":"![product_missing](https://cloud.githubusercontent.com/assets/3439837/8062815/d973cc10-0e9f-11e5-840d-932059d9e38f.png)\r\n\r\nThe internals of the product network don't show up.  When I click to expand the product network this appears in the console:\r\n\r\n```\r\n(process:6692): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed\r\nTraceback (most recent call last):\r\n  File \"/home/andrew/Documents/University/rig_devel/nengo_gui/nengo_gui/swi.py\", line 237, in handle_ws_request\r\n    getattr(self, command)(*[client] + args[1:], **db)\r\n  File \"/home/andrew/Documents/University/rig_devel/nengo_gui/nengo_gui/server.py\", line 147, in ws_viz_component\r\n    component.update_client(client)\r\n  File \"/home/andrew/Documents/University/rig_devel/nengo_gui/nengo_gui/components/netgraph.py\", line 243, in update_client\r\n    self.expand_network(network, client)\r\n  File \"/home/andrew/Documents/University/rig_devel/nengo_gui/nengo_gui/components/netgraph.py\", line 334, in expand_network\r\n    pos = self.layout.make_layout(network)\r\n  File \"/home/andrew/Documents/University/rig_devel/nengo_gui/nengo_gui/layout.py\", line 130, in make_layout\r\n    layout.draw(3)  # do three passes to improve crossings\r\n  File \"/home/andrew/Documents/University/rig_devel/nengo_gui/nengo_gui/grandalf/layouts.py\", line 329, in draw\r\n    for (l,mvmt) in self.ordering_step():\r\n  File \"/home/andrew/Documents/University/rig_devel/nengo_gui/nengo_gui/grandalf/layouts.py\", line 477, in ordering_step\r\n    mvmt = l.order()\r\n  File \"/home/andrew/Documents/University/rig_devel/nengo_gui/nengo_gui/grandalf/layouts.py\", line 150, in order\r\n    self.sort(cmp=(lambda x,y: cmp(sug.grx[x].bar,sug.grx[y].bar)))\r\nTypeError: 'cmp' is an invalid keyword argument for this function\r\n```\r\n\r\nThis works for @xchoo in Python 2 I believe."},"comment":{"url":"https://api.github.com/repos/nengo/nengo_gui/issues/comments/110731506","html_url":"https://github.com/nengo/nengo_gui/issues/371#issuecomment-110731506","issue_url":"https://api.github.com/repos/nengo/nengo_gui/issues/371","id":110731506,"user":{"login":"tbekolay","id":203709,"avatar_url":"https://avatars.githubusercontent.com/u/203709?v=3","gravatar_id":"","url":"https://api.github.com/users/tbekolay","html_url":"https://github.com/tbekolay","followers_url":"https://api.github.com/users/tbekolay/followers","following_url":"https://api.github.com/users/tbekolay/following{/other_user}","gists_url":"https://api.github.com/users/tbekolay/gists{/gist_id}","starred_url":"https://api.github.com/users/tbekolay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbekolay/subscriptions","organizations_url":"https://api.github.com/users/tbekolay/orgs","repos_url":"https://api.github.com/users/tbekolay/repos","events_url":"https://api.github.com/users/tbekolay/events{/privacy}","received_events_url":"https://api.github.com/users/tbekolay/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T12:31:13Z","updated_at":"2015-06-10T12:31:13Z","body":"> the screenshot shows `../../../../../../tmp/whatever`\r\n\r\nHaha... my old man eyes fail me again.\r\n\r\nAnd I was able to reproduce this error in Python 3... For some reason my virtualenv was just like... half activated? I dunno, there was a weird path thing. In any case, I'll try to fix this up."}}