Changes between Initial Version and Version 1 of Ticket #9584
- Timestamp:
- Sep 14, 2011 7:49:54 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9584 – Description
initial v1 1 {{{ 1 2 VBoxManage closemedium disk deleteme.vdi --delete 2 3 }}} 3 4 gives 4 5 {{{ 5 6 VBoxManage.exe: error: The object is not ready 6 VBoxManage.exe: error: Details: code E_ACCESSDENIED (0x80070005), component Medium, interface IMedium, callee IUnknown 7 Context: "FindMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, pMedium.asOutParam())" at line 174 of file VBoxManageDisk.cpp 8 7 VBoxManage.exe: error: Details: code E_ACCESSDENIED (0x80070005), 8 component Medium, interface IMedium, callee IUnknown 9 Context: "FindMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, 10 pMedium.asOutParam())" at line 174 of file VBoxManageDisk.cpp 11 }}} 9 12 The same result with full path to the vdi or without the extension; in fact whatever I write as the disk name I get the same error. 10 13 It worked in 3.x and the vdi can be removed using the GUI. I can't use --delete when unregistering the VM because I want to keep the OS disk. … … 12 15 13 16 MAYBE RELATED: 14 ________________________________________ 17 15 18 some other guy at http://daniel.hepper.net/blog/ got 16 19 {{{ 17 20 $ VBoxManage list vms 18 21 "" {b68ed7a7-6e72-4f16-a438-8775cd80d9b3} 19 22 $ VBoxManage unregistervm {b68ed7a7-6e72-4f16-a438-8775cd80d9b3} --delete 20 23 VBoxManage: error: The object is not ready 21 VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component Machine, interface IMachine, callee nsISupports 22 Context: "Delete(ComSafeArrayAsInParam(aMedia), pProgress.asOutParam())" at line 175 of file VBoxManageMisc.cpp 24 VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), 25 component Machine, interface IMachine, callee nsISupports 26 Context: "Delete(ComSafeArrayAsInParam(aMedia), 27 pProgress.asOutParam())" at line 175 of file VBoxManageMisc.cpp 23 28 Segmentation fault 24 ________________________________________ 29 }}} 25 30 26 31 some other guy at http://forums.virtualbox.org/viewtopic.php?f=7&t=38150 27 32 28 33 Simply unregistering the machine without detaching the drives first seems to work, however unregistering the machine with the '--delete' flag gives: 29 34 {{{ 30 35 Code: Select all Expand viewCollapse view 31 36 VBoxManage: error: The object is not ready 32 VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component Machine, interface IMachine, callee nsISupports 33 Context: "Delete(ComSafeArrayAsInParam(aMedia), pProgress.asOutParam())" at line 167 of file VBoxManageMisc.cpp 37 VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), 38 component Machine, interface IMachine, callee nsISupports 39 Context: "Delete(ComSafeArrayAsInParam(aMedia), 40 pProgress.asOutParam())" at line 167 of file VBoxManageMisc.cpp 34 41 Segmentation fault (core dumped) 35 ________________________________________ 42 }}}

