VirtualBox

Ticket #4071 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

vboxshell.py from SDK won't run without modification => Fixed in SVN

Reported by: bgilbert Owned by:
Priority: minor Component: other
Version: VirtualBox 2.2.2 Keywords:
Cc: bgilbert@… Guest type: other
Host type: other

Description

[~]$ cd sdk/bindings/xpcom/python/sample
[sample]$ export VBOX_PROGRAM_PATH=/usr/lib/virtualbox/
[sample]$ export PYTHONPATH=../:/usr/lib/virtualbox/
[sample]$ python vboxshell.py 
Traceback (most recent call last):
  File "vboxshell.py", line 45, in <module>
    'remote':False, 'perf':PerfCollector(vbox)}
NameError: name 'PerfCollector' is not defined

The fix is to change

from shellcommon import interpret

to

from shellcommon import interpret, PerfCollector

in vboxshell.py.

Change History

comment:1 Changed 5 years ago by ni81036

  • Summary changed from vboxshell.py from SDK won't run without modification to vboxshell.py from SDK won't run without modification => Fixed in SVN

Thanks for report, already fixed in SVN.

comment:2 Changed 5 years ago by ni81036

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use