Ticket #8449 (closed defect: fixed)
Error message from VBoxManage snapshot . . . vminfo . . . implies that UUIDs are not accepted
|Reported by:||intuited||Owned by:|
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), 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-...".