[vbox-dev] createBaseStorage() fails with VERR_INVALID_PARAMETER

Karoline Haus karolinehaus at yahoo.de
Thu Jun 5 14:25:09 UTC 2014

Hi I'm trying to create a virtual hard drive using the Python API. 

I can successully create the IMedium object using IVirtualBox::createHardDisk() but then when I try to call createBaseStorage() on that object, I can an error saying "Error in module Medium (VERR_INVALID_PARAMETER)" but I do not get any further details on what the problem is. 

According to the SDK documentation, the only error for this function should be if the medium format is not supported by my system ("The variant of storage creation operation is not supported."), but I am just trying to create a VDI disk, and when I list the HDD backends using VBoxManage, it is definitely supported. The path I'm trying to create the virtual disk under is also accessible and writable.

What else can the problem be? I do not seem to be able to dig deeper into this. I'm using the MediumVariant_Standard variant, so there is nothing special about this either.

Any pointers would be really appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140605/bb0dc485/attachment.html 

More information about the vbox-dev mailing list