{"action":"opened","issue":{"url":"https://api.github.com/repos/acil-bwh/SlicerCIP/issues/10","repository_url":"https://api.github.com/repos/acil-bwh/SlicerCIP","labels_url":"https://api.github.com/repos/acil-bwh/SlicerCIP/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/acil-bwh/SlicerCIP/issues/10/comments","events_url":"https://api.github.com/repos/acil-bwh/SlicerCIP/issues/10/events","html_url":"https://github.com/acil-bwh/SlicerCIP/issues/10","id":148990645,"number":10,"title":"fail to bundle Colors.py with extension","user":{"login":"pieper","id":126077,"avatar_url":"https://avatars.githubusercontent.com/u/126077?v=3","gravatar_id":"","url":"https://api.github.com/users/pieper","html_url":"https://github.com/pieper","followers_url":"https://api.github.com/users/pieper/followers","following_url":"https://api.github.com/users/pieper/following{/other_user}","gists_url":"https://api.github.com/users/pieper/gists{/gist_id}","starred_url":"https://api.github.com/users/pieper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieper/subscriptions","organizations_url":"https://api.github.com/users/pieper/orgs","repos_url":"https://api.github.com/users/pieper/repos","events_url":"https://api.github.com/users/pieper/events{/privacy}","received_events_url":"https://api.github.com/users/pieper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-17T20:03:13Z","updated_at":"2016-04-17T20:03:13Z","closed_at":null,"body":"Installing the latest CIP fails with messages like the one below (on linux, but probably the same everywhere).\r\n\r\nKey error is:\r\n**ImportError: No module named Colors**\r\n\r\nI manually copied the Colors.py file into the logic folder and this resolved the problem for my installation.\r\n\r\nThe fix would be to explicitly include the Colors.py file in the installation:\r\n\r\nhttps://github.com/acil-bwh/SlicerCIP/blob/develop/Scripted/CIP_Common/CMakeLists.txt#L5\r\n\r\nLooks like the problem arose with this commit: https://github.com/acil-bwh/SlicerCIP/commit/62afe4c324165b316a1f37f2cbe0d87069ae4de9\r\n\r\n@acil-bwh @rjosest \r\n\r\n```\r\nThe following path was manually added to the PythonPath in CIP_TracheaStentPlanning: /home/researcher/.config/NA-MIC/Extensions-25011/Chest_Imaging_Platform/lib/Slicer-4.5/qt-scripted-modules/CIP\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/home/researcher/.config/NA-MIC/Extensions-25011/Chest_Imaging_Platform/lib/Slicer-4.5/qt-scripted-modules/CIP_TracheaStentPlanning.py\", line 26, in <module>\r\n    from CIP.logic.SlicerUtil import SlicerUtil\r\n  File \"/home/researcher/.config/NA-MIC/Extensions-25011/Chest_Imaging_Platform/lib/Slicer-4.5/qt-scripted-modules/CIP/logic/__init__.py\", line 6, in <module>\r\n    from Colors import *\r\nImportError: No module named Colors\r\nloadSourceAsModule - Failed to load file \"/home/researcher/.config/NA-MIC/Extensions-25011/Chest_Imaging_Platform/lib/Slicer-4.5/qt-scripted-modules/CIP_TracheaStentPlanning.py\"  as module \"CIP_TracheaStentPlanning\" ! \r\nFail to instantiate module \"CIP_TracheaStentPlanning\" \r\n```"}}