-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimal template causing TypeError: __init__() got an unexpected keyword argument 'acct_key' #221
Comments
Thanks for asking! By the time of 0.8.4, the account key argument to If you can identify the example that steered you to use |
I end up with more errors, can you please update the documentation? |
What texts are you finding that mislead you? That they are not all uniformly up to date is a known issue - too many were written while I was in the process of sorting out the substantial changes, and probably should just be deleted at this point. What did you change and what errors are you getting now? I can't read your mind. I would also suggest pulling the current HEAD from the github repo, as there have been some fixes and cleanups since 0.8.4 was released. Also, and work I've done on the docs since 0.8.4 was released will be correct for those changes, maybe not for what's on 0.8.4. As will any future corrections or additions... |
Your examples just don't work, hence I asked you to update them. Traceback (most recent call last): According to the class, its a needed parameter. |
Even your example copy & pasted from https://github.com/komuw/sewer/blob/master/docs/sewer-as-a-library.md with Cloudflare throws me the same TypeError: init() got an unexpected keyword argument 'domain_name' |
I'm sorry, it's still difficult to get started writing a new Provider class. That was what finally pushed me to get involved with maintaining the code - that and the belated protocol change that was rolled out in lettsencrypt's staging testbed a bit more than a year ago. I have gotten rid of some semi-hidden hoops, but exercising a new driver is still not as simple as I'd wish it to be. Unless you want to deal with all the internals, I would suggest that you consider adding a new case to the As the comment on |
Which version of python are you using?
Python 3.6.9
What operating system and version of operating system are you using?
Ubuntu 18.04
What version of sewer are you using?
0.8.4
What did you do? (be as detailed as you can)
Just trying to create a minimalistic dns provider without params
What did you expect to see/happen/not happen?
It detonated without style
What did you actually see/happen?
Working with style
So, you got a provider example here: https://github.com/komuw/sewer/blob/master/docs/dns-01.md
I tried to replicate that on a minimal basis without paramets and such, but it did explode.
Here is my current class: https://pastebin.com/b8YJGCxM
It seems to throw:
cert_key=AcmeKey.create("rsa2048")
TypeError: init() got an unexpected keyword argument 'acct_key'
At https://pastebin.com/a6Un2nsP
Any idea why?
The text was updated successfully, but these errors were encountered: