From 5af2709029cd551f22847c8d771e694905ff5db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Fri, 9 Feb 2018 22:08:07 +0100 Subject: [PATCH] Shutting down vm from qube manager bug Hopefully, finally fixes issue #3501. fixes QubesOS/qubes-issues#3501 --- qubesmanager/qube_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index 2bc52bb..9d8fc2c 100755 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -176,7 +176,7 @@ class VmShutdownMonitor(QtCore.QObject): vm_is_running = vm.is_running() try: vm_start_time = datetime.fromtimestamp(float(vm.start_time)) - except (AttributeError, TypeError): + except (AttributeError, TypeError, ValueError): vm_start_time = None if vm_is_running and vm_start_time \