{"action":"created","issue":{"url":"https://api.github.com/repos/dnaeon/pvc/issues/5","labels_url":"https://api.github.com/repos/dnaeon/pvc/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/dnaeon/pvc/issues/5/comments","events_url":"https://api.github.com/repos/dnaeon/pvc/issues/5/events","html_url":"https://github.com/dnaeon/pvc/issues/5","id":68424260,"number":5,"title":"Unexpected crash when switching tabs","user":{"login":"michaelrice","id":441148,"avatar_url":"https://avatars.githubusercontent.com/u/441148?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelrice","html_url":"https://github.com/michaelrice","followers_url":"https://api.github.com/users/michaelrice/followers","following_url":"https://api.github.com/users/michaelrice/following{/other_user}","gists_url":"https://api.github.com/users/michaelrice/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelrice/subscriptions","organizations_url":"https://api.github.com/users/michaelrice/orgs","repos_url":"https://api.github.com/users/michaelrice/repos","events_url":"https://api.github.com/users/michaelrice/events{/privacy}","received_events_url":"https://api.github.com/users/michaelrice/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-14T16:05:32Z","updated_at":"2015-04-25T07:42:32Z","closed_at":"2015-04-25T07:42:32Z","body":"If I have tabbed windows and start pvc in window 1, then switch to window 2 pvc will crash\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/errr/venvs/pvc/bin/pvc-tui\", line 39, in <module>\r\n    main()\r\n  File \"/Users/errr/venvs/pvc/bin/pvc-tui\", line 36, in main\r\n    app.run()\r\n  File \"/Users/errr/venvs/pvc/lib/python3.3/site-packages/pvc/core.py\", line 139, in run\r\n    if not self.login():\r\n  File \"/Users/errr/venvs/pvc/lib/python3.3/site-packages/pvc/core.py\", line 99, in login\r\n    code, fields = form.display()\r\n  File \"/Users/errr/venvs/pvc/lib/python3.3/site-packages/pvc/widget/form.py\", line 86, in display\r\n    **self.kwargs\r\n  File \"/Users/errr/venvs/pvc/lib/python3.3/site-packages/dialog.py\", line 2188, in mixedform\r\n    height, width, form_height, **kwargs)\r\n  File \"/Users/errr/venvs/pvc/lib/python3.3/site-packages/dialog.py\", line 2032, in _generic_form\r\n    (code, output) = self._perform(cmd, **kwargs)\r\n  File \"/Users/errr/venvs/pvc/lib/python3.3/site-packages/dialog.py\", line 1389, in _perform\r\n    child_output_rfd)\r\n  File \"/Users/errr/venvs/pvc/lib/python3.3/site-packages/dialog.py\", line 1338, in _wait_for_program_termination\r\n    child_output.strip()))\r\ndialog.DialogError: dialog-like terminated due to an error: the dialog-like program exited with status 3 (which was passed to it as the DIALOG_ERROR environment variable). Sometimes, the reason is simply that dialog was given a height or width parameter that is too big for the terminal in use. Its output, with leading and trailing whitespace stripped, was:\r\n```\r\n\r\nIf you need me to explain further let me know. Im currently running OSX and the default terminal app."},"comment":{"url":"https://api.github.com/repos/dnaeon/pvc/issues/comments/96146200","html_url":"https://github.com/dnaeon/pvc/issues/5#issuecomment-96146200","issue_url":"https://api.github.com/repos/dnaeon/pvc/issues/5","id":96146200,"user":{"login":"dnaeon","id":242827,"avatar_url":"https://avatars.githubusercontent.com/u/242827?v=3","gravatar_id":"","url":"https://api.github.com/users/dnaeon","html_url":"https://github.com/dnaeon","followers_url":"https://api.github.com/users/dnaeon/followers","following_url":"https://api.github.com/users/dnaeon/following{/other_user}","gists_url":"https://api.github.com/users/dnaeon/gists{/gist_id}","starred_url":"https://api.github.com/users/dnaeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnaeon/subscriptions","organizations_url":"https://api.github.com/users/dnaeon/orgs","repos_url":"https://api.github.com/users/dnaeon/repos","events_url":"https://api.github.com/users/dnaeon/events{/privacy}","received_events_url":"https://api.github.com/users/dnaeon/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T07:42:32Z","updated_at":"2015-04-25T07:42:32Z","body":"@michaelrice I've also disabled mouse events for dialog(1), which seems to be causing some issues as well.\r\n\r\nI will close this issue as it is not related to PVC itself, please update me when you have time to test the suggestions from this issue and the latest PVC version from the Github repo.\r\n\r\nThanks,\r\nMarin\r\n"}}