{"action":"created","issue":{"url":"https://api.github.com/repos/Karaage-Cluster/karaage-software/issues/1","labels_url":"https://api.github.com/repos/Karaage-Cluster/karaage-software/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Karaage-Cluster/karaage-software/issues/1/comments","events_url":"https://api.github.com/repos/Karaage-Cluster/karaage-software/issues/1/events","html_url":"https://github.com/Karaage-Cluster/karaage-software/issues/1","id":59438169,"number":1,"title":"Restricted Software denied","user":{"login":"AndrewIsaac","id":1441484,"avatar_url":"https://avatars.githubusercontent.com/u/1441484?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewIsaac","html_url":"https://github.com/AndrewIsaac","followers_url":"https://api.github.com/users/AndrewIsaac/followers","following_url":"https://api.github.com/users/AndrewIsaac/following{/other_user}","gists_url":"https://api.github.com/users/AndrewIsaac/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewIsaac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewIsaac/subscriptions","organizations_url":"https://api.github.com/users/AndrewIsaac/orgs","repos_url":"https://api.github.com/users/AndrewIsaac/repos","events_url":"https://api.github.com/users/AndrewIsaac/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewIsaac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-02T04:44:09Z","updated_at":"2015-03-16T03:44:09Z","closed_at":null,"body":"When I try to request restricted software I get:\r\nRestricted Software denied.\r\n\r\nThis appears to be because there is the wrong test in:\r\nkaraage-software/kgsoftware/views.py\r\n(line 43)\r\n\r\n$ kg-manage shell\r\n>>> from django.apps import apps\r\n>>> apps.is_installed(\"kgsoftware.applications\")\r\nFalse\r\n\r\nShould this be?\r\n>>> apps.is_installed('karaage.plugins.kgsoftware')\r\nTrue\r\n"},"comment":{"url":"https://api.github.com/repos/Karaage-Cluster/karaage-software/issues/comments/81383970","html_url":"https://github.com/Karaage-Cluster/karaage-software/issues/1#issuecomment-81383970","issue_url":"https://api.github.com/repos/Karaage-Cluster/karaage-software/issues/1","id":81383970,"user":{"login":"AndrewIsaac","id":1441484,"avatar_url":"https://avatars.githubusercontent.com/u/1441484?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewIsaac","html_url":"https://github.com/AndrewIsaac","followers_url":"https://api.github.com/users/AndrewIsaac/followers","following_url":"https://api.github.com/users/AndrewIsaac/following{/other_user}","gists_url":"https://api.github.com/users/AndrewIsaac/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewIsaac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewIsaac/subscriptions","organizations_url":"https://api.github.com/users/AndrewIsaac/orgs","repos_url":"https://api.github.com/users/AndrewIsaac/repos","events_url":"https://api.github.com/users/AndrewIsaac/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewIsaac/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T03:44:09Z","updated_at":"2015-03-16T03:44:09Z","body":"\n> On 16 Mar 2015, at 10:41 am, Brian May <notifications@github.com> wrote:\n> \n> What version of Karaage is this?\nii  karaage3                              3.1.15-1~bpo70+1\n\n> You mean you commented out 'kgapplications.plugin' to fix the error? i.e. you left in 'kgsoftware.plugin.applications'?\n\nTried many variants,\n...\n\n> Please can you try the following, and give me the output (some errors will occur, that is fine):\n> \n> # kg-manage shell\n> \n> import kgapplications.plugin\n> import karaage.plugins.kgapplications\n> karaage.plugins.kgapplications.plugin\n> \n> from django.apps import apps\n> apps.is_installed(\"karaage.plugins.kgapplications\")\n> apps.is_installed(\"karaage.plugins.kgsoftware.applications\")\n> apps.get_app_configs()\n\n# kg-manage shell\nPython 2.7.3 (default, Mar 13 2014, 11:03:55) \n[GCC 4.7.2] on linux2\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n(InteractiveConsole)\n>>> import kgapplications.plugin\nTraceback (most recent call last):\n  File \"<console>\", line 1, in <module>\nImportError: No module named kgapplications.plugin\n>>> import karaage.plugins.kgapplications\n>>> karaage.plugins.kgapplications.plugin\n<class 'karaage.plugins.kgapplications.plugin'>\n>>> \n>>> from django.apps import apps\n>>> apps.is_installed(\"karaage.plugins.kgapplications\")\nTrue\n>>> apps.is_installed(\"karaage.plugins.kgsoftware.applications\")\nFalse\n>>> apps.get_app_configs()\n[<Karaage: karaage>, <plugin: kgapplications>, <plugin: kgsoftware>, <plugin: kgusage>, <AppConfig: djcelery>, <AppConfig: django_xmlrpc>, <AppConfig: captcha>, <AppConfig: ajax_select>, <AppConfig: jsonfield>, <AppConfig: django_tables2>, <AppConfig: methods>, <AppConfig: django>, <AppConfig: pipeline>, <ContentTypesConfig: contenttypes>, <SessionsConfig: sessions>, <SitesConfig: sites>, <HumanizeConfig: humanize>, <MessagesConfig: messages>, <StaticFilesConfig: staticfiles>]"}}