Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Error in API call to get_network_adapter #76

Open
rtgibbons opened this issue Dec 8, 2011 · 3 comments
Open

Error in API call to get_network_adapter #76

rtgibbons opened this issue Dec 8, 2011 · 3 comments

Comments

@rtgibbons
Copy link

Main line in the log

/Users/ryangs/.rvm/gems/ruby-1.9.2-p290@global/gems/virtualbox-0.9.2/lib/virtualbox/com/implementer/ffi.rb:106:in `call_and_check': Error in API call to get_network_adapter: 2147942487 (VirtualBox::Exceptions::InvalidArgException)

rest of the trace https://gist.github.com/1449072

This occurs while running vagrant destroy . There was this issue create on it hashicorp/vagrant#485. You said it was probably a fix in this, and since the error stems from this gem. I'm creating this ticket.

I don't have any marked "inaccessible"

running Virtualbox 4.1.6

@jkp
Copy link

jkp commented Dec 17, 2011

Here's a patch to work around the issue: http://dl.dropbox.com/u/164709/Misc/network_adapter.rb.patch. Unfortunately due to a bug in VirtualBox a special case workaround is needed (https://www.virtualbox.org/pipermail/vbox-dev/2011-August/004454.html).

@rtgibbons
Copy link
Author

This patched worked great. Not sure if it is still required on 4.1.8 .. I'll try to test it out in the next day or two.

@debo
Copy link

debo commented Jan 13, 2012

I can confirm the patch is still needed also on Virtual Box 4.1.8 and worked like a charm on my environment.
Thanks jkp

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants