#3 error creating vm

Phil Farthing

When I attempt to create a new virtual machine, the operation fails. Sometimes I get a vm showing up under my server, sometimes I don't. But all the time, I get a huge number of repaeated pythong errors.

I get this each time when the app starts:
python window.py
window.py:195: GtkWarning: Ignoring the separator setting
window.py:195: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

I get this repeated about a dozen or so times:
Traceback (most recent call last):
File "/opt/openxenmanager/oxcSERVER.py", line 1897, in <lambda>
gobject.idle_add(lambda: self.wine.update_memory_tab() and False)
File "/opt/openxenmanager/window_vm.py", line 35, in update_memory_tab
dynamicmin = self.xc_servers[self.selected_host].all_vms[self.selected_ref]["memory_dynamic_min"]
KeyError: 'OpaqueRef:309ee196-a38d-0f29-e33e-34dcf7d9d5e1'

And I get this one randomly:
Traceback (most recent call last):
File "/opt/openxenmanager/oxcSERVER.py", line 1829, in <lambda>
gobject.idle_add(lambda: self.add_vm_to_tree(event["ref"]) and False)
File "/opt/openxenmanager/oxcSERVER.py", line 610, in add_vm_to_tree
if self.all_vms[vm]['resident_on'] != "OpaqueRef:NULL" and self.all_vms[vm]['resident_on'] in self.hostroot:
KeyError: 'OpaqueRef:1518999d-2696-ea7b-2f5f-cfa3c63e1bbe'

And this at the end of all the repeated errors:
Traceback (most recent call last):
File "window.py", line 1348, in on_tabbox_focus_tab
name = self.xc_servers[self.selected_host].all_hosts[self.selected_ref]['name_label']
KeyError: None

This is repatable. If a VM gets created, it won't start.

I'm using the svn snapshot as of 04/27, changelog shows latest date as 04/06/2010, which I think is Euro date, and is June 04, 2010.