-
-
Notifications
You must be signed in to change notification settings - Fork 52
Labels
C: Qubes GUI toolsThis issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.This issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.P: blockerPriority: blocker. Prevents release (or would have prevented release if known prior to release).Priority: blocker. Prevents release (or would have prevented release if known prior to release).affects-4.3This issue affects Qubes OS 4.3.This issue affects Qubes OS 4.3.diagnosedTechnical diagnosis of this issue has been performed.Technical diagnosis of this issue has been performed.pr submittedA pull request has been submitted for this issue.A pull request has been submitted for this issue.r4.3-host-stabler4.3-stabler4.3-vm-bookworm-stabler4.3-vm-fc41-stabler4.3-vm-fc42-stabler4.3-vm-fc43-stabler4.3-vm-trixie-stable
Description
Qubes OS release
Qubes OS 4.3
Brief summary
As title says
Steps to reproduce
- Create auto-attach assignment based on existing device
- Unplug the device
- Try to start global config tool
Expected behavior
Starts normally, possibly listing less details about the device if some are not available. But it should still be possible to:
- remove the assignment
- save without changes (should not break that assignment)
Actual behavior
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/qubes_config/global_config/global_config.py", line 300, in do_activate
self.perform_setup()
~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/qubes_config/global_config/global_config.py", line 422, in perform_setup
self.handlers["attachments"] = DevAttachmentHandler(self.qapp, self.builder)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/qubes_config/global_config/device_attachments.py", line 987, in __init__
self.auto_attach_handler = AttachmentHandler(
~~~~~~~~~~~~~~~~~^
builder=gtk_builder,
^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
edit_dialog_class=AutoDeviceDialog,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.13/site-packages/qubes_config/global_config/device_attachments.py", line 921, in __init__
super().__init__(
~~~~~~~~~~~~~~~~^
prefix=prefix,
^^^^^^^^^^^^^^
...<3 lines>...
edit_dialog_class=edit_dialog_class,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.13/site-packages/qubes_config/global_config/device_widgets.py", line 260, in __init__
self.load_current_state()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/qubes_config/global_config/device_attachments.py", line 963, in load_current_state
aw = AssignmentWrapper.new_from_existing(assignment_list)
File "/usr/lib/python3.13/site-packages/qubes_config/global_config/device_attachments.py", line 671, in new_from_existing
device = assignments[0].device
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/qubesadmin/device_protocol.py", line 1370, in device
raise ProtocolError("No devices matches to assignment")
qubesadmin.device_protocol.ProtocolError: No devices matches to assignment
Additional information
No response
Atrate
Metadata
Metadata
Assignees
Labels
C: Qubes GUI toolsThis issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.This issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.P: blockerPriority: blocker. Prevents release (or would have prevented release if known prior to release).Priority: blocker. Prevents release (or would have prevented release if known prior to release).affects-4.3This issue affects Qubes OS 4.3.This issue affects Qubes OS 4.3.diagnosedTechnical diagnosis of this issue has been performed.Technical diagnosis of this issue has been performed.pr submittedA pull request has been submitted for this issue.A pull request has been submitted for this issue.r4.3-host-stabler4.3-stabler4.3-vm-bookworm-stabler4.3-vm-fc41-stabler4.3-vm-fc42-stabler4.3-vm-fc43-stabler4.3-vm-trixie-stable
Type
Projects
Status
Done