R4-rc3 testing: VM settings attribute error

33 views
Skip to first unread message

Chris Laprise

unread,
Jan 20, 2018, 5:15:52 AM1/20/18
to qubes...@googlegroups.com
After updating dom0 with testing yesterday, I'm unable to use the VM
settings tool. When it launches a whoops dialog appears saying
default_dispvm has no default (see details below). This happens with all
VMs, including newly-created ones.

Probably the code accessing this attribute should be trapped?

Details

AttributeError: default_dispvm has no default
at line 9 of file /usr/bin/qubes-vm-settings.

----
line: raise AttributeError(item + ' has no default')
func: property_get_default
line no.: 172
file: /usr/lib/python3.5/site-packages/qubesadmin/base.py
----
line: default = holder.property_get_default(propname)
func: prepare_choice
line no.: 53
file: /usr/lib/python3.5/site-packages/qubesmanager/utils.py
----
line: *args, **kwargs)
func: prepare_vm_choice
line no.: 135
file: /usr/lib/python3.5/site-packages/qubesmanager/utils.py
----
line: allow_default=True, allow_none=True)
func: __init_advanced_tab__
line no.: 593
file: /usr/lib/python3.5/site-packages/qubesmanager/settings.py
----
line: self.__init_advanced_tab__()
func: __init__
line no.: 93
file: /usr/lib/python3.5/site-packages/qubesmanager/settings.py
----
line: settings_window = VMSettingsWindow(vm, qapp, args.tab)
func: main
line no.: 1128
file: /usr/lib/python3.5/site-packages/qubesmanager/settings.py
----
line: load_entry_point('qubesmanager==4.0.11', 'console_scripts',
'qubes-vm-settings')()
func: <module>
line no.: 9
file: /usr/bin/qubes-vm-settings


--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886

Tom Zander

unread,
Jan 20, 2018, 7:16:13 AM1/20/18
to qubes...@googlegroups.com, Chris Laprise
On Saturday, 20 January 2018 11:13:44 CET Chris Laprise wrote:
> After updating dom0 with testing yesterday, I'm unable to use the VM
> settings tool. When it launches a whoops dialog appears saying
> default_dispvm has no default (see details below). This happens with all
> VMs, including newly-created ones.

Try using qubes-prefs from the commandline to show/update your global
settings.

and if that was a bugreport, can you post that on github?

--
Tom Zander
Blog: https://zander.github.io
Vlog: https://vimeo.com/channels/tomscryptochannel


MirrorWay

unread,
Jan 20, 2018, 10:41:52 AM1/20/18
to qubes...@googlegroups.com

-------- Original Message --------
On January 20, 2018 10:13 AM, Chris Laprise <tas...@posteo.net> wrote:

After updating dom0 with testing yesterday, I'm unable to use the VM
settings tool. When it launches a whoops dialog appears saying
default_dispvm has no default (see details below). This happens with all
VMs, including newly-created ones.
 
Probably the code accessing this attribute should be trapped?
 
Details
 
AttributeError: default_dispvm has no default
at line 9 of file /usr/bin/qubes-vm-settings.
 

line: raise AttributeError(item + ' has no default')
func: property_get_default
line no.: 172
file: /usr/lib/python3.5/site-packages/qubesadmin/base.py

line: default = holder.property_get_default(propname)
func: prepare_choice
line no.: 53
file: /usr/lib/python3.5/site-packages/qubesmanager/utils.py

line: *args, **kwargs)
func: prepare_vm_choice
line no.: 135
file: /usr/lib/python3.5/site-packages/qubesmanager/utils.py

line: allow_default=True, allow_none=True)
func: init_advanced_tab

line no.: 593
file: /usr/lib/python3.5/site-packages/qubesmanager/settings.py

line: self.init_advanced_tab()
func: init

line no.: 93
file: /usr/lib/python3.5/site-packages/qubesmanager/settings.py

line: settings_window = VMSettingsWindow(vm, qapp, args.tab)
func: main
line no.: 1128
file: /usr/lib/python3.5/site-packages/qubesmanager/settings.py

line: load_entry_point('qubesmanager==4.0.11', 'console_scripts',
'qubes-vm-settings')()
func: <module>

line no.: 9
file: /usr/bin/qubes-vm-settings
 
 

Chris Laprise, tas...@posteo.net
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886
 

You received this message because you are subscribed to the Google Groups "qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-devel...@googlegroups.com.
To post to this group, send email to qubes...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chris Laprise

unread,
Jan 20, 2018, 10:59:26 AM1/20/18
to qubes...@googlegroups.com
On 01/20/2018 10:41 AM, 'MirrorWay' via qubes-devel wrote:
> Fix and workaround in https://github.com/QubesOS/qubes-issues/issues/3475

Thanks. Yes, my default_dispvm was set to None.


--
Reply all
Reply to author
Forward
0 new messages