VirtualBox

Opened 8 years ago

Last modified 8 years ago

#15974 new defect

python host.create_host_only_network_interface returns bad object

Reported by: silvermangb Owned by:
Component: network/hostif Version: VirtualBox 5.1.6
Keywords: IHostNetworkInterface python Cc:
Guest type: Linux Host type: Windows

Description

vbmanager = virtualbox.Manager() vbox = vbmanager.get_virtualbox() host = vbox.host

hoa,progress = p_host.create_host_only_network_interface() progress.wait_for_completion(32000)

print hoa.name

The print statement generates an error

Failed to find attribute name in <virtualbox.library.IHostNetworkInterface object at 0x0000000008FB6898>

However, the interface was created.

Attachments (2)

log.txt (927 bytes ) - added by silvermangb 8 years ago.
stdout from running script
VBox.log (927 bytes ) - added by silvermangb 8 years ago.

Download all attachments as: .zip

Change History (4)

by silvermangb, 8 years ago

Attachment: log.txt added

stdout from running script

comment:1 by silvermangb, 8 years ago

I used pyvbox, installed by pip.

by silvermangb, 8 years ago

Attachment: VBox.log added

comment:2 by silvermangb, 8 years ago

This problem occurs on Windows 10, but, the same code works in El Capitan.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use