-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Qubes-update-gui doesn't start (crashes) after updating to 4.2 #9203
Qubes-update-gui doesn't start (crashes) after updating to 4.2 #9203
Comments
If you run it with Since Update GUI runs |
I am experiencing the same problem. On my machine, the output of said command is empty, probably this results in split() not yielding an element at index 0. Classic. On my machine, the command only generates output if I add -A or -T. Adding -S does not produce output. Like the OP, I have just completed my in-place update to Qubes 4.2 and am now attempting to update VMs. |
I was a bit too fast. Pythons split() is sane enough:
I had a hunch and tried qubes-update-gui --standalones which worked once, but not more. |
Same thing happened to me this morning. def _get_stale_qubes(self, cmd):
try:
self.log.debug("Run command %s", " ".join(cmd))
output = subprocess.check_output(cmd)
self.log.debug("Command returns: %s", output.decode())
+ output_lines = output.decode().split("\n")
+ if ":" not in output_lines[0]:
+ return set()
+
return {
vm_name.strip() for vm_name
- in output.decode().split("\n", maxsplit=1)[0]
- .split(":", maxsplit=1)[1].split(",")
+ in output_lines[0].split(":", maxsplit=1)[1].split(",")
}
except subprocess.CalledProcessError as err:
if err.returncode != 100:
raise err
return set() For the details, it runs |
My intro_page.py looks quite different, so I am not comfortable to edit it manually. Have 4.2.1. The _get_stale_qubes function is not in the file.
|
Qubes OS release
4.2.0, updated from 4.1
Brief summary
Qubes Update tool crashes on start
Steps to reproduce
Try to open Qubes Update tool from the menu
Try to open Qubes Update tool from dom0 terminal using
qubes-update-gui
Expected behavior
Qubes Update tool would start
Actual behavior
Qubes Update tool doesn't start. Console output is here:
The text was updated successfully, but these errors were encountered: