I'm attempting to change the type of a hard disk from Normal to
Immutable via the webservice API (using the Python bindings from the
SDK).
hard_disk.type = mgr.constants.HardDiskType_Immutable
Which fails with the following error:
File "/home/josh/vboxapi/VirtualBox_wrappers.py", line 4656, in __setattr__
hndl[1](self,val)
File "/home/josh/vboxapi/VirtualBox_wrappers.py", line 4790, in setType
req._type = value.handle
AttributeError: 'str' object has no attribute 'handle'
The same code works just fine against the XPCOM bindings.
~JW
_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev