Comments (8)
This seems to be fixed in master already (I can reproduce with txacme 0.9.0, but not with master), but I don't actually know what's going on here, so it may still warrant further investigation.
from txacme.
I can reproduce with master. Try mktmpenv; pip install git+https://github.com/mithrandi/txacme; twist --help
?
from txacme.
Actually it's pretty straightforward. When building the plugin cache, we get the traceback because the txacme endpoint plugin imports twisted.web.client
(among other things) that installs the reactor at module scope. Once the cache is built it's fine.
from txacme.
Oh, that explains it; I was using a -e
install so the plugin cache was already built.
from txacme.
So uh... how do we actually fix this?
from txacme.
I guess I can move the endpoint parser into its own module, and it can lazily import everything else.
from txacme.
Yeah, plugins just have to be lazy about almost everything. Or we could make Twisted comprehensively forbid importing the reactor at module level :)
from txacme.
Thanks!!
from txacme.
Related Issues (20)
- Construct URL correctly
- Libcloud DNS responder doesn't work with Route 53 HOT 13
- Use native conversion to/from PyOpenSSL and Cryptography
- Certbot-like ability to update domains in a certificate (--expand)
- txacme.test.test_service.AcmeIssuingServiceTests.test_errors fails
- Decide what to do about IDNA encoding HOT 1
- Flake8 failures
- Deprecate SNI endpoints and figure out a replacement HOT 21
- Document release process HOT 3
- Implement TLS-ALPN challenge method HOT 7
- Don't try to renew cert for the certificate chain and panic right away.
- In AcmeIssuingService panic or call a dedicated callback on registration errors HOT 1
- Have less strict content type checking HOT 2
- txacme.client.Client.register raised KeyError when an ACME v2 directory is used HOT 2
- The server endpoint doesn't work HOT 3
- Eliot > 1.7 doesn't work with Python 3.5.2, which is what is on Ubuntu Xenial HOT 2
- broken with attrs 19.2.0 HOT 6
- Implement ACMEv2, since ACMEv1 is now EOL 😱 HOT 27
- will break with a future version of attrs due to cmp=
- Traceback: exceptions.AttributeError: Deferred instance has no attribute 'register'
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 txacme.