{"action":"created","issue":{"url":"https://api.github.com/repos/neurokernel/neurokernel/issues/45","labels_url":"https://api.github.com/repos/neurokernel/neurokernel/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/neurokernel/neurokernel/issues/45/comments","events_url":"https://api.github.com/repos/neurokernel/neurokernel/issues/45/events","html_url":"https://github.com/neurokernel/neurokernel/issues/45","id":70533630,"number":45,"title":"error when module id not in routing table","user":{"login":"kpsychas","id":1818694,"avatar_url":"https://avatars.githubusercontent.com/u/1818694?v=3","gravatar_id":"","url":"https://api.github.com/users/kpsychas","html_url":"https://github.com/kpsychas","followers_url":"https://api.github.com/users/kpsychas/followers","following_url":"https://api.github.com/users/kpsychas/following{/other_user}","gists_url":"https://api.github.com/users/kpsychas/gists{/gist_id}","starred_url":"https://api.github.com/users/kpsychas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpsychas/subscriptions","organizations_url":"https://api.github.com/users/kpsychas/orgs","repos_url":"https://api.github.com/users/kpsychas/repos","events_url":"https://api.github.com/users/kpsychas/events{/privacy}","received_events_url":"https://api.github.com/users/kpsychas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-23T22:59:32Z","updated_at":"2015-04-24T21:40:08Z","closed_at":"2015-04-24T21:40:08Z","body":"This error possibly occurs when simulating an LPU that is not connected to any other.\r\nThat is because ids are added in routing_table when adding a connection and not when defining\r\na Module.\r\n\r\nError can be reproduced by running the retina example in LPU_mpi branch (options -g -i are required the first time retina demo is run)\r\n\r\nStacktrace:\r\n\r\n2015-04-23T22:46:02Z:ERROR:prc 0     |File \"/home/kpsychas/NK1/neurokernel/neurokernel/mpi_backend.py\", line 74, in <module>\r\n2015-04-23T22:46:02Z:ERROR:prc 0     |    instance = target(**kwargs)\r\n2015-04-23T22:46:02Z:ERROR:prc 0     |File \"/home/kpsychas/NK1/neurokernel/neurokernel/LPU/LPU.py\", line 454, in __init__\r\n2015-04-23T22:46:02Z:ERROR:prc 0     |    device=device, debug=debug, time_sync=time_sync)\r\n2015-04-23T22:46:02Z:ERROR:prc 0     |File \"/home/kpsychas/NK1/neurokernel/neurokernel/core_gpu.py\", line 100, in __init__\r\n2015-04-23T22:46:02Z:ERROR:prc 0     |    raise ValueError('routing table must contain specified module ID')\r\n2015-04-23T22:46:02Z:ERROR:prc 0     |ValueError: routing table must contain specified module ID\r\n"},"comment":{"url":"https://api.github.com/repos/neurokernel/neurokernel/issues/comments/96073441","html_url":"https://github.com/neurokernel/neurokernel/issues/45#issuecomment-96073441","issue_url":"https://api.github.com/repos/neurokernel/neurokernel/issues/45","id":96073441,"user":{"login":"lebedov","id":218546,"avatar_url":"https://avatars.githubusercontent.com/u/218546?v=3","gravatar_id":"","url":"https://api.github.com/users/lebedov","html_url":"https://github.com/lebedov","followers_url":"https://api.github.com/users/lebedov/followers","following_url":"https://api.github.com/users/lebedov/following{/other_user}","gists_url":"https://api.github.com/users/lebedov/gists{/gist_id}","starred_url":"https://api.github.com/users/lebedov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lebedov/subscriptions","organizations_url":"https://api.github.com/users/lebedov/orgs","repos_url":"https://api.github.com/users/lebedov/repos","events_url":"https://api.github.com/users/lebedov/events{/privacy}","received_events_url":"https://api.github.com/users/lebedov/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T21:40:08Z","updated_at":"2015-04-24T21:40:08Z","body":"Fixed in the mpi branch. I also merged the changes into the LPU_mpi branch (although there seems to be an unrelated error when I run the retina demo)."}}