[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

mailer.py keyerror

From: Sergey A. Lipnevich <sergey_at_optimaltec.com>
Date: 2003-12-12 01:12:58 CET

Hi All!

I'm setting up mailer.py and it seems that it doesn't want to substitute
key values. The output is:
# mailer.py /prj/xyz/repos/main 2 /etc/svnmailer.conf
Traceback (most recent call last):
  File "/usr/bin/mailer.py", line 652, in ?
    svn.util.run_app(main, config_fname, repos_dir, revision)
  File "/usr/lib/svn-python/svn/core.py", line 33, in run_app
    return apply(func, (pool,) + args, kw)
  File "/usr/bin/mailer.py", line 62, in main
    output.generate(groups, pool)
  File "/usr/bin/mailer.py", line 142, in generate
    self.start(group, params)
  File "/usr/bin/mailer.py", line 183, in start
    MailedOutput.start(self, group, params)
  File "/usr/bin/mailer.py", line 154, in start
    self.to_addr = self.cfg.get('to_addr', group, params)
  File "/usr/bin/mailer.py", line 556, in get
    return getattr(self.defaults, option, '') % params
KeyError: 'project'

and the configuration portion is

[defaults].for_repos = /prj/(?P<project>[^/]+)/repos/(?P<repository>[^/]+)

Thank you in advance for help!


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 12 01:14:27 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.