{"url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/610","repository_url":"https://api.github.com/repos/open-cogsci/OpenSesame","labels_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/610/labels{/name}","comments_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/610/comments","events_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/610/events","html_url":"https://github.com/open-cogsci/OpenSesame/issues/610","id":303632712,"node_id":"MDU6SXNzdWUzMDM2MzI3MTI=","number":610,"title":"3.2.1 disallows item name 'response' and fails to open older experiments","user":{"login":"wolfgangwalther","id":9132420,"node_id":"MDQ6VXNlcjkxMzI0MjA=","avatar_url":"https://avatars.githubusercontent.com/u/9132420?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfgangwalther","html_url":"https://github.com/wolfgangwalther","followers_url":"https://api.github.com/users/wolfgangwalther/followers","following_url":"https://api.github.com/users/wolfgangwalther/following{/other_user}","gists_url":"https://api.github.com/users/wolfgangwalther/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfgangwalther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfgangwalther/subscriptions","organizations_url":"https://api.github.com/users/wolfgangwalther/orgs","repos_url":"https://api.github.com/users/wolfgangwalther/repos","events_url":"https://api.github.com/users/wolfgangwalther/events{/privacy}","received_events_url":"https://api.github.com/users/wolfgangwalther/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":null,"comments":1,"created_at":"2018-03-08T21:10:33Z","updated_at":"2018-03-30T15:22:15Z","closed_at":"2018-03-30T15:22:15Z","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":"Windows 7 / 64bit / Python 2.7 / OpenSesame 3.2.1\r\n\r\nTrying to set an item name to `response` won't work anymore - the item name will be changed to `response_1` immediately, without another item with the same name. This was possible before.\r\n\r\nTrying to open an older experiment that was created with 3.1.9 and that included such an item made OpenSesame rename the item itself to `response_1` - but not the references. This lead to the following error (dialog box):\r\n`Extension undo_manager misbehaved on event open_experiment (see debug window for stack trace)`\r\n\r\nAnd the debug window:\r\n`No item named \"response\"`\r\n\r\nIn my case this was within a coroutine. However opening the coroutine in OpenSesame to try to change the name was not possible, because whenever I opened it, I just got the following error:\r\n``` \r\nTraceback (most recent call last):\r\n  File \"C:\\Program Files (x86)\\OpenSesame\\lib\\site-packages\\libqtopensesame\\widgets\\tree_overview.py\", line 329, in mousePressEvent\r\n    u'script'           : target_item.to_string(),\r\n  File \"C:\\Program Files (x86)\\OpenSesame\\share\\opensesame_plugins\\coroutines\\oscoroutines\\_coroutines.py\", line 116, in to_string\r\n    if self.is_oneshot_coroutine(item_name):\r\n  File \"C:\\Program Files (x86)\\OpenSesame\\share\\opensesame_plugins\\coroutines\\oscoroutines\\_coroutines.py\", line 85, in is_oneshot_coroutine\r\n    return self.experiment.items[item_name].is_oneshot_coroutine\r\n  File \"C:\\Program Files (x86)\\OpenSesame\\lib\\site-packages\\libopensesame\\item_store.py\", line 319, in __getitem__\r\n    raise osexception(u'No item named \"%s\"' % name)\r\nosexception: \r\nNo item named \"response\"\r\n\r\nitem-stack: \r\ntime: Thu Mar 08 22:08:17 2018\r\n```\r\n\r\nIf disallowing `response` as an item name is by design, then I feel opening those files should rewrite the references as well. But what reason would there be to not allow `response` as a name anymore? `response` just feels natural for... exactly that: a response!","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/610/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/610/timeline","performed_via_github_app":null,"state_reason":"completed","pinned_comment":null}