-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected crash when switching tabs #5
Comments
Have you resized your terminal when using PVC? The issue itself is not related to PVC, but to the There's a bug reported about it here as well: Unfortunately there is nothing we can do in PVC in order to prevent this as we are just using What is the version of |
@dnaeon Im not resizing but that event could be being sent when switching tabs. Its not too big of a deal I can just run pvc in its own window to work around this as well. As for dialog version: Since this isnt a bug in pvc please feel free to close it if you want. Thanks! |
@michaelrice, could you please test with Here are short instructions how to build
$ tar zxvf dialog.tar.gz
$ cd dialog-1.2-20150225
$ ./configure
$ make
diff --git a/src/pvc/core.py b/src/pvc/core.py
index fdbe9d6..5e10fb5 100644
--- a/src/pvc/core.py
+++ b/src/pvc/core.py
@@ -47,7 +47,7 @@ class MainApp(object):
"""
def __init__(self):
- self.dialog = Dialog(autowidgetsize=True)
+ self.dialog = Dialog(autowidgetsize=True, dialog='/path/to/dialog-1.2-20150225/dialog')
self.dialog.set_background_title(
'Python vSphere Client version {}'.format(__version__)
)
Something else that you could try and see if it still crashes is to set Let me know how it goes, when you have time to test it. Thanks! |
@michaelrice, something else that popped up in my mind that I wanted to check with you. What is your $TERM set to? |
@michaelrice I've also disabled mouse events for dialog(1), which seems to be causing some issues as well. I 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. Thanks, |
If I have tabbed windows and start pvc in window 1, then switch to window 2 pvc will crash
If you need me to explain further let me know. Im currently running OSX and the default terminal app.
The text was updated successfully, but these errors were encountered: