Qubes-global-config update broke my menu

I’m not sure exactly when it happened, since I haven’t been in there for a while. But it looks like there was a new update for the Qubes-global-config. Mine won’t launch anymore. I’ll get the loading part, then once it’s done the window just closes. The policies still seem to be working, but the menu won’t launch. All my other menus seem to be working fine. Any fix? Thanks.

From the dom0 terminal, run:

qubes-global-config

Same thing. It just crashes after loading my settings.

Could you please share the output you see on the terminal?

Traceback (most recent call last):
File “/usr/lib/python3.13/site-packages/qubes_config/global_config/global_config.py”, line 249, in do_activate
self.perform_setup()
~~~~~~~~~~~~~~~~~~^^
File “/usr/lib/python3.13/site-packages/qubes_config/global_config/global_config.py”, line 427, in perform_setup
self.handlers[“disposables”] = DisposablesHandler(
~~~~~~~~~~~~~~~~~~^
qapp=self.qapp, policy_manager=self.policy_manager, gtk_builder=self.builder
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/lib/python3.13/site-packages/qubes_config/global_config/disposables.py”, line 434, in init
self.dispvm_list_handler = DispVmListHandler(
~~~~~~~~~~~~~~~~~^
self.qapp, self.defdispvm_handler.get_model(), gtk_builder
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/lib/python3.13/site-packages/qubes_config/global_config/disposables.py”, line 194, in init
self.load_data()
~~~~~~~~~~~~~~^^
File “/usr/lib/python3.13/site-packages/qubes_config/global_config/disposables.py”, line 223, in load_data
new_row = DispVMRow(vm, self.dispvm_model, self.qapp, self.size_groups)
File “/usr/lib/python3.13/site-packages/qubes_config/global_config/disposables.py”, line 121, in init
self.load_data()
~~~~~~~~~~~~~~^^
File “/usr/lib/python3.13/site-packages/qubes_config/global_config/disposables.py”, line 129, in load_data
self.based_on.set_token(str(self.dispvm.template))
^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/site-packages/qubesadmin/base.py”, line 249, in getattr
raise AttributeError(item)
AttributeError: template

Open the file /usr/lib/python3.13/site-packages/qubes_config/global_config/disposables.py, go to line 129, change from:

        self.based_on.set_token(str(self.dispvm.template))

To:

        self.based_on.set_token(str(getattr(self.dispvm, "template", None)))

What does this do exactly? Thanks for the swift reply btw.

You have a standalone disposable template. A standalone doesn’t have a template property. The code assumed that every disposable template had a template property. The new code uses None as the default value in case the code can’t access the template property.

it still won’t launch.

Edit: typed it wrong. It’s working! Thank you.