Skip to content
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

Traceback from configuration handler #45

Closed
plaes opened this issue Jul 31, 2012 · 5 comments
Closed

Traceback from configuration handler #45

plaes opened this issue Jul 31, 2012 · 5 comments

Comments

@plaes
Copy link
Contributor

plaes commented Jul 31, 2012

Trying to use following configuration:

from marrow.mailer import Mailer
mailer = Mailer({'transport': {'use': 'mbox', 'file': '/tmp/komasu.mbox'}})

Gives me following traceback:

Traceback (most recent call last):
  File "x.py", line 2, in <module>
    mailer = Mailer({'transport': {'use': 'mbox', 'file': '/tmp/komasu.mbox'}})
  File "/home/plaes/.virtualenvs/komasu/lib/python2.7/site-packages/marrow/mailer/__init__.py", line 50, in __init__
    self.manager_config = manager_config = Bunch.partial('manager', config)
  File "/home/plaes/.virtualenvs/komasu/lib/python2.7/site-packages/marrow/util/bunch.py", line 48, in partial
    raise ValueError()
ValueError

When I add the missing manager: {} to the configuration, it complains about missing message

@plaes
Copy link
Contributor Author

plaes commented Jul 31, 2012

I also have the changes from #35 present, so no idea what's going wrong.

@plaes
Copy link
Contributor Author

plaes commented Jul 31, 2012

@domenkozar
Copy link

I'm getting the same error, could this be fixed? :) Happens when you do:

Mailer({}, prefix="mail.")

@domenkozar
Copy link

Basically, just needs a release :)

@amcgregor
Copy link
Member

Should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants