-
Notifications
You must be signed in to change notification settings - Fork 308
VirtualEnv error with Windows + Vagrant #2327
Comments
Maybe related: Scifabric/pybossa#566 (comment) |
Blech. I looked at this thinking it might be a simple Python thing but |
TeamX |
Let's try this? Can someone on a failing windows version give the |
For me it works. Without
With
Windows 7 64-bit, vagrant (Ubuntu 14.04 64-bit) |
Thanks @lukaszbanasiak! So where do we need to add |
Just run into this. I think I'll be able to tackle this. The problem is likely related to permissions for files mounted as VirtualBox share. Git also chokes on them, because all files are executable, permissions are immutable etc. |
Tracing the chain so far. This is invoked from
|
|
This is a symlink that can not be symlinked to |
|
@techtonik If you want help ping @joeyespo. He's into Vagrant + Windows. |
Don't need it yet, but I'll keep that in mind. Thanks. The only help needed right now is to merge some |
Filled (pypa/virtualenv#663). Going to add |
Didn't get far. Hit hashicorp/vagrant#4745 on the way. Shot myself in the foot with this one, actually. |
Next fail with virtualenv 1.11.6:
Looks like pip upgrade is needed. |
Downloading |
Well, another problem:
|
RE: Vagrant + Windows Honestly, even after fixing the quirks, working within a Vagrant environment hasn't been a pleasant dev experience. It's terribly slow. And getting set up is still quite tedious (which is the whole point of Vagrant). This has kind of pushed me away from participating. I don't feel productive because of how much time it takes to get from "idea I want to test" or "issue I want to resolve" to "localhost". Instead, I'd much rather work within a "native" Python and JavaScript dev environment since these technologies are already cross-platform. Striving for a single, cross-platform I've applied this approach to other websites (both monolithic and microservices), and it's made both onboarding and day-to-day development much smoother. Contributors can continue to use the tools and the environments that make them maximally productive. And there's no time wasted with installation hand-holding. Requiring each machine to be exactly the same in order to make high-level changes shuts out a lot of people. (As for the dev/prod-parity as a bug-catching mechanism, which usually comes up, auto-running tests in a prod-like CI tool before merging PRs has been equivalently effective.) I'd be happy to talk more about the approaches I've used to make webapps more cross-platform if there's any interest here, but unfortunately, I don't think I'll be much help with Vagrant issues anymore. |
Thanks for checking in, @joeyespo! So are you saying Vagrant in general is a buzzkill for you lately, or Vagrant as we've implemented it? I think I'm hearing you say the former. |
@whit537 Sure! Glad things are going strong. I also really like the rename, it's catchy :-) Yeah, the former. |
@joeyespo So what's your secret formula? Let me guess: use SQLite? ;-) |
|
@whit537 Haha, yeah, that's one option. A decent one too, since it's built-in to Python and is supported by popular ORMs. The general idea is use cross-platform auto-installable components for dev, and production-optimized components for prod, staging, and tests running on CI. Since Python/JS packages are already auto-installable and cross-platform, it's a natural fit to use them in place of the prod-ready counterparts. Of course, not every prod-ready component has a pure-Python implementation. In those cases, you have to substitute higher up. ORMs are a good option because the ability to plug in different backends is already built for you. As for postgres.py, I'm not sure what the best approach would be. It highly couples your app to Postgres instead of to an object model. But I'm willing to talk through some ideas. Let's move the discussion to a new issue. |
Bootstrap fails with DB error:
Moved to #2950 |
Please test new |
Ran into a virtualization error that took a while to debug: gratipay/gratipay.com#2327 pypa/virtualenv#565 Ultimate solution: http://stackoverflow.com/questions/24640819/protocol-error-setting-up-virtualenvironment-through-vagrant-on-ubuntu Run console as admin, shared mounts permissions issue. More evidence of issues on Windows: bash script cannot access vagrant shared mount, even when run as root.
No idea where to even start with this one. Fresh clone with fresh vagrant box.
Here's the weird part, at home my Windows 8.1 x64 computer experiences this problem but my Windows 7 x64 computer at work doesn't. This also happens to @abnor
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: