{"action":"created","issue":{"url":"https://api.github.com/repos/opencog/ocpkg/issues/12","labels_url":"https://api.github.com/repos/opencog/ocpkg/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/opencog/ocpkg/issues/12/comments","events_url":"https://api.github.com/repos/opencog/ocpkg/issues/12/events","html_url":"https://github.com/opencog/ocpkg/issues/12","id":26321079,"number":12,"title":"ocpkg is missing a dependency for Flask or Flask-RESTful","user":{"login":"cosmoharrigan","id":2343485,"avatar_url":"https://avatars.githubusercontent.com/u/2343485?v=3","gravatar_id":"","url":"https://api.github.com/users/cosmoharrigan","html_url":"https://github.com/cosmoharrigan","followers_url":"https://api.github.com/users/cosmoharrigan/followers","following_url":"https://api.github.com/users/cosmoharrigan/following{/other_user}","gists_url":"https://api.github.com/users/cosmoharrigan/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmoharrigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmoharrigan/subscriptions","organizations_url":"https://api.github.com/users/cosmoharrigan/orgs","repos_url":"https://api.github.com/users/cosmoharrigan/repos","events_url":"https://api.github.com/users/cosmoharrigan/events{/privacy}","received_events_url":"https://api.github.com/users/cosmoharrigan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-01-26T20:00:55Z","updated_at":"2015-08-12T09:53:42Z","closed_at":"2015-08-12T09:53:42Z","body":"@githart:\r\nBuildbot skips the unit test for the Python REST API because there is a dependency missing on the machine:\r\n```\r\nFailure: SkipTest (ImportError exception: make sure the required dependencies are installed.) ... SKIP: ImportError exception: make sure the required dependencies are installed.\r\n```\r\n(you can search for that string in [the logfile](http://buildbot.opencog.org:8010/builders/opencog_master/builds/563/steps/test/logs/testlog))\r\n\r\nThat means that ocpkg doesn't install all the required dependencies. Can you help add the missing dependency? It seems that it must be either **Flask** or **Flask-RESTful**:\r\nhttps://github.com/opencog/opencog/blob/master/opencog/python/web/api/apimain.py#L3\r\n\r\nYou could check which one is missing:\r\n```\r\nsudo apt-get install python-pip\r\npip freeze\r\n```\r\n\r\nThe unit test passes successfully locally. It would be helpful to have it pass on the Buildbot so that we can validate that new users who set up an environment using ocpkg will have all tests pass successfully."},"comment":{"url":"https://api.github.com/repos/opencog/ocpkg/issues/comments/130242771","html_url":"https://github.com/opencog/ocpkg/issues/12#issuecomment-130242771","issue_url":"https://api.github.com/repos/opencog/ocpkg/issues/12","id":130242771,"user":{"login":"AmeBel","id":2135577,"avatar_url":"https://avatars.githubusercontent.com/u/2135577?v=3","gravatar_id":"","url":"https://api.github.com/users/AmeBel","html_url":"https://github.com/AmeBel","followers_url":"https://api.github.com/users/AmeBel/followers","following_url":"https://api.github.com/users/AmeBel/following{/other_user}","gists_url":"https://api.github.com/users/AmeBel/gists{/gist_id}","starred_url":"https://api.github.com/users/AmeBel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmeBel/subscriptions","organizations_url":"https://api.github.com/users/AmeBel/orgs","repos_url":"https://api.github.com/users/AmeBel/repos","events_url":"https://api.github.com/users/AmeBel/events{/privacy}","received_events_url":"https://api.github.com/users/AmeBel/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T09:53:42Z","updated_at":"2015-08-12T09:53:42Z","body":"closed b/c it has been resolved, for a while"}}