Opened 14 years ago
Closed 14 years ago
#8449 closed defect (fixed)
Error message from VBoxManage snapshot . . . vminfo . . . implies that UUIDs are not accepted
Reported by: | intuited | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 3.2.8 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
If an invalid UUID is given to the vminfo
operation of VBoxManage snapshot
, the error message implies that a VM name must be given. For example, if 123-f00d-baaa-baaa-baaa
is the correct UUID of a Machine, but 456-dead-f00d-600d-600d
is not a valid snapshot UUID, this happens:
$ VBoxManage snapshot 123-f00d-baaa-baaa-baaa showvminfo 456-dead-f00d-600d-600d Oracle VM VirtualBox Command Line Management Interface Version 3.2.8_OSE (C) 2005-2010 Oracle Corporation All rights reserved. ERROR: Could not find a snapshot named '456-dead-f00d-600d-600d' Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component Machine, interface IMachine, callee nsISupports Context: "FindSnapshot(Bstr(a->argv[2]), snapshot.asOutParam())" at line 486 of file VBoxManageSnapshot.cpp
This is probably only really a problem for those learning the VBoxManage tool, who may reach the conclusion that UUIDs are not actually accepted by this operation. It would be better to rephrase the error message to something like "Could not find a snapshot with name or UUID '456-...".
That was fixed sometimes in VBox 4.0.x.