Comments (9)
I just pushed a patch that should prevent venv.sh from incorrectly reporting success in the future. Thanks for catching that.
Re: what to do, the library it's missing this time is 'mock' not 'six'; Maybe see about installing the system package for that?
What version of python are you using for this?
from simp_le.
If you look at venv.sh log, the first error seems to be
from six.moves import filter, map
ImportError: No module named six.moves
There are lot of other errors as well (like Failed building wheel for cryptography
). So I have focused on these problems.
Default python on Wheezy is 2.7.3
After 2-3 hours of debugging, I have discovered that system package python-six
breaks the simp_le
installation 😫
./venv.sh
is failing anyway but when I run it at least twice, simp_le --help
works as expected.
The process to install simp_le
on Debian Wheezy:
apt-get -y purge python-six
./bootstrap.sh
./venv.sh
./venv.sh
Anyway It is quite undeterministic, that the script is failing and when you run it twice, simp_le
starts to work.
Thanks for the patch but it breaks this workaround actually.
Here is a log of running ./venv.sh
and simp_le
twice. I hope it will help you because I can't figure out the root of the problem. I have wrap each subcommand with debug message and return code.
EDIT: uploaded new another log version
from simp_le.
So, when I adopted this project the venv.sh
script is one of a handful of things that I thought wasn't really the right way to approach the probem; I'm disinclined to spend a bunch of time debugging it, in favor of coming up with some reliable instructions and scrapping it.
What happens if, instead of running venv.sh, you cd into the source tree and do:
virtualenv venv
source venv/bin/activate
pip install -e .
simp_le --help
from simp_le.
Still no luck. It ends with AttributeError: 'module' object has no attribute 'evaluate_marker'
this time.
from simp_le.
@VojtechMyslivec, I set up a wheezy vm and think I've solved the problem; can you check out the distribute-fix
branch and confirm that the venv.sh script there works for you? If so I'll merge it into master.
from simp_le.
Perfect 🎉 Works like a charm. Thanks a lot!
from simp_le.
Great! It's on master now; once travis finishes running I'll close this.
from simp_le.
PS: I have tried it on Debian Jessie (8.7, stable) and Stretch (9.0-rc, future-stable). And it works on both as well.
Thank again.
from simp_le.
You're welcome! Travis passed as expected, so this has been merged into master. Also, there's a new tag/release on pypi. Closing.
from simp_le.
Related Issues (20)
- Support OCSP Must-Staple HOT 3
- setup.py enforces acme<0.40,>=0.39 HOT 1
- "Selected IO plugins do not cover the following components: account_reg."
- IndexError: list index out of range when using BuyPass ACME HOT 11
- Automated docker builds seem to be broken HOT 8
- Implement retry on Nonce Errors
- Selected IO plugins do not cover the following components: account_reg. HOT 1
- Fails when renewing self-signed cert HOT 8
- /usr/bin/python3: No module named virtualenv HOT 4
- Improve error message about logging. HOT 3
- Unhandled TimeoutError HOT 1
- Support --preferred-chain like certbot HOT 10
- acme.errors.ValidationError is not handled properly HOT 1
- Could not remove validation file: No such file or directory - error when forced to renew
- No newline at end of pem file - gets mangled when concatenated HOT 1
- dns-01 is this an error? HOT 1
- Error building Dockerfile HOT 1
- Software supply chain looks out-of-control HOT 3
- Option to disable IPV6 HOT 2
- Option --use_alt_chain=1 causes IndexError: list index out of range
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simp_le.