[Bug 827547] [NEW] KeyError in "virgin" runner.

Stephen A. Goss steveth45 at gmail.com
Tue Aug 16 20:07:01 CEST 2011


Public bug reported:

Not sure what caused this error that showed up in mailman.log:

Aug 16 10:54:50 2011 (31400) Uncaught runner exception: u'foo.example.com'
Aug 16 10:54:50 2011 (31400) Traceback (most recent call last):
  File "/home/sgoss/mailman_clone/src/mailman/core/runner.py", line 138, in _one_iteration
    self._process_one_file(msg, msgdata)
  File "/home/sgoss/mailman_clone/src/mailman/core/runner.py", line 220, in _process_one_file
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/home/sgoss/mailman_clone/src/mailman/runners/virgin.py", line 37, in _dispose
    process(mlist, msg, msgdata, 'virgin')
  File "/home/sgoss/mailman_clone/src/mailman/core/pipelines.py", line 50, in process
    handler.process(mlist, msg, msgdata)
  File "/home/sgoss/mailman_clone/src/mailman/pipeline/cook_headers.py", line 360, in process
    process(mlist, msg, msgdata)
  File "/home/sgoss/mailman_clone/src/mailman/pipeline/cook_headers.py", line 202, in process
    listinfo = mlist.script_url('listinfo')
  File "/home/sgoss/mailman_clone/src/mailman/model/mailinglist.py", line 243, in script_url
    return urljoin(self.domain.base_url, target + '/' + self.fqdn_listname)
  File "/home/sgoss/mailman_clone/src/mailman/model/mailinglist.py", line 227, in domain
    return getUtility(IDomainManager)[self.mail_host]
  File "/home/sgoss/mailman_clone/src/mailman/model/domain.py", line 142, in __getitem__
    raise KeyError(email_host)
KeyError: u'foo.example.com'

** Affects: mailman
     Importance: Undecided
         Status: New


** Tags: mailman3

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/827547

Title:
  KeyError in "virgin" runner.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/827547/+subscriptions


More information about the Mailman-coders mailing list