VirtualBox

Ticket #8449 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Error message from VBoxManage snapshot . . . vminfo . . . implies that UUIDs are not accepted

Reported by: intuited Owned by:
Priority: trivial 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-...".

Change History

comment:1 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

That was fixed sometimes in VBox 4.0.x.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use