{"url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/488","repository_url":"https://api.github.com/repos/open-cogsci/OpenSesame","labels_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/488/comments","events_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/488/events","html_url":"https://github.com/open-cogsci/OpenSesame/issues/488","id":191272807,"node_id":"MDU6SXNzdWUxOTEyNzI4MDc=","number":488,"title":"SRbox plugin crashes when Allowed responses is used","user":{"login":"JdenHartog","id":8225621,"node_id":"MDQ6VXNlcjgyMjU2MjE=","avatar_url":"https://avatars.githubusercontent.com/u/8225621?v=4","gravatar_id":"","url":"https://api.github.com/users/JdenHartog","html_url":"https://github.com/JdenHartog","followers_url":"https://api.github.com/users/JdenHartog/followers","following_url":"https://api.github.com/users/JdenHartog/following{/other_user}","gists_url":"https://api.github.com/users/JdenHartog/gists{/gist_id}","starred_url":"https://api.github.com/users/JdenHartog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JdenHartog/subscriptions","organizations_url":"https://api.github.com/users/JdenHartog/orgs","repos_url":"https://api.github.com/users/JdenHartog/repos","events_url":"https://api.github.com/users/JdenHartog/events{/privacy}","received_events_url":"https://api.github.com/users/JdenHartog/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[{"id":425538403,"node_id":"MDU6TGFiZWw0MjU1Mzg0MDM=","url":"https://api.github.com/repos/open-cogsci/OpenSesame/labels/Bug","name":"Bug","color":"FF9800","default":false,"description":null}],"state":"closed","locked":false,"assignees":[{"login":"smathot","id":594936,"node_id":"MDQ6VXNlcjU5NDkzNg==","avatar_url":"https://avatars.githubusercontent.com/u/594936?v=4","gravatar_id":"","url":"https://api.github.com/users/smathot","html_url":"https://github.com/smathot","followers_url":"https://api.github.com/users/smathot/followers","following_url":"https://api.github.com/users/smathot/following{/other_user}","gists_url":"https://api.github.com/users/smathot/gists{/gist_id}","starred_url":"https://api.github.com/users/smathot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smathot/subscriptions","organizations_url":"https://api.github.com/users/smathot/orgs","repos_url":"https://api.github.com/users/smathot/repos","events_url":"https://api.github.com/users/smathot/events{/privacy}","received_events_url":"https://api.github.com/users/smathot/received_events","type":"User","user_view_type":"public","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/open-cogsci/OpenSesame/milestones/30","html_url":"https://github.com/open-cogsci/OpenSesame/milestone/30","labels_url":"https://api.github.com/repos/open-cogsci/OpenSesame/milestones/30/labels","id":2150840,"node_id":"MDk6TWlsZXN0b25lMjE1MDg0MA==","number":30,"title":"3.1.5 Jazzy James (5th maintenance release)","description":"","creator":{"login":"smathot","id":594936,"node_id":"MDQ6VXNlcjU5NDkzNg==","avatar_url":"https://avatars.githubusercontent.com/u/594936?v=4","gravatar_id":"","url":"https://api.github.com/users/smathot","html_url":"https://github.com/smathot","followers_url":"https://api.github.com/users/smathot/followers","following_url":"https://api.github.com/users/smathot/following{/other_user}","gists_url":"https://api.github.com/users/smathot/gists{/gist_id}","starred_url":"https://api.github.com/users/smathot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smathot/subscriptions","organizations_url":"https://api.github.com/users/smathot/orgs","repos_url":"https://api.github.com/users/smathot/repos","events_url":"https://api.github.com/users/smathot/events{/privacy}","received_events_url":"https://api.github.com/users/smathot/received_events","type":"User","user_view_type":"public","site_admin":false},"open_issues":0,"closed_issues":13,"state":"closed","created_at":"2016-11-22T08:23:22Z","updated_at":"2017-02-06T09:57:18Z","due_on":"2017-01-31T00:00:00Z","closed_at":"2017-02-06T09:57:18Z"},"comments":2,"created_at":"2016-11-23T13:39:06Z","updated_at":"2016-11-24T15:23:40Z","closed_at":"2016-11-24T15:23:40Z","assignee":{"login":"smathot","id":594936,"node_id":"MDQ6VXNlcjU5NDkzNg==","avatar_url":"https://avatars.githubusercontent.com/u/594936?v=4","gravatar_id":"","url":"https://api.github.com/users/smathot","html_url":"https://github.com/smathot","followers_url":"https://api.github.com/users/smathot/followers","following_url":"https://api.github.com/users/smathot/following{/other_user}","gists_url":"https://api.github.com/users/smathot/gists{/gist_id}","starred_url":"https://api.github.com/users/smathot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smathot/subscriptions","organizations_url":"https://api.github.com/users/smathot/orgs","repos_url":"https://api.github.com/users/smathot/repos","events_url":"https://api.github.com/users/smathot/events{/privacy}","received_events_url":"https://api.github.com/users/smathot/received_events","type":"User","user_view_type":"public","site_admin":false},"author_association":"CONTRIBUTOR","issue_field_values":[],"type":null,"active_lock_reason":null,"sub_issues_summary":{"total":0,"completed":0,"percent_completed":0},"issue_dependencies_summary":{"blocked_by":0,"total_blocked_by":0,"blocking":0,"total_blocking":0},"body":"In OS 3.1.3 on Win7x64 I get the error below when I enter \"5\" (without quotes) as *Allowed responses*:\r\n\r\nStopped\r\n\r\nThe experiment did not finish normally for the following reason:\r\n\r\n~~~\r\nUnexpected error\r\nDetails\r\n\r\nitem-stack: experiment[prepare].new_srbox[prepare]\r\nexception message: invalid literal for int() with base 10: 'kp5'\r\ntime: Wed Nov 23 14:34:18 2016\r\nexception type: ValueError\r\nTraceback (also in debug window)\r\n\r\n  File \"C:\\Program Files (x86)\\_PortableOpenSesameS\\opensesame_3.1.3-py2.7-win32-1\\lib\\site-packages\\libqtopensesame\\misc\\process.py\", line 140, in run\r\n    exp.run()\r\n  File \"C:\\Program Files (x86)\\_PortableOpenSesameS\\opensesame_3.1.3-py2.7-win32-1\\lib\\site-packages\\libopensesame\\experiment.py\", line 414, in run\r\n    self.items.execute(self.var.start)\r\n  File \"C:\\Program Files (x86)\\_PortableOpenSesameS\\opensesame_3.1.3-py2.7-win32-1\\lib\\site-packages\\libopensesame\\item_store.py\", line 90, in execute\r\n    self.prepare(name)\r\n  File \"C:\\Program Files (x86)\\_PortableOpenSesameS\\opensesame_3.1.3-py2.7-win32-1\\lib\\site-packages\\libopensesame\\item_store.py\", line 122, in prepare\r\n    self[name].prepare()\r\n  File \"C:\\Program Files (x86)\\_PortableOpenSesameS\\opensesame_3.1.3-py2.7-win32-1\\lib\\site-packages\\libopensesame\\sequence.py\", line 124, in prepare\r\n    self.experiment.items.prepare(_item)\r\n  File \"C:\\Program Files (x86)\\_PortableOpenSesameS\\opensesame_3.1.3-py2.7-win32-1\\lib\\site-packages\\libopensesame\\item_store.py\", line 122, in prepare\r\n    self[name].prepare()\r\n  File \"C:\\Program Files (x86)\\_PortableOpenSesameS\\opensesame_3.1.3-py2.7-win32-1\\lib\\site-packages\\libopensesame\\base_response_item.py\", line 115, in prepare\r\n    self._collect_response = self.prepare_response_func()\r\n  File \"C:\\Program Files (x86)\\_PortableOpenSesameS\\opensesame_3.1.3-py2.7-win32-1\\lib\\site-packages\\share\\opensesame_plugins\\srbox\\srbox.py\", line 106, in prepare_response_func\r\n    self._allowed_responses = [int(r) for r in self._allowed_responses]\r\nValueError: invalid literal for int() with base 10: 'kp5'\r\nDismiss this message\r\n~~~\r\n\r\n(It does work in OS 3.0.7)","closed_by":{"login":"smathot","id":594936,"node_id":"MDQ6VXNlcjU5NDkzNg==","avatar_url":"https://avatars.githubusercontent.com/u/594936?v=4","gravatar_id":"","url":"https://api.github.com/users/smathot","html_url":"https://github.com/smathot","followers_url":"https://api.github.com/users/smathot/followers","following_url":"https://api.github.com/users/smathot/following{/other_user}","gists_url":"https://api.github.com/users/smathot/gists{/gist_id}","starred_url":"https://api.github.com/users/smathot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smathot/subscriptions","organizations_url":"https://api.github.com/users/smathot/orgs","repos_url":"https://api.github.com/users/smathot/repos","events_url":"https://api.github.com/users/smathot/events{/privacy}","received_events_url":"https://api.github.com/users/smathot/received_events","type":"User","user_view_type":"public","site_admin":false},"reactions":{"url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/488/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/488/timeline","performed_via_github_app":null,"state_reason":"completed","pinned_comment":null}