{"url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/520","repository_url":"https://api.github.com/repos/open-cogsci/OpenSesame","labels_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/520/comments","events_url":"https://api.github.com/repos/open-cogsci/OpenSesame/issues/520/events","html_url":"https://github.com/open-cogsci/OpenSesame/pull/520","id":214506437,"node_id":"MDExOlB1bGxSZXF1ZXN0MTEwOTI4NTA0","number":520,"title":"Fix TypeError with QIcon","user":{"login":"dschreij","id":689044,"node_id":"MDQ6VXNlcjY4OTA0NA==","avatar_url":"https://avatars.githubusercontent.com/u/689044?v=4","gravatar_id":"","url":"https://api.github.com/users/dschreij","html_url":"https://github.com/dschreij","followers_url":"https://api.github.com/users/dschreij/followers","following_url":"https://api.github.com/users/dschreij/following{/other_user}","gists_url":"https://api.github.com/users/dschreij/gists{/gist_id}","starred_url":"https://api.github.com/users/dschreij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschreij/subscriptions","organizations_url":"https://api.github.com/users/dschreij/orgs","repos_url":"https://api.github.com/users/dschreij/repos","events_url":"https://api.github.com/users/dschreij/events{/privacy}","received_events_url":"https://api.github.com/users/dschreij/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[],"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":2,"created_at":"2017-03-15T19:52:18Z","updated_at":"2017-03-28T07:33:49Z","closed_at":"2017-03-28T07:33:45Z","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":"MEMBER","issue_field_values":[],"type":null,"active_lock_reason":null,"draft":false,"pull_request":{"url":"https://api.github.com/repos/open-cogsci/OpenSesame/pulls/520","html_url":"https://github.com/open-cogsci/OpenSesame/pull/520","diff_url":"https://github.com/open-cogsci/OpenSesame/pull/520.diff","patch_url":"https://github.com/open-cogsci/OpenSesame/pull/520.patch","merged_at":null},"body":"After an upgrade to PyQt 5.8.1, I suddenly faced this error:\r\n\r\n~~~\r\nExtension error\r\n\r\nitem-stack: \r\nexception message: fromTheme() takes no keyword arguments\r\ntime: Wed Mar 15 15:42:29 2017\r\nexception type: TypeError\r\n\r\nTraceback:\r\n  File \"/Users/daniel/Github/OpenSesame/libqtopensesame/extensions/_extension_manager.py\", line 133, in fire\r\n    ext.fire(event, **kwdict)\r\n  File \"/Users/daniel/Github/OpenSesame/libqtopensesame/extensions/_base_extension.py\", line 386, in fire\r\n    getattr(self, u'event_%s' % event)(**kwdict)\r\n  File \"/Users/daniel/Github/OpenSesame/opensesame_extensions/get_started/get_started.py\", line 86, in event_open_recent_0\r\n    self.main_window.open_file(path=self.main_window.recent_files[0])\r\n  File \"/Users/daniel/Github/OpenSesame/libqtopensesame/qtopensesame.py\", line 760, in open_file\r\n    self.ui.pool_widget.refresh()\r\n  File \"/Users/daniel/Github/OpenSesame/libqtopensesame/widgets/pool_widget.py\", line 184, in refresh\r\n    icon = self.theme.qfileicon(self.pool[path])\r\n  File \"/Users/daniel/Github/OpenSesame/libqtopensesame/misc/theme.py\", line 123, in qfileicon\r\n    fallback=QtGui.QIcon.fromTheme(fallback))\r\nTypeError: fromTheme() takes no keyword arguments\r\n~~~\r\n\r\nApparently, it is no longer allowed to provide the fallback icon as a keyword argument. Removing the keyword indeed fixed the problem.","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/520/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/520/timeline","performed_via_github_app":null,"state_reason":null}