{"url":"https://api.github.com/repos/open-cogsci/python-qtpip/issues/1","repository_url":"https://api.github.com/repos/open-cogsci/python-qtpip","labels_url":"https://api.github.com/repos/open-cogsci/python-qtpip/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/open-cogsci/python-qtpip/issues/1/comments","events_url":"https://api.github.com/repos/open-cogsci/python-qtpip/issues/1/events","html_url":"https://github.com/open-cogsci/python-qtpip/issues/1","id":503860006,"node_id":"MDU6SXNzdWU1MDM4NjAwMDY=","number":1,"title":"Package search functionality crashes the application","user":{"login":"ispasmihai","id":33989968,"node_id":"MDQ6VXNlcjMzOTg5OTY4","avatar_url":"https://avatars.githubusercontent.com/u/33989968?v=4","gravatar_id":"","url":"https://api.github.com/users/ispasmihai","html_url":"https://github.com/ispasmihai","followers_url":"https://api.github.com/users/ispasmihai/followers","following_url":"https://api.github.com/users/ispasmihai/following{/other_user}","gists_url":"https://api.github.com/users/ispasmihai/gists{/gist_id}","starred_url":"https://api.github.com/users/ispasmihai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ispasmihai/subscriptions","organizations_url":"https://api.github.com/users/ispasmihai/orgs","repos_url":"https://api.github.com/users/ispasmihai/repos","events_url":"https://api.github.com/users/ispasmihai/events{/privacy}","received_events_url":"https://api.github.com/users/ispasmihai/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[{"id":666726170,"node_id":"MDU6TGFiZWw2NjY3MjYxNzA=","url":"https://api.github.com/repos/open-cogsci/python-qtpip/labels/bug","name":"bug","color":"ee0701","default":true,"description":null}],"state":"open","locked":true,"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":"2019-10-08T06:44:47Z","updated_at":"2019-10-08T07:43:11Z","closed_at":null,"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":"NONE","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":"I use python 2.7 and pip 18.1.\r\n\r\nSide note: The application started only after I installed also QtPy 1.9.0 with pip.\r\n\r\nIf the introduced input does not match any package, meaning the result list is empty, the following error occurs (eg. input for crashing the application: \"abcxyz\"):\r\n```\r\nTraceback (most recent call last):\r\n  File \"c:\\work\\git\\software_dev\\common\\ext-tools\\python\\lib\\site-packages\\qtpip\\decorators.py\", line 30, in inner\r\n    retval = fnc(*args, **kwargs)\r\n  File \"c:\\work\\git\\software_dev\\common\\ext-tools\\python\\lib\\site-packages\\qtpip\\_qpipwidget.py\", line 62, in search\r\n    self.ui.qdm.set_pkglist(self.pm.search(query))\r\n  File \"c:\\work\\git\\software_dev\\common\\ext-tools\\python\\lib\\site-packages\\qtpip\\_qpackagematrix.py\", line 66, in set_pkglist\r\n    for i, pkg in enumerate(pkglist):\r\n  File \"c:\\work\\git\\software_dev\\common\\ext-tools\\python\\lib\\site-packages\\qtpip\\_packagemanager.py\", line 55, in search\r\n    for name in utils.search_pypi(*query.lower().split()):\r\nTypeError: 'NoneType' object is not iterable\r\n```","closed_by":null,"reactions":{"url":"https://api.github.com/repos/open-cogsci/python-qtpip/issues/1/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/python-qtpip/issues/1/timeline","performed_via_github_app":null,"state_reason":null,"pinned_comment":null}