{"url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/516","repository_url":"https://api.github.com/repos/open-cogsci/OpenSesame","labels_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/516/labels{/name}","comments_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/516/comments","events_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/516/events","html_url":"https://github.com/open-cogsci/OpenSesame/issues/516","id":213773533,"node_id":"MDU6SXNzdWUyMTM3NzM1MzM=","number":516,"title":"synth is broken (TypeError: 'float' object cannot be interpreted as an index)","user":{"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},"labels":[{"id":140343,"node_id":"MDU6TGFiZWwxNDAzNDM=","url":"https://api.github.com/repos/open-cogsci/OpenSesame/labels/Major","name":"Major","color":"f44336","default":false,"description":null},{"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/32","html_url":"https://github.com/open-cogsci/OpenSesame/milestone/32","labels_url":"https://api.github.com/repos/open-cogsci/OpenSesame/milestones/32/labels","id":2311457,"node_id":"MDk6TWlsZXN0b25lMjMxMTQ1Nw==","number":32,"title":"3.1.7 Jazzy James (7th 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":23,"state":"closed","created_at":"2017-02-09T09:48:25Z","updated_at":"2017-07-06T10:20:26Z","due_on":"2017-06-30T00:00:00Z","closed_at":"2017-07-06T10:19:20Z"},"comments":0,"created_at":"2017-03-13T13:55:09Z","updated_at":"2017-07-06T10:18:56Z","closed_at":"2017-07-06T10:18:56Z","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":"COLLABORATOR","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":"The synth is broken. Whenever you try to use the `synth` item or the `synth` function in an `inline_script`, the following error is triggered:\r\n\r\n~~~ python\r\n File \"/usr/lib/python2.7/dist-packages/libopensesame/inline_script.py\", line 102, in run\r\n    self.experiment.python_workspace._exec(self.crun)\r\n  File \"/usr/lib/python2.7/dist-packages/libopensesame/python_workspace.py\", line 161, in _exec\r\n    exec(bytecode, self._globals)\r\n  File \"<string>\", line 2, in <module>\r\n  File \"/usr/lib/python2.7/dist-packages/libopensesame/python_workspace_api.py\", line 157, in synth\r\n    decay=decay)\r\n  File \"/usr/lib/python2.7/dist-packages/openexp/synth.py\", line 62, in synth\r\n    _envelope = envelope(length, attack, decay, rate)\r\n  File \"/usr/lib/python2.7/dist-packages/openexp/synth.py\", line 159, in envelope\r\n    e = np.ones(length*rate)\r\n  File \"/home/sebastiaan/.local/lib/python2.7/site-packages/numpy/core/numeric.py\", line 192, in ones\r\n    a = empty(shape, dtype, order)\r\nTypeError: 'float' object cannot be interpreted as an index\r\n~~~","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/516/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/516/timeline","performed_via_github_app":null,"state_reason":"completed","pinned_comment":null}