{"action":"created","issue":{"url":"https://api.github.com/repos/oppia/oppia/issues/2603","repository_url":"https://api.github.com/repos/oppia/oppia","labels_url":"https://api.github.com/repos/oppia/oppia/issues/2603/labels{/name}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/2603/comments","events_url":"https://api.github.com/repos/oppia/oppia/issues/2603/events","html_url":"https://github.com/oppia/oppia/issues/2603","id":182578227,"number":2603,"title":"Coding Interaction: ImportError, unable to import datetime","user":{"login":"anuzis","id":1622682,"avatar_url":"https://avatars.githubusercontent.com/u/1622682?v=3","gravatar_id":"","url":"https://api.github.com/users/anuzis","html_url":"https://github.com/anuzis","followers_url":"https://api.github.com/users/anuzis/followers","following_url":"https://api.github.com/users/anuzis/following{/other_user}","gists_url":"https://api.github.com/users/anuzis/gists{/gist_id}","starred_url":"https://api.github.com/users/anuzis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuzis/subscriptions","organizations_url":"https://api.github.com/users/anuzis/orgs","repos_url":"https://api.github.com/users/anuzis/repos","events_url":"https://api.github.com/users/anuzis/events{/privacy}","received_events_url":"https://api.github.com/users/anuzis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oppia/oppia/labels/Hacktoberfest","name":"Hacktoberfest","color":"006b75"},{"url":"https://api.github.com/repos/oppia/oppia/labels/loc:%20frontend","name":"loc: frontend","color":"d4c5f9"},{"url":"https://api.github.com/repos/oppia/oppia/labels/team:%20interactions","name":"team: interactions","color":"eeeeee"},{"url":"https://api.github.com/repos/oppia/oppia/labels/TODO:%20tech%20(instructions)","name":"TODO: tech (instructions)","color":"bfd4f2"},{"url":"https://api.github.com/repos/oppia/oppia/labels/type:%20feature%20(minor)","name":"type: feature (minor)","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"vidhan13j07","id":10212325,"avatar_url":"https://avatars.githubusercontent.com/u/10212325?v=3","gravatar_id":"","url":"https://api.github.com/users/vidhan13j07","html_url":"https://github.com/vidhan13j07","followers_url":"https://api.github.com/users/vidhan13j07/followers","following_url":"https://api.github.com/users/vidhan13j07/following{/other_user}","gists_url":"https://api.github.com/users/vidhan13j07/gists{/gist_id}","starred_url":"https://api.github.com/users/vidhan13j07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidhan13j07/subscriptions","organizations_url":"https://api.github.com/users/vidhan13j07/orgs","repos_url":"https://api.github.com/users/vidhan13j07/repos","events_url":"https://api.github.com/users/vidhan13j07/events{/privacy}","received_events_url":"https://api.github.com/users/vidhan13j07/received_events","type":"User","site_admin":false},"assignees":[{"login":"vidhan13j07","id":10212325,"avatar_url":"https://avatars.githubusercontent.com/u/10212325?v=3","gravatar_id":"","url":"https://api.github.com/users/vidhan13j07","html_url":"https://github.com/vidhan13j07","followers_url":"https://api.github.com/users/vidhan13j07/followers","following_url":"https://api.github.com/users/vidhan13j07/following{/other_user}","gists_url":"https://api.github.com/users/vidhan13j07/gists{/gist_id}","starred_url":"https://api.github.com/users/vidhan13j07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidhan13j07/subscriptions","organizations_url":"https://api.github.com/users/vidhan13j07/orgs","repos_url":"https://api.github.com/users/vidhan13j07/repos","events_url":"https://api.github.com/users/vidhan13j07/events{/privacy}","received_events_url":"https://api.github.com/users/vidhan13j07/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/oppia/oppia/milestones/41","html_url":"https://github.com/oppia/oppia/milestones/Important%20bugs","labels_url":"https://api.github.com/repos/oppia/oppia/milestones/41/labels","id":2041259,"number":41,"title":"Important bugs","description":"This is a list of bugs/features that we'd like to prioritize fixes for. Many of them are suitable for old and new contributors alike!","creator":{"login":"seanlip","id":10575562,"avatar_url":"https://avatars.githubusercontent.com/u/10575562?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":14,"state":"open","created_at":"2016-10-01T03:43:49Z","updated_at":"2016-10-21T06:19:21Z","due_on":"2016-10-31T00:00:00Z","closed_at":null},"comments":4,"created_at":"2016-10-12T16:56:21Z","updated_at":"2016-10-24T21:21:23Z","closed_at":null,"body":"Bug Report\r\n- expected behaviour: Python coding interaction is able to import modules from the standard library (e.g. datetime and os)\r\n- observed behaviour: learners are presented with an ImportError when attempting to run code using imports (screenshot attached)\r\n- steps to reproduce the problem: start the Coding to Mars exploration (https://www.oppia.org/explore/xLLFdk1Ojw4V) and proceed a few cards to the first programming exercise for Maverick construction robots. (screenshot attached) \r\n- which operating system and/or browser you're using, if relevant: Mac OSX, Chrome\r\n\r\n![importerror](https://cloud.githubusercontent.com/assets/1622682/19319533/3e6b5fee-907b-11e6-9ee6-9580fa84acb3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/oppia/oppia/issues/comments/255869793","html_url":"https://github.com/oppia/oppia/issues/2603#issuecomment-255869793","issue_url":"https://api.github.com/repos/oppia/oppia/issues/2603","id":255869793,"user":{"login":"seanlip","id":10575562,"avatar_url":"https://avatars.githubusercontent.com/u/10575562?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T21:21:23Z","updated_at":"2016-10-24T21:21:23Z","body":"I took a quick look at this. It looks like Skulpt, which powers this interaction, only supports certain third-party libs (see the first issue [here](https://github.com/skulpt/skulpt#ideas-list)). Any chance you could use libs from that list instead (like math and random)?"}}
{"actor":{"display_login":"seanlip"}}