[Mailman-Users] qrunner Outgoing getting stuck? - including relevant code

Daniel A. Jacobs danielj at cheshirecat.net
Sat Feb 15 19:05:10 CET 2003


This is where the assertion is being thrown:
~mailman/Mailman/Queue/Switchboard.py, line 148:

 # Between 2.1b4 and 2.1b5, the `rejection-notice' key in the metadata
 # was renamed to `rejection_notice', since dashes in the keys are not
 # supported in METAFMT_ASCII.
        if data.has_key('rejection-notice'):
            data['rejection_notice'] = data['rejection-notice']
            del data['rejection-notice']
        msgfp = None

> On Fri, 2003-02-14 at 12:21, Daniel A. Jacobs wrote:
> > Running Python 2.2.2, Mailman 2.1.1, Sendmail.
> >
> > For all lists, messages make it to the archives, but get stuck in
> > qfiles/out. If I run 'qrunner -r out -v' I get this:
> >
> > Traceback (most recent call last):
> >  File "/home/mailman/bin/qrunner", line 270, in ?  main()
> >  File "/home/mailman/bin/qrunner", line 230, in main qrunner.run()
> >  File "/home/mailman/Mailman/Queue/Runner.py", line 59, in run
> >    filecnt = self._oneloop()
> >  File "/home/mailman/Mailman/Queue/Runner.py", line 88, in _oneloop
> >    msg, msgdata = self._switchboard.dequeue(filebase)
> >  File "/home/mailman/Mailman/Queue/Switchboard.py", line 151, in dequeue
> >     if data.has_key('rejection-notice'):
> > AttributeError: 'NoneType' object has no attribute 'has_key'
> >
> > I can move files in and out of qfiles/out and run the queue manually,
> > and some of them get run and some don't. I can't find any references to
> > the above error. Any suggestions?
> >
> > Thank you,
> > > >
> > > > Daniel
> > > >
> >
> >




More information about the Mailman-Users mailing list