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 manager - clicking an entry during launch causes python error #3760

Closed
mirrorway opened this Issue Mar 29, 2018 · 2 comments

Comments

Projects
None yet
4 participants
@mirrorway

Qubes OS version:

R4.0

Affected component(s):

qubes-manager-4.0.17-1


Steps to reproduce the behavior:

  1. open qubes manager
  2. (qubes manager incrementally populates)
  3. quickly click a VM entry

Expected behavior:

No python error.

Actual behavior:

Whoops. A critical error has occured. This is most likely a bug in Qubes Manager.

KeyError: 17
at line 487
of file /usr/lib/python3.5/site-packages/qubesmanager/qube_manager.py.

Click details:

---
line: assert self.vms_in_table[qid] is not None
func: get_selected_vm
line no.: 557
file: /usr/lib/python3.5/site-packages/qubesmanager/qube_manager.py
----
line: vm = self.get_selected_vm()
func: table_selection_changed
line no.: 487
file: /usr/lib/python3.5/site-packages/qubesmanager/qube_manager.py

General notes:

qubes manager appears to be fully functional after the bug occurs, so long as you wait until everything is finished loading. So this bug seems pretty minor.


@andrewdavidwong andrewdavidwong added this to the Release 4.0 milestone Mar 30, 2018

marmarta added a commit to marmarta/qubes-manager that referenced this issue Mar 30, 2018

Fix bug in Qube Manager
Accidentaly, the fix significantly improves start time (at least on two
of my machines).

fixes QubesOS/qubes-issues#3760

@marmarta marmarta referenced this issue in QubesOS/qubes-manager Mar 30, 2018

Merged

Fix bug in Qube Manager #85

@marmarta

This comment has been minimized.

Show comment
Hide comment
@marmarta

marmarta Mar 30, 2018

While fixing this bug I've stumbled upon a way to make qube manager start time shorter, so - thank you for the extremely helpful bug! :D

While fixing this bug I've stumbled upon a way to make qube manager start time shorter, so - thank you for the extremely helpful bug! :D

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Jun 27, 2018

Automated announcement from builder-github

The package qubes-manager-4.0.18-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Automated announcement from builder-github

The package qubes-manager-4.0.18-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot qubesos-bot referenced this issue in QubesOS/updates-status Jun 27, 2018

Closed

manager v4.0.18 (r4.0) #563

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment