FAQ
Hi!

I get the following on mailman-2.1.5 on Debian-Sarge:
Traceback (most recent call last):
File "/usr/lib/mailman/cron/disabled", line 222, in ?
main()
File "/usr/lib/mailman/cron/disabled", line 205, in main
mlist.sendNextNotification(member)
File "/var/lib/mailman/Mailman/Bouncer.py", line 261, in sendNextNotification
msg['Subject'] = 'confirm ' + info.cookie
TypeError: cannot concatenate 'str' and 'NoneType' objects
I found http://mail.python.org/pipermail/mailman-developers/2005-July/018161.html
and did what is described there and it doesn't help anything.
Any other idea?

Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services

Search Discussions

  • Mark Sapiro at Oct 23, 2005 at 8:16 pm

    Bernd Petrovitsch wrote:
    I found http://mail.python.org/pipermail/mailman-developers/2005-July/018161.html
    and did what is described there and it doesn't help anything.
    Any other idea?
    Are you sure you didn't make a mistake or overlook something? Are you
    sure you did the offending list?

    If you forgot to do

    m.Save()

    in withlist, your change wouldn't be saved. If you misspelled
    bounce_info, e.g.

    m.bounce-info = {}

    Python wouldn't complain. It would just create a new attribute with the
    misspelled name.

    Try

    bin/dumpdb lists/listname/config.pck and see what you get for
    bounce_info.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Bernd Petrovitsch at Oct 23, 2005 at 8:42 pm

    On Sun, 2005-10-23 at 13:16 -0700, Mark Sapiro wrote:
    Bernd Petrovitsch wrote:
    I found http://mail.python.org/pipermail/mailman-developers/2005-July/018161.html
    and did what is described there and it doesn't help anything.
    Any other idea?
    Are you sure you didn't make a mistake or overlook something? Are you
    sure you did the offending list?
    Actually I?m fairly sure that I didn't but i'm completely new to python
    as programming language....
    If you forgot to do [...]
    bin/dumpdb lists/listname/config.pck and see what you get for
    bounce_info.
    Hmm, doing it one more time seems to work. So I must have done something
    wrong before.

    Sorry for bothering....
    Bernd
    --
    Firmix Software GmbH http://www.firmix.at/
    mobil: +43 664 4416156 fax: +43 1 7890849-55
    Embedded Linux Development and Services
  • Mark Sapiro at Oct 23, 2005 at 8:58 pm

    Mark Sapiro wrote:
    If you misspelled
    bounce_info, e.g.

    m.bounce-info = {}

    Python wouldn't complain. It would just create a new attribute with the
    misspelled name.

    Ooops - momentary brain cramp. Python would complain about that
    particular misspelling because '-' is an operator.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedOct 23, '05 at 6:50p
activeOct 23, '05 at 8:58p
posts4
users2
websitelist.org

2 users in discussion

Bernd Petrovitsch: 2 posts Mark Sapiro: 2 posts

People

Translate

site design / logo © 2022 Grokbase