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)
Change History (4)
by , 8 years ago
by , 8 years ago
comment:2 by , 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.
stdout from running script