{"action":"closed","issue":{"url":"https://api.github.com/repos/mitmproxy/mitmproxy/issues/2377","repository_url":"https://api.github.com/repos/mitmproxy/mitmproxy","labels_url":"https://api.github.com/repos/mitmproxy/mitmproxy/issues/2377/labels{/name}","comments_url":"https://api.github.com/repos/mitmproxy/mitmproxy/issues/2377/comments","events_url":"https://api.github.com/repos/mitmproxy/mitmproxy/issues/2377/events","html_url":"https://github.com/mitmproxy/mitmproxy/issues/2377","id":233681272,"number":2377,"title":"Crash when clearing event log","user":{"login":"ujjwal96","id":16747982,"avatar_url":"https://avatars1.githubusercontent.com/u/16747982?v=3","gravatar_id":"","url":"https://api.github.com/users/ujjwal96","html_url":"https://github.com/ujjwal96","followers_url":"https://api.github.com/users/ujjwal96/followers","following_url":"https://api.github.com/users/ujjwal96/following{/other_user}","gists_url":"https://api.github.com/users/ujjwal96/gists{/gist_id}","starred_url":"https://api.github.com/users/ujjwal96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujjwal96/subscriptions","organizations_url":"https://api.github.com/users/ujjwal96/orgs","repos_url":"https://api.github.com/users/ujjwal96/repos","events_url":"https://api.github.com/users/ujjwal96/events{/privacy}","received_events_url":"https://api.github.com/users/ujjwal96/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-05T19:17:39Z","updated_at":"2017-06-05T22:33:58Z","closed_at":"2017-06-05T22:33:58Z","body":"##### Steps to reproduce the problem:\r\n\r\n1. Press `E` \r\n2. Press `z`\r\n```\r\n...\r\n  File \"/home/ujjwal/Github/mitmproxy/venv/lib/python3.5/site-packages/urwid/raw_display.py\", line 393, in <lambda>\r\n    event_loop, callback, self.get_available_raw_input())\r\n  File \"/home/ujjwal/Github/mitmproxy/venv/lib/python3.5/site-packages/urwid/raw_display.py\", line 493, in parse_input\r\n    callback(processed, processed_codes)\r\n  File \"/home/ujjwal/Github/mitmproxy/venv/lib/python3.5/site-packages/urwid/main_loop.py\", line 403, in _update\r\n    self.process_input(keys)\r\n  File \"/home/ujjwal/Github/mitmproxy/venv/lib/python3.5/site-packages/urwid/main_loop.py\", line 503, in process_input\r\n    k = self._topmost_widget.keypress(self.screen_size, k)\r\n  File \"/home/ujjwal/Github/mitmproxy/mitmproxy/tools/console/window.py\", line 226, in keypress\r\n    k = fs.keypress(size, k)\r\n  File \"/home/ujjwal/Github/mitmproxy/mitmproxy/tools/console/eventlog.py\", line 26, in keypress\r\n    self.master.clear_events()\r\nAttributeError: 'ConsoleMaster' object has no attribute 'clear_events'\r\n```\r\n\r\n\r\n##### Any other comments? What have you tried so far?\r\nCaused by:\r\nhttps://github.com/mitmproxy/mitmproxy/commit/0f4d94b31c02171c1cc39bf90426b61e5c2a05e1\r\n##### System information\r\nMitmproxy version: 3.0.0 (2.0.0dev0564-0x0d7b718) \r\nPython version: 3.5.2\r\nPlatform: Linux-4.9.0-040900-generic-x86_64-with-elementary-0.4.1-loki\r\nSSL version: OpenSSL 1.0.2g  1 Mar 2016\r\nLinux distro: \"elementary\" 0.4.1 loki\r\n\r\n\r\n<!--\r\n    Cut and paste the output of \"mitmproxy --version\".\r\n\r\n    If you're using an older version if mitmproxy, please specify the version\r\n    and OS.\r\n-->\r\n"}}
{"actor":{"display_login":"Kriechi"}}