{"action":"created","issue":{"url":"https://api.github.com/repos/datacamp/pythonwhat/issues/10","repository_url":"https://api.github.com/repos/datacamp/pythonwhat","labels_url":"https://api.github.com/repos/datacamp/pythonwhat/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/datacamp/pythonwhat/issues/10/comments","events_url":"https://api.github.com/repos/datacamp/pythonwhat/issues/10/events","html_url":"https://github.com/datacamp/pythonwhat/issues/10","id":157239789,"number":10,"title":"SCT somehow creates error when correct code submitted","user":{"login":"hugobowne","id":4182382,"avatar_url":"https://avatars.githubusercontent.com/u/4182382?v=3","gravatar_id":"","url":"https://api.github.com/users/hugobowne","html_url":"https://github.com/hugobowne","followers_url":"https://api.github.com/users/hugobowne/followers","following_url":"https://api.github.com/users/hugobowne/following{/other_user}","gists_url":"https://api.github.com/users/hugobowne/gists{/gist_id}","starred_url":"https://api.github.com/users/hugobowne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugobowne/subscriptions","organizations_url":"https://api.github.com/users/hugobowne/orgs","repos_url":"https://api.github.com/users/hugobowne/repos","events_url":"https://api.github.com/users/hugobowne/events{/privacy}","received_events_url":"https://api.github.com/users/hugobowne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-27T16:05:25Z","updated_at":"2016-05-27T21:02:02Z","closed_at":null,"body":"In https://campus.datacamp.com/courses/1113/2464?ex=3 ,\r\n\r\nwhen we submit the solution code, python throws an error. this did not happen when SCT wasn't present.\r\n\r\nsee screenshot:\r\n\r\n<img width=\"1273\" alt=\"screen shot 2016-05-27 at 11 57 10 am\" src=\"https://cloud.githubusercontent.com/assets/4182382/15613779/497203b4-2403-11e6-8af2-9b54cdf0b59a.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/datacamp/pythonwhat/issues/comments/222252378","html_url":"https://github.com/datacamp/pythonwhat/issues/10#issuecomment-222252378","issue_url":"https://api.github.com/repos/datacamp/pythonwhat/issues/10","id":222252378,"user":{"login":"hugobowne","id":4182382,"avatar_url":"https://avatars.githubusercontent.com/u/4182382?v=3","gravatar_id":"","url":"https://api.github.com/users/hugobowne","html_url":"https://github.com/hugobowne","followers_url":"https://api.github.com/users/hugobowne/followers","following_url":"https://api.github.com/users/hugobowne/following{/other_user}","gists_url":"https://api.github.com/users/hugobowne/gists{/gist_id}","starred_url":"https://api.github.com/users/hugobowne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugobowne/subscriptions","organizations_url":"https://api.github.com/users/hugobowne/orgs","repos_url":"https://api.github.com/users/hugobowne/repos","events_url":"https://api.github.com/users/hugobowne/events{/privacy}","received_events_url":"https://api.github.com/users/hugobowne/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T21:02:01Z","updated_at":"2016-05-27T21:02:01Z","body":"@vincentvankrunkelsven the `context_vals` workaround doesn't seem to be working for us.\r\n\r\nIn the case that the function we're defining takes no arguments we have tried \r\n\r\n - `context_vals = []` (then we get above error 'list index out of range')\r\n- we have also tried along `context_vals` as a list of one element and in this case we get the 'not defined' error.\r\n\r\nthis occurs in https://campus.datacamp.com/courses/1113/2464?ex=3\r\n\r\nAlso, in https://campus.datacamp.com/courses/1113/2464?ex=4 , the function in which takes an argument, using `context_vals=[\"congratulations!!!\"]` throws the not defined error. see screenshot.\r\n\r\nany other workarounds?\r\n\r\nIt looks like @franciscastro 's SCTs are written correctly but maybe you want to take a quick look also\r\n\r\n<img width=\"1268\" alt=\"screen shot 2016-05-27 at 4 58 41 pm\" src=\"https://cloud.githubusercontent.com/assets/4182382/15621104/952aac88-242c-11e6-8658-23eac54a0573.png\">\r\n\r\n"}}
{"actor":{"display_login":"hugobowne"}}