{"action":"created","comment":{"url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/comments/41705023","id":41705023,"diff_hunk":"@@ -41,7 +41,8 @@ def __init__(self, master, client, queue, send_command):\n         # pprint(vars(master))\n         self.side_bar = master.children['side_bar']\n         self.output_panel = master.children['output_frame'].children['output']\n-        # self.output_panel = self.output_frame.children['output']\n+        self.output_panel.configure(state=\"normal\")\n+        self.output_panel.bind('<Key>',lambda e: 'break')","path":"client/clientui.py","position":6,"original_position":6,"commit_id":"bc3aa446b43945afaffbd382c02d6fb7993c3a87","original_commit_id":"bc3aa446b43945afaffbd382c02d6fb7993c3a87","user":{"login":"PatrickDattilio","id":601185,"avatar_url":"https://avatars.githubusercontent.com/u/601185?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickDattilio","html_url":"https://github.com/PatrickDattilio","followers_url":"https://api.github.com/users/PatrickDattilio/followers","following_url":"https://api.github.com/users/PatrickDattilio/following{/other_user}","gists_url":"https://api.github.com/users/PatrickDattilio/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickDattilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickDattilio/subscriptions","organizations_url":"https://api.github.com/users/PatrickDattilio/orgs","repos_url":"https://api.github.com/users/PatrickDattilio/repos","events_url":"https://api.github.com/users/PatrickDattilio/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickDattilio/received_events","type":"User","site_admin":false},"body":"It creates a keybind for every key that calls the lambda function, which does nothing. It effectively blocks all keys from doing anything to the output_panel, which prevents us from having to toggle the configure state normal/disabled. I believe this toggling eventually causes the crashes.\r\n\r\nWe only need to do this once, so it seems like it should be with the rest of the output_panel initialization. I'd definitely like you to try it, as I saw some UI weirdness/duplication on the output_panel, but I'm not positive it was this change. If anything looks strange to you, I'll see if I can try out the other solution.","created_at":"2015-10-11T04:16:29Z","updated_at":"2015-10-11T04:16:29Z","html_url":"https://github.com/ExposureSoftware/TEC-Client/pull/59#discussion_r41705023","pull_request_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/comments/41705023"},"html":{"href":"https://github.com/ExposureSoftware/TEC-Client/pull/59#discussion_r41705023"},"pull_request":{"href":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/59","id":47358769,"html_url":"https://github.com/ExposureSoftware/TEC-Client/pull/59","diff_url":"https://github.com/ExposureSoftware/TEC-Client/pull/59.diff","patch_url":"https://github.com/ExposureSoftware/TEC-Client/pull/59.patch","issue_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/issues/59","number":59,"state":"open","locked":false,"title":"Possible fix for crashes","user":{"login":"PatrickDattilio","id":601185,"avatar_url":"https://avatars.githubusercontent.com/u/601185?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickDattilio","html_url":"https://github.com/PatrickDattilio","followers_url":"https://api.github.com/users/PatrickDattilio/followers","following_url":"https://api.github.com/users/PatrickDattilio/following{/other_user}","gists_url":"https://api.github.com/users/PatrickDattilio/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickDattilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickDattilio/subscriptions","organizations_url":"https://api.github.com/users/PatrickDattilio/orgs","repos_url":"https://api.github.com/users/PatrickDattilio/repos","events_url":"https://api.github.com/users/PatrickDattilio/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickDattilio/received_events","type":"User","site_admin":false},"body":"Potential fix for #53  and maybe #24, found via http://stackoverflow.com/questions/2914603/segmentation-fault-while-redirecting-sys-stdout-to-tkinter-text-widget\r\n\r\nIn a comment on this solution, \"Nash: Instead of ignoring keypresses, an alternative is to remove \"Text\" from the bindtags for the widget. –\"\r\n\r\nGive this a try and see if it fixes the random crashes for you? Seems to do so on ubuntu for me.","created_at":"2015-10-11T02:46:03Z","updated_at":"2015-10-11T04:16:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3017599c34c896b19e34466954079c5119ae774b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/59/commits","review_comments_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/59/comments","review_comment_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/issues/59/comments","statuses_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/statuses/bc3aa446b43945afaffbd382c02d6fb7993c3a87","head":{"label":"PatrickDattilio:pd/parseCrash","ref":"pd/parseCrash","sha":"bc3aa446b43945afaffbd382c02d6fb7993c3a87","user":{"login":"PatrickDattilio","id":601185,"avatar_url":"https://avatars.githubusercontent.com/u/601185?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickDattilio","html_url":"https://github.com/PatrickDattilio","followers_url":"https://api.github.com/users/PatrickDattilio/followers","following_url":"https://api.github.com/users/PatrickDattilio/following{/other_user}","gists_url":"https://api.github.com/users/PatrickDattilio/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickDattilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickDattilio/subscriptions","organizations_url":"https://api.github.com/users/PatrickDattilio/orgs","repos_url":"https://api.github.com/users/PatrickDattilio/repos","events_url":"https://api.github.com/users/PatrickDattilio/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickDattilio/received_events","type":"User","site_admin":false},"repo":{"id":41184853,"name":"TEC-Client","full_name":"PatrickDattilio/TEC-Client","owner":{"login":"PatrickDattilio","id":601185,"avatar_url":"https://avatars.githubusercontent.com/u/601185?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickDattilio","html_url":"https://github.com/PatrickDattilio","followers_url":"https://api.github.com/users/PatrickDattilio/followers","following_url":"https://api.github.com/users/PatrickDattilio/following{/other_user}","gists_url":"https://api.github.com/users/PatrickDattilio/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickDattilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickDattilio/subscriptions","organizations_url":"https://api.github.com/users/PatrickDattilio/orgs","repos_url":"https://api.github.com/users/PatrickDattilio/repos","events_url":"https://api.github.com/users/PatrickDattilio/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickDattilio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PatrickDattilio/TEC-Client","description":"A client for the Skotos prose RPG The Eternal City","fork":true,"url":"https://api.github.com/repos/PatrickDattilio/TEC-Client","forks_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/forks","keys_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/teams","hooks_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/hooks","issue_events_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/issues/events{/number}","events_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/events","assignees_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/assignees{/user}","branches_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/branches{/branch}","tags_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/tags","blobs_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/languages","stargazers_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/stargazers","contributors_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/contributors","subscribers_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/subscribers","subscription_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/subscription","commits_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/contents/{+path}","compare_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/merges","archive_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/downloads","issues_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/issues{/number}","pulls_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/labels{/name}","releases_url":"https://api.github.com/repos/PatrickDattilio/TEC-Client/releases{/id}","created_at":"2015-08-22T01:31:36Z","updated_at":"2015-08-22T01:31:38Z","pushed_at":"2015-10-11T02:07:06Z","git_url":"git://github.com/PatrickDattilio/TEC-Client.git","ssh_url":"git@github.com:PatrickDattilio/TEC-Client.git","clone_url":"https://github.com/PatrickDattilio/TEC-Client.git","svn_url":"https://github.com/PatrickDattilio/TEC-Client","homepage":null,"size":299,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ExposureSoftware:master","ref":"master","sha":"b66c0190012e728a88b0e173f6ce6bbaf5146877","user":{"login":"ExposureSoftware","id":3341203,"avatar_url":"https://avatars.githubusercontent.com/u/3341203?v=3","gravatar_id":"","url":"https://api.github.com/users/ExposureSoftware","html_url":"https://github.com/ExposureSoftware","followers_url":"https://api.github.com/users/ExposureSoftware/followers","following_url":"https://api.github.com/users/ExposureSoftware/following{/other_user}","gists_url":"https://api.github.com/users/ExposureSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/ExposureSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExposureSoftware/subscriptions","organizations_url":"https://api.github.com/users/ExposureSoftware/orgs","repos_url":"https://api.github.com/users/ExposureSoftware/repos","events_url":"https://api.github.com/users/ExposureSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/ExposureSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":33713537,"name":"TEC-Client","full_name":"ExposureSoftware/TEC-Client","owner":{"login":"ExposureSoftware","id":3341203,"avatar_url":"https://avatars.githubusercontent.com/u/3341203?v=3","gravatar_id":"","url":"https://api.github.com/users/ExposureSoftware","html_url":"https://github.com/ExposureSoftware","followers_url":"https://api.github.com/users/ExposureSoftware/followers","following_url":"https://api.github.com/users/ExposureSoftware/following{/other_user}","gists_url":"https://api.github.com/users/ExposureSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/ExposureSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExposureSoftware/subscriptions","organizations_url":"https://api.github.com/users/ExposureSoftware/orgs","repos_url":"https://api.github.com/users/ExposureSoftware/repos","events_url":"https://api.github.com/users/ExposureSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/ExposureSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ExposureSoftware/TEC-Client","description":"A client for the Skotos prose RPG The Eternal City","fork":false,"url":"https://api.github.com/repos/ExposureSoftware/TEC-Client","forks_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/forks","keys_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/teams","hooks_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/hooks","issue_events_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/issues/events{/number}","events_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/events","assignees_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/assignees{/user}","branches_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/branches{/branch}","tags_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/tags","blobs_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/languages","stargazers_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/stargazers","contributors_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/contributors","subscribers_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/subscribers","subscription_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/subscription","commits_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/contents/{+path}","compare_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/merges","archive_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/downloads","issues_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/issues{/number}","pulls_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/labels{/name}","releases_url":"https://api.github.com/repos/ExposureSoftware/TEC-Client/releases{/id}","created_at":"2015-04-10T06:55:08Z","updated_at":"2015-10-09T00:24:34Z","pushed_at":"2015-10-11T03:34:03Z","git_url":"git://github.com/ExposureSoftware/TEC-Client.git","ssh_url":"git@github.com:ExposureSoftware/TEC-Client.git","clone_url":"https://github.com/ExposureSoftware/TEC-Client.git","svn_url":"https://github.com/ExposureSoftware/TEC-Client","homepage":null,"size":513,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":18,"forks":3,"open_issues":18,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/59"},"html":{"href":"https://github.com/ExposureSoftware/TEC-Client/pull/59"},"issue":{"href":"https://api.github.com/repos/ExposureSoftware/TEC-Client/issues/59"},"comments":{"href":"https://api.github.com/repos/ExposureSoftware/TEC-Client/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ExposureSoftware/TEC-Client/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/ExposureSoftware/TEC-Client/statuses/bc3aa446b43945afaffbd382c02d6fb7993c3a87"}}}}