VirtualBox

Opened 15 years ago

Closed 15 years ago

#4071 closed defect (fixed)

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

Reported by: Benjamin Gilbert Owned by:
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 (2)

comment:1 by Nikolay Igotti, 15 years ago

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

Thanks for report, already fixed in SVN.

comment:2 by Nikolay Igotti, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use