question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

c7n_mailer is giving me this error when I run it, any issues with the mailer itself?

See original GitHub issue

This is the error message I get when I run the command: $ c7n-mailer -c mailer.yml && custodian run -c test-policy.yml -s .

Traceback (most recent call last):
  File "/home/anant/cloud_custodian/cloud-custodian/tools/c7n_mailer/c7n_mailer/cli.py", line 72, in main
    deploy.provision(config, functools.partial(session_factory, config))
  File "/home/anant/cloud_custodian/cloud-custodian/tools/c7n_mailer/c7n_mailer/deploy.py", line 74, in provision
    archive = get_archive(config)
  File "/home/anant/cloud_custodian/cloud-custodian/tools/c7n_mailer/c7n_mailer/deploy.py", line 38, in get_archive
    'memcache')
TypeError: __init__() takes at most 6 arguments (8 given)
> /home/anant/cloud_custodian/cloud-custodian/tools/c7n_mailer/c7n_mailer/deploy.py(38)get_archive()
-> 'memcache')
(Pdb)

@kapilt @whit537

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
JohnTheodorecommented, Mar 24, 2017

I’ll note, if we just rev c7n with a new version, it will probably fix the issue for people.

You can add -e git+https://github.com/capitalone/cloud-custodian.git#egg=c7n to your requirements.txt to pip install HEAD c7n from the repo to get the mu.py changes.

1reaction
srinivas-anantcommented, Mar 28, 2017

Sorry my bad it was a typo error. Your answer helped me out thanks @JohnTheodore and @whit537.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c7n-mailer - Cloud Custodian
The Cloud Custodian Mailer can now be easily run in a Docker container. Click here for details. Message Relay¶. Custodian Mailer subscribes to...
Read more >
cloud-custodian/cloud-custodian - Gitter
Hi Team,. while executing the cloud custodian policy i am getting the below warning from the side of the cloudwatch log and am...
Read more >
c7n Mailer type error when using variable for email address
I'm using c7n-org and in my accounts.yml file, I'm using variables per AWS account for the notification email address like this:.
Read more >
Cloud Custodian Architecture, Deployment and Policy ...
We currently run all of our Cloud Custodian policies as Lambda functions, ... We use the Custodian Mailer (c7n-mailer) tool for email ......
Read more >
Fix Chrome update problems & failed updates - Google Support
If you're having problems updating Chrome on your computer, you might see: Update failed: Updates are disabled by administrator Update failed (Error: 3...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found