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

Problem with mscom.rb in Windows #56

Open
owengriffin opened this issue Mar 29, 2011 · 1 comment
Open

Problem with mscom.rb in Windows #56

owengriffin opened this issue Mar 29, 2011 · 1 comment

Comments

@owengriffin
Copy link

Hi,

I´m encountering the following issue when using virtualbox in Vagrant:

   c:/ruby192/lib/ruby/gems/1.9.1/gems/virtualbox-0.8.3/lib/virtualbox/com/implementer/mscom.rb:81:in `block in spec_to_args': undefined method `to_sym' for [:Medium]:Array (NoMethodError)
    from c:/ruby192/lib/ruby/gems/1.9.1/gems/virtualbox-0.8.3/lib/virtualbox/com/implementer/mscom.rb:76:in `collect'
    from c:/ruby192/lib/ruby/gems/1.9.1/gems/virtualbox-0.8.3/lib/virtualbox/com/implementer/mscom.rb:76:in `spec_to_args'
    from c:/ruby192/lib/ruby/gems/1.9.1/gems/virtualbox-0.8.3/lib/virtualbox/com/implementer/mscom.rb:49:in `call_function'
    from c:/ruby192/lib/ruby/gems/1.9.1/gems/virtualbox-0.8.3/lib/virtualbox/com/abstract_interface.rb:134:in `call_function'
    from c:/ruby192/lib/ruby/gems/1.9.1/gems/virtualbox-0.8.3/lib/virtualbox/com/abstract_interface.rb:51:in `block in function'
    from c:/ruby192/lib/ruby/gems/1.9.1/gems/virtualbox-0.8.3/lib/virtualbox/vm.rb:559:in `destroy'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/destroy.rb:11:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/clear_nfs_exports.rb:15:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/halt.rb:24:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/discard_state.rb:17:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/env/set.rb:13:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/builder.rb:120:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action.rb:131:in `block in run'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/util/busy.rb:19:in `busy'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action.rb:131:in `run'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/import.rb:29:in `recover'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:49:in `block in begin_rescue'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:48:in `each'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:48:in `begin_rescue'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:39:in `rescue in call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:24:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/host_name.rb:10:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/share_folders.rb:15:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/clear_shared_folders.rb:14:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/nfs.rb:39:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/provision.rb:17:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/forward_ports.rb:88:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/clear_forwarded_ports.rb:17:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/customize.rb:16:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/clean_machine_folder.rb:17:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/check_guest_additions.rb:25:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/match_mac_address.rb:16:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/import.rb:21:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/vm/check_box.rb:23:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action/warden.rb:28:in `call'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/actio

n/builder.rb:120:in call' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action.rb:131:inblock in run'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/util/busy.rb:19:in busy' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/action.rb:131:inrun'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/vm.rb
:136:in up' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/command/up.rb:13:inblock in execute'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/command/up.rb:8:in each' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/command/up.rb:8:inexecute'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:22:in run' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:ininvoke_task'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:124:in block in invoke_all' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:124:ineach'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:124:in map' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:124:ininvoke_all'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/group.rb:226:in dispatch' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor0.14.6/lib/thor/invocation.rb:109:ininvoke'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/lib/vagrant/cli.rb:45:in block in register' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:22:inrun'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation
.rb:118:in invoke_task' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor.rb:263:in dispatch'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/base.rb:38
9:in start' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/vagrant-0.7.2/bin/vagrant:15:in <top (required)>'
from C:/Ruby192/bin/vagrant:19:in load' from C:/Ruby192/bin/vagrant:19:in

'

Any ideas?

Sorry about the bad format of this!

@alexpott
Copy link

alexpott commented May 5, 2011

This happened to me too. The issue was I'd disabled the Virtualbox host-only network adapter. Enabling it resolves the issue.

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

2 participants