Vagrantfile has obsolete version in box_url #546

Closed
vaniver opened this Issue Feb 3, 2016 · 9 comments

Projects

None yet

4 participants

@vaniver

config.vm.box_url = "https://vagrantcloud.com/chef/boxes/ubuntu-12.04/versions/1.0.0/providers/virtualbox.box"

Version 1.0.0 doesn't seem to exist anymore and gives a 404 error. 2.2.3 is the current version, but I haven't yet confirmed that it works with everything else.

@brendanlong

The "chef" section is also redirecting to "bento". Notice that this is empty, but if you go here in the top left corner it says in the top left that it's actually bento/ubuntu-12.04.

12.04 is ancient at this point though, so I advise updating to 14.04..

@brendanlong

Hm even using bento/ubuntu-12.04 version 2.2.3 causes something to go wrong in the Python setup.py. It might be a version thing..

@xrpd

I used

config.vm.box_url = "https://vagrantcloud.com/bento/boxes/ubuntu-12.04/versions/2.2.3/providers/virtualbox.box"

and got vagrant up to complete.

But

paster serve --reload development.ini

failed with ImportError: No module named _thread (log here). This seems to be something to do with easy_install eggs trying to use Python 3.

@brendanlong

Hm, but python is Python 2.7:

vagrant@vagrant:~$ python --version
Python 2.7.3
@brendanlong

It looks like thread was renamed to _thread in Python3 for some reason, and as a result of that, the latest version of flup only supports Python 3. A comment suggested using version 1.0.3.dev-20110405. I'm trying it now and I'll open a pull request if it works.

@brendanlong brendanlong referenced this issue Feb 5, 2016
Merged

Fix VM setup #547

@xrpd

There you go, it was just flup. Dev environment up and running, thanks Brendan.

@wezm wezm closed this in 1df3244 Feb 9, 2016
@harshhpareek

Is this working for everyone? I'm still getting errors.

@brendanlong

What errors?

@harshhpareek

Never mind. it's working now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment