{"action":"created","issue":{"url":"https://api.github.com/repos/PmagPy/PmagPy/issues/36","labels_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/36/comments","events_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/36/events","html_url":"https://github.com/PmagPy/PmagPy/issues/36","id":128280390,"number":36,"title":"reorganization broke pmag_basic_dialogs.py imports for file format programs","user":{"login":"Swanson-Hysell","id":4332322,"avatar_url":"https://avatars.githubusercontent.com/u/4332322?v=3","gravatar_id":"","url":"https://api.github.com/users/Swanson-Hysell","html_url":"https://github.com/Swanson-Hysell","followers_url":"https://api.github.com/users/Swanson-Hysell/followers","following_url":"https://api.github.com/users/Swanson-Hysell/following{/other_user}","gists_url":"https://api.github.com/users/Swanson-Hysell/gists{/gist_id}","starred_url":"https://api.github.com/users/Swanson-Hysell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swanson-Hysell/subscriptions","organizations_url":"https://api.github.com/users/Swanson-Hysell/orgs","repos_url":"https://api.github.com/users/Swanson-Hysell/repos","events_url":"https://api.github.com/users/Swanson-Hysell/events{/privacy}","received_events_url":"https://api.github.com/users/Swanson-Hysell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"moonshoes87","id":1836578,"avatar_url":"https://avatars.githubusercontent.com/u/1836578?v=3","gravatar_id":"","url":"https://api.github.com/users/moonshoes87","html_url":"https://github.com/moonshoes87","followers_url":"https://api.github.com/users/moonshoes87/followers","following_url":"https://api.github.com/users/moonshoes87/following{/other_user}","gists_url":"https://api.github.com/users/moonshoes87/gists{/gist_id}","starred_url":"https://api.github.com/users/moonshoes87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonshoes87/subscriptions","organizations_url":"https://api.github.com/users/moonshoes87/orgs","repos_url":"https://api.github.com/users/moonshoes87/repos","events_url":"https://api.github.com/users/moonshoes87/events{/privacy}","received_events_url":"https://api.github.com/users/moonshoes87/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-23T01:07:01Z","updated_at":"2016-01-25T00:12:12Z","closed_at":null,"body":"```\r\nTraceback (most recent call last):\r\n  File \"/Users/Laurentia/PmagPy/dialogs/pmag_basic_dialogs.py\", line 1017, in on_okButton\r\n    import CIT_magic\r\nImportError: No module named CIT_magic\r\n```"},"comment":{"url":"https://api.github.com/repos/PmagPy/PmagPy/issues/comments/174355401","html_url":"https://github.com/PmagPy/PmagPy/issues/36#issuecomment-174355401","issue_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/36","id":174355401,"user":{"login":"Caoimhinmg","id":5723397,"avatar_url":"https://avatars.githubusercontent.com/u/5723397?v=3","gravatar_id":"","url":"https://api.github.com/users/Caoimhinmg","html_url":"https://github.com/Caoimhinmg","followers_url":"https://api.github.com/users/Caoimhinmg/followers","following_url":"https://api.github.com/users/Caoimhinmg/following{/other_user}","gists_url":"https://api.github.com/users/Caoimhinmg/gists{/gist_id}","starred_url":"https://api.github.com/users/Caoimhinmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Caoimhinmg/subscriptions","organizations_url":"https://api.github.com/users/Caoimhinmg/orgs","repos_url":"https://api.github.com/users/Caoimhinmg/repos","events_url":"https://api.github.com/users/Caoimhinmg/events{/privacy}","received_events_url":"https://api.github.com/users/Caoimhinmg/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T00:12:12Z","updated_at":"2016-01-25T00:12:12Z","body":"I already fixed it quick \"kinda\" so I could convert some files. My fix is a bit of a patch though, instead of changing the imports to \"from programs import ......\" I just added ../programs/ to PYTHONPATH temporarily at the start of the file so that any time someone runs it it changes their PYTHONPATH for the duration of that instance of python."}}