{"action":"closed","issue":{"url":"https://api.github.com/repos/hydrusnetwork/hydrus/issues/47","labels_url":"https://api.github.com/repos/hydrusnetwork/hydrus/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/hydrusnetwork/hydrus/issues/47/comments","events_url":"https://api.github.com/repos/hydrusnetwork/hydrus/issues/47/events","html_url":"https://github.com/hydrusnetwork/hydrus/issues/47","id":85862866,"number":47,"title":"Error middle-clicking tab strip","user":{"login":"ScoreUnder","id":1123686,"avatar_url":"https://avatars.githubusercontent.com/u/1123686?v=3","gravatar_id":"","url":"https://api.github.com/users/ScoreUnder","html_url":"https://github.com/ScoreUnder","followers_url":"https://api.github.com/users/ScoreUnder/followers","following_url":"https://api.github.com/users/ScoreUnder/following{/other_user}","gists_url":"https://api.github.com/users/ScoreUnder/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoreUnder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoreUnder/subscriptions","organizations_url":"https://api.github.com/users/ScoreUnder/orgs","repos_url":"https://api.github.com/users/ScoreUnder/repos","events_url":"https://api.github.com/users/ScoreUnder/events{/privacy}","received_events_url":"https://api.github.com/users/ScoreUnder/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-07T05:48:26Z","updated_at":"2015-06-07T19:03:13Z","closed_at":"2015-06-07T19:03:13Z","body":"If you middle-click the tab strip in an area without an actual tab, it will show this error:\r\n\r\n```\r\nValueError\r\nin method 'BookCtrlBase_GetPage', expected argument 2 of type 'size_t'\r\n  File \"/opt/hydrus/include/ClientGUI.py\", line 1964, in EventNotebookMiddleClick\r\n    self._ClosePage( tab_index )\r\n  File \"/opt/hydrus/include/ClientGUI.py\", line 388, in _ClosePage\r\n    page = self._notebook.GetPage( selection )\r\n  File \"/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py\", line 13536, in GetPage\r\n    return _core_.BookCtrlBase_GetPage(*args, **kwargs)\r\n```"}}