devopsgroup-io / vagrant-digitalocean

:droplet: A Vagrant provider plugin that manages DigitalOcean droplets.
Mozilla Public License 2.0
1.71k stars 182 forks source link

(ArgumentError) #290

Closed WadeZore closed 3 years ago

WadeZore commented 3 years ago

When i try to vagrant up, i keep getting this issue.

Im pretty new to vagrant and digital ocean.

Here is the full msg i get:

vagrant up --provider=digital_ocean Bringing machine 'droplet1' up with 'digital_ocean' provider... /opt/vagrant/embedded/gems/2.2.17/gems/i18n-1.8.10/lib/i18n.rb:196:in translate': wrong number of arguments (given 2, expected 0..1) (ArgumentError) from /Users/<user>/.vagrant.d/gems/3.0.1/gems/vagrant-digitalocean-0.9.5/lib/vagrant-digitalocean/config.rb:64:invalidate' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/plugins/kernel_v2/config/vm.rb:960:in validate' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/config/v2/root.rb:71:inblock in validate' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/config/v2/root.rb:66:in each' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/config/v2/root.rb:66:invalidate' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builtin/config_validate.rb:15:in call' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/warden.rb:48:incall' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/builder.rb:149:in call' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:inblock in run' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/util/busy.rb:19:in busy' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/action/runner.rb:89:inrun' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:246:in action_raw' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:215:inblock in action' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/environment.rb:614:in lock' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:201:incall' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/machine.rb:201:in action' from /opt/vagrant/embedded/gems/2.2.17/gems/vagrant-2.2.17/lib/vagrant/batch_action.rb:86:inblock (2 levels) in run'

obilodeau commented 2 years ago

Having this issue with the latest plugin and vagrant. How did you fix it?

najamelan commented 1 year ago

I can confirm issue is happening with freshly installed plugin.

najamelan commented 1 year ago

I pushed a branch that works: https://github.com/najamelan/vagrant-digitalocean/tree/update-plugin

To install:

axelsimon commented 1 year ago

Just hit this. Why was this issue closed when it's not solved?