Mailman-coders
Threads by month
- ----- 2025 -----
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
March 2008
- 1 participants
- 39 discussions

[ mailman-Patches-1910552 ] admindb: new label for 'preserve for admin'
by SourceForge.net March 9, 2008
by SourceForge.net March 9, 2008
March 9, 2008
Patches item #1910552, was opened at 2008-03-09 18:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1910552&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Web UI
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
…
[View More]Private: No
Submitted By: Martin Schuette (slyh)
Assigned to: Nobody/Anonymous (nobody)
Summary: admindb: new label for 'preserve for admin'
Initial Comment:
In my experience nobody really knows what the 'Preserve messages for the site administrator' checkbox does and why it is there. -- But after I changed the text to 'train spamfilter' people really started using it and it became useful.
Thus I suggest to find a new label for this checkbox and clearly indicate a spam-related action (so the user knows a marked mail will be used to train a spamfilter).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1910552&group_…
[View Less]
1
0

March 9, 2008
Patches item #1910551, was opened at 2008-03-09 18:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1910551&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Web UI
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
…
[View More]Private: No
Submitted By: Martin Schuette (slyh)
Assigned to: Nobody/Anonymous (nobody)
Summary: admindb: remove 'Reject' option
Initial Comment:
I found that most users (=list moderators) do not know how e-mail rejects work and all too often 'reject' spam mails.
In the best case this creates unnecessary bounces, usually it leads to more spam, and in the worst case it hits a spamtrap adress and gets the listserver blacklisted.
Thus I think it is enough to have the 'Reject' option on the msgid page for single mails. It should not be offered on the hold queue page for all mails.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1910551&group_…
[View Less]
1
0

March 8, 2008
Bugs item #1861600, was opened at 2008-01-01 13:01
Message generated for change (Comment added) made by jidanni
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1861600&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Web/CGI
Group: 2.1 beta
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: …
[View More]jidanni (jidanni)
Assigned to: Nobody/Anonymous (nobody)
Summary: whole HTML templates approach wrong
Initial Comment:
Gentlemen, observe the deformed child among
$ grep -ihc button mailman-2.1.10b1/templates/*/options.html|xargs
26 26 26 26 26 28 26 25 26 22 26 26 26 26 28 26 26 25 26 27 26 26 26
26 26 27 26 26 26 26 26 26 26 26 14
Yes at the very end, 14.
Might as well just
$ iconv -t gb2312 templates/zh_CN/options.html|iconv -f gb2312 -t big5|
iconv -f big5 > templates/zh_TW/options.html
It's better than a form without a submit button.
Who knows how many other parts of mailman lack an eye here, a leg
there...
----------------------------------------------------------------------
>Comment By: jidanni (jidanni)
Date: 2008-03-09 12:10
Message:
Logged In: YES
user_id=1971011
Originator: YES
See e.g., http://en.wikipedia.org/wiki/Tableless_web_design .
----------------------------------------------------------------------
Comment By: jidanni (jidanni)
Date: 2008-01-17 11:13
Message:
Logged In: YES
user_id=1971011
Originator: YES
I find putting & # 12345 ; style entities into the boxes on
admin.cgi/.../general may be a workaround for getting past the charset
stuff. Haven't tested ZH_tw blobs in EN email, or seen what will become of
zh_TW archives when switching the _monolithic_ site language to EN.
----------------------------------------------------------------------
Comment By: jidanni (jidanni)
Date: 2008-01-17 09:57
Message:
Logged In: YES
user_id=1971011
Originator: YES
So I thought maybe for my zh_TW site, I shall change the site language
to English, to avoid running all the 93 files with all kinds of
missing code in them, here on Dreamhost's installation where even me,
site administrator, has only the web interface. (I downloaded the
source and am looking at it on my home machine, not Dreamhost's.)
I thought just maybe I could at least put some Chinese in some of the
four pages that we are allowed to edit via the web interface.
But then I see the HTTP header already has the ascii character set
defined, an as you know that overrides anything I can put in the body.
Yes, I could have the zh_TW versions shown to users by default, and
even edit them first to my hearts content, but that means I must
change the site language to zh_TW, consigning myself to running the 93
defective parts.
----------------------------------------------------------------------
Comment By: jidanni (jidanni)
Date: 2008-01-17 09:17
Message:
Logged In: YES
user_id=1971011
Originator: YES
Gentlemen, I have figured out how to use the poorly documented
transcheck command, and the winner is....
$ for i in $(cd messages;ls); do echo -n $i:\ ; bin/transcheck -q $i;done
ar: 15 warnings in 2 files
ca: 51 warnings in 4 files
cs: 2 warnings in 1 files
da: 17 warnings in 2 files
de: 38 warnings in 10 files
es: 40 warnings in 6 files
ja: 0 warnings in 0 files
...
sv: 50 warnings in 2 files
tr: 21 warnings in 2 files
uk: 17 warnings in 2 files
vi: 9 warnings in 3 files
zh_CN: 31 warnings in 4 files
zh_TW: 93 warnings in 10 files
That's right, zh_TW, another gold medal.
Actually it appears your whole approach is wrong.
With entire .html and .txt files to be translated, there will always
be missing buttons, etc. If instead using just strings in .po files,
if a message isn't translated, at least the English will be shown to
the user.
Anyway how terrible to have unlucky languages with missing buttons.
Let's see how MediaWiki does this. There is just one template, and the
stings are translated only.
Doesn't that make more sense? You program's functionality shouldn't
vary by language, but just the strings that describe the
functionality.
If one wants to customize, then one should customize the template,
affecting all languages.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1861600&group_…
[View Less]
1
0

[ mailman-Bugs-1908112 ] Uncaught runner exception: iteration over non-sequence
by SourceForge.net March 7, 2008
by SourceForge.net March 7, 2008
March 7, 2008
Bugs item #1908112, was opened at 2008-03-05 17:02
Message generated for change (Comment added) made by shagedorn
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.1 (stable)
>Status: Closed
Resolution: None
Priority: 5
Private: No
…
[View More]Submitted By: Sebastian Hagedorn (shagedorn)
Assigned to: Mark Sapiro (msapiro)
Summary: Uncaught runner exception: iteration over non-sequence
Initial Comment:
I don't normally check /var/log/mailman/error as long as everything seems to be working, but today I noticed loads of errors like this one:
Mar 04 07:50:44 2008 (4711) SHUNTING: 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 04 07:50:44 2008 (4711) Uncaught runner exception: iteration over non-sequence
Mar 04 07:50:44 2008 (4711) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Handlers/SpamDetect.py", line 111, in process
g.flatten(p)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 293, in _handle_message
g.flatten(msg.get_payload(0), unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 273, in _handle_message_delivery_status
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 270, in _handle_message_delivery_status
for part in msg.get_payload():
TypeError: iteration over non-sequence
I can provide more samples if necessary. I have searched the tracker for other reports like this, but haven't seen any ...
----------------------------------------------------------------------
>Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-07 11:19
Message:
Logged In: YES
user_id=309132
Originator: YES
Thanks again for your help. It's appreciated. I have removed the cron job.
Then I took care of the backlog of shunted messages. Initially there were
326 shunted messages. I wrote a script that deleted all that show_qfiles
returned an error for. That brought it down to 243.
I looked at all of those. All of them were from December 2006. I have no
idea what was going on back then, but it doesn't really matter now.
So now we're starting with a clean slate.
As for mmdsr, we've been running that for a few weeks, but up to now there
were just too many errors due to the backlog. I'm hoping that going forward
we will take care of all errors as they happen. I will post follow-up
questions to mailman-users ...
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-06 19:09
Message:
Logged In: YES
user_id=1123998
Originator: NO
Thanks for the followup information. I have attached a small script which
will work to obtain information from a shunted queue entry when
bin/show_qfiles and bin/dumpdb throw exceptions. This script is not very
robust and has only been tested on the single queue entry attached to this
report, but it shold report at least some information from the queue entry.
The script should be put in Mailman's bin directory and then run via
bin/dump_qfile path/to/shunted/.....pck
And yes, running unshunt in a daily cron is a very bad idea. At best, this
will just fill up your error log with errors relating to the unshunting. I
suggest that instead of doing this, you first remove from the shunt queue,
any messages that can't be dumped by bin/show_qfiles or bin/dumpdb, as
these can never be successfully unshunted anyway. Then you look at the rest
of the messages and remove any that aren't current. Then if there are any
left, you can try to unshunt those once, and if the unshunting fails (i.e.
if they just get shunted again), proceed as if they are new as I describe
below.
What you should run as a daily cron, is a script to look at your logs and
queues and mail you a report. An excellent script is at
<http://sourceforge.net/tracker/index.php?func=detail&aid=1123383&group_id=1…>.
If you don't want as much information as this produces, as a minimum you
could just 'ls -l /path/to/qfiles/*'. This in itself will tell you if there
are shunted messages and if any queues are backing up because their runner
has died.
Then if you find one or more shunted messages, you have to look at the
error log and the message to figure out the problem. It could be something
bad about the message itself, a Mailman bug, some list issue, some
transient problem, or some system configuration issue. It is generally not
helpful to try to unshunt the message without first addressing the cause.
If you can't figure out the cause, you can post to mailman-users(a)python.org
<http://mail.python.org/mailman/listinfo/mailman-users> for help.
File Added: dump_qfile
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-06 09:31
Message:
Logged In: YES
user_id=309132
Originator: YES
Hi,
thanks for looking into this. To address your questions:
- we are running 2.1.9
- we have a cronjob in cron.daily that does an "unshunt"
- the file I mentioned originally doesn't exist anymore (because it has
been unshunted?)
- the file I attached had this error message:
Mar 05 07:56:19 2008 (4711) SHUNTING:
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd
Mar 05 07:56:19 2008 (4711) Uncaught runner exception: iteration over
non-sequence
Mar 05 07:56:19 2008 (4711) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
...
So the error is different from what I see with show_qfiles.
- We have not modified the charset of German to UTF-8
Now my question is whether the "unshunt" cron job is evil? I confess I
never properly understood how it works. It seemed to get messages delivered
that were shunted originally, so at some point I set up that cronjob ...
I suppose I should just remove all files that are too old. But: how do I
see the contents when show_qfiles does not work? Are there other tools?
Thanks for all your help!
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-06 06:55
Message:
Logged In: YES
user_id=1123998
Originator: NO
I have looked further at the shunt queue entry
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck. Here's what
I see.
This message was a password reminder, originally generated by mailman on
May 1, 2006. It was addressed to a user whose preferred language appears to
be Korean as it is 'Content-Type: text/plain, charset="euc-kr"' with
'Subject: =?euc-kr?q?uni-koeln=2Ede_mailing_list_memberships_reminder?='.
Apparently there was some error at that time which caused the message to
be shunted. I am a bit confused about what happened next because the time
stamp on the queue entry and the received_time in the message's metadata
are 1167220351.925714 which is 11:52:31 Dec 27, 2006 +0000.
However, the message metadata says the message was originally in the 'in'
queue, so I think it must have been unshunted to the 'in' queue where it
couldn't be properly processed, causing it to be shunted again in December,
2006.
The question now is what is causing these messages to be reprocessed at
this point, and why would a message that threw an exception in trying to
flatten the message in SpamDetect be shunted with a 14+ month old time
stamp?
In any case, I think the current error with this particular message is due
to it's being unshunted to the wrong queue.
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 17:58
Message:
Logged In: YES
user_id=1123998
Originator: NO
The file you attached appears to be a password reminder with a lot of
garbled unicode. Have you changed the characterset for the german language
to utf-8? There is some issue with the templates/de/cronpass.txt template
or a list specific version of it.
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 17:47
Message:
Logged In: YES
user_id=1123998
Originator: NO
The queue entry you attached is not the one from the reported traceback
and it seems to have a different problem. When I attempt to look at it with
bin/dumpdb or bin/show_qfiles, I get UnicodeEncodeError: 'ascii' codec
can't encode character u'\uc774' in position 0: ordinal not in range(128)
in a different part of Generator.py.
I see that you see the same.
What is your Mailman version?
Also, if I look at the contents of the queue entry, it appears to be a
password reminder which is strange.
I don't have time to look at this further right now, but if you can, can
you find the 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck
and attach that.
Also, is the error in Mailman's error log for the
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck file the
same UnicodeEncodeError that you get from show_qfiles and dumpdb, or is it
the TypeError as in the original report?
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 17:22
Message:
Logged In: YES
user_id=309132
Originator: YES
OK, I have attached the file. Its name is different, but I guess it's the
same(?):
# grep 1167220351.925714 /var/log/mailman/error
Mar 02 07:37:24 2008 (4711) SHUNTING:
1167220351.925714+55bb5ab698f528a8061d4ef867a634abbed6769e
Mar 03 07:36:03 2008 (4711) SHUNTING:
1167220351.925714+d29bf7b17b742fca8b0b71c09c1e52ebcf08620e
Mar 04 07:50:44 2008 (4711) SHUNTING:
1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 05 07:56:19 2008 (4711) SHUNTING:
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd
Neither show_qfiles nor dbdump works:
/usr/lib/mailman/bin/show_qfiles
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
====================>
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
Traceback (most recent call last):
File "/usr/lib/mailman/bin/show_qfiles", line 95, in ?
main()
File "/usr/lib/mailman/bin/show_qfiles", line 88, in main
sys.stdout.write(msg.as_string())
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[root@lvr13 Mailman]# /usr/lib/mailman/bin/dumpdb
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
File "/usr/lib/mailman/bin/dumpdb", line 159, in ?
msg = main()
File "/usr/lib/mailman/bin/dumpdb", line 149, in main
pp.pprint(obj)
File "/usr/lib/python2.2/pprint.py", line 110, in pprint
self.__stream.write(self.pformat(object) + "\n")
File "/usr/lib/python2.2/pprint.py", line 114, in pformat
self.__format(object, sio, 0, 0, {}, 0)
File "/usr/lib/python2.2/pprint.py", line 136, in __format
rep = self.__repr(object, context, level - 1)
File "/usr/lib/python2.2/pprint.py", line 200, in __repr
self.__depth, level)
File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
rep = `object`
File "/usr/lib/mailman/Mailman/Message.py", line 51, in __repr__
return self.__str__()
File "/usr/lib/mailman/pythonlib/email/Message.py", line 121, in
__str__
return self.as_string(unixfrom=True)
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 17:19
Message:
Logged In: YES
user_id=309132
Originator: YES
File Added: 1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 17:14
Message:
Logged In: YES
user_id=1123998
Originator: NO
There is a problem with the message. Try running bin/show_qfiles or if
that doesn't work, bin/dumpdb on one or more of the shunted files (e.g.
qfiles/shunt/1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck).
In any case, can you send me this file or attach it to this report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
[View Less]
1
0

[ mailman-Bugs-1908112 ] Uncaught runner exception: iteration over non-sequence
by SourceForge.net March 6, 2008
by SourceForge.net March 6, 2008
March 6, 2008
Bugs item #1908112, was opened at 2008-03-05 08:02
Message generated for change (Comment added) made by msapiro
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: …
[View More]Sebastian Hagedorn (shagedorn)
Assigned to: Mark Sapiro (msapiro)
Summary: Uncaught runner exception: iteration over non-sequence
Initial Comment:
I don't normally check /var/log/mailman/error as long as everything seems to be working, but today I noticed loads of errors like this one:
Mar 04 07:50:44 2008 (4711) SHUNTING: 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 04 07:50:44 2008 (4711) Uncaught runner exception: iteration over non-sequence
Mar 04 07:50:44 2008 (4711) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Handlers/SpamDetect.py", line 111, in process
g.flatten(p)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 293, in _handle_message
g.flatten(msg.get_payload(0), unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 273, in _handle_message_delivery_status
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 270, in _handle_message_delivery_status
for part in msg.get_payload():
TypeError: iteration over non-sequence
I can provide more samples if necessary. I have searched the tracker for other reports like this, but haven't seen any ...
----------------------------------------------------------------------
>Comment By: Mark Sapiro (msapiro)
Date: 2008-03-06 10:09
Message:
Logged In: YES
user_id=1123998
Originator: NO
Thanks for the followup information. I have attached a small script which
will work to obtain information from a shunted queue entry when
bin/show_qfiles and bin/dumpdb throw exceptions. This script is not very
robust and has only been tested on the single queue entry attached to this
report, but it shold report at least some information from the queue entry.
The script should be put in Mailman's bin directory and then run via
bin/dump_qfile path/to/shunted/.....pck
And yes, running unshunt in a daily cron is a very bad idea. At best, this
will just fill up your error log with errors relating to the unshunting. I
suggest that instead of doing this, you first remove from the shunt queue,
any messages that can't be dumped by bin/show_qfiles or bin/dumpdb, as
these can never be successfully unshunted anyway. Then you look at the rest
of the messages and remove any that aren't current. Then if there are any
left, you can try to unshunt those once, and if the unshunting fails (i.e.
if they just get shunted again), proceed as if they are new as I describe
below.
What you should run as a daily cron, is a script to look at your logs and
queues and mail you a report. An excellent script is at
<http://sourceforge.net/tracker/index.php?func=detail&aid=1123383&group_id=1…>.
If you don't want as much information as this produces, as a minimum you
could just 'ls -l /path/to/qfiles/*'. This in itself will tell you if there
are shunted messages and if any queues are backing up because their runner
has died.
Then if you find one or more shunted messages, you have to look at the
error log and the message to figure out the problem. It could be something
bad about the message itself, a Mailman bug, some list issue, some
transient problem, or some system configuration issue. It is generally not
helpful to try to unshunt the message without first addressing the cause.
If you can't figure out the cause, you can post to mailman-users(a)python.org
<http://mail.python.org/mailman/listinfo/mailman-users> for help.
File Added: dump_qfile
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-06 00:31
Message:
Logged In: YES
user_id=309132
Originator: YES
Hi,
thanks for looking into this. To address your questions:
- we are running 2.1.9
- we have a cronjob in cron.daily that does an "unshunt"
- the file I mentioned originally doesn't exist anymore (because it has
been unshunted?)
- the file I attached had this error message:
Mar 05 07:56:19 2008 (4711) SHUNTING:
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd
Mar 05 07:56:19 2008 (4711) Uncaught runner exception: iteration over
non-sequence
Mar 05 07:56:19 2008 (4711) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
...
So the error is different from what I see with show_qfiles.
- We have not modified the charset of German to UTF-8
Now my question is whether the "unshunt" cron job is evil? I confess I
never properly understood how it works. It seemed to get messages delivered
that were shunted originally, so at some point I set up that cronjob ...
I suppose I should just remove all files that are too old. But: how do I
see the contents when show_qfiles does not work? Are there other tools?
Thanks for all your help!
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 21:55
Message:
Logged In: YES
user_id=1123998
Originator: NO
I have looked further at the shunt queue entry
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck. Here's what
I see.
This message was a password reminder, originally generated by mailman on
May 1, 2006. It was addressed to a user whose preferred language appears to
be Korean as it is 'Content-Type: text/plain, charset="euc-kr"' with
'Subject: =?euc-kr?q?uni-koeln=2Ede_mailing_list_memberships_reminder?='.
Apparently there was some error at that time which caused the message to
be shunted. I am a bit confused about what happened next because the time
stamp on the queue entry and the received_time in the message's metadata
are 1167220351.925714 which is 11:52:31 Dec 27, 2006 +0000.
However, the message metadata says the message was originally in the 'in'
queue, so I think it must have been unshunted to the 'in' queue where it
couldn't be properly processed, causing it to be shunted again in December,
2006.
The question now is what is causing these messages to be reprocessed at
this point, and why would a message that threw an exception in trying to
flatten the message in SpamDetect be shunted with a 14+ month old time
stamp?
In any case, I think the current error with this particular message is due
to it's being unshunted to the wrong queue.
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:58
Message:
Logged In: YES
user_id=1123998
Originator: NO
The file you attached appears to be a password reminder with a lot of
garbled unicode. Have you changed the characterset for the german language
to utf-8? There is some issue with the templates/de/cronpass.txt template
or a list specific version of it.
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:47
Message:
Logged In: YES
user_id=1123998
Originator: NO
The queue entry you attached is not the one from the reported traceback
and it seems to have a different problem. When I attempt to look at it with
bin/dumpdb or bin/show_qfiles, I get UnicodeEncodeError: 'ascii' codec
can't encode character u'\uc774' in position 0: ordinal not in range(128)
in a different part of Generator.py.
I see that you see the same.
What is your Mailman version?
Also, if I look at the contents of the queue entry, it appears to be a
password reminder which is strange.
I don't have time to look at this further right now, but if you can, can
you find the 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck
and attach that.
Also, is the error in Mailman's error log for the
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck file the
same UnicodeEncodeError that you get from show_qfiles and dumpdb, or is it
the TypeError as in the original report?
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 08:22
Message:
Logged In: YES
user_id=309132
Originator: YES
OK, I have attached the file. Its name is different, but I guess it's the
same(?):
# grep 1167220351.925714 /var/log/mailman/error
Mar 02 07:37:24 2008 (4711) SHUNTING:
1167220351.925714+55bb5ab698f528a8061d4ef867a634abbed6769e
Mar 03 07:36:03 2008 (4711) SHUNTING:
1167220351.925714+d29bf7b17b742fca8b0b71c09c1e52ebcf08620e
Mar 04 07:50:44 2008 (4711) SHUNTING:
1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 05 07:56:19 2008 (4711) SHUNTING:
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd
Neither show_qfiles nor dbdump works:
/usr/lib/mailman/bin/show_qfiles
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
====================>
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
Traceback (most recent call last):
File "/usr/lib/mailman/bin/show_qfiles", line 95, in ?
main()
File "/usr/lib/mailman/bin/show_qfiles", line 88, in main
sys.stdout.write(msg.as_string())
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[root@lvr13 Mailman]# /usr/lib/mailman/bin/dumpdb
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
File "/usr/lib/mailman/bin/dumpdb", line 159, in ?
msg = main()
File "/usr/lib/mailman/bin/dumpdb", line 149, in main
pp.pprint(obj)
File "/usr/lib/python2.2/pprint.py", line 110, in pprint
self.__stream.write(self.pformat(object) + "\n")
File "/usr/lib/python2.2/pprint.py", line 114, in pformat
self.__format(object, sio, 0, 0, {}, 0)
File "/usr/lib/python2.2/pprint.py", line 136, in __format
rep = self.__repr(object, context, level - 1)
File "/usr/lib/python2.2/pprint.py", line 200, in __repr
self.__depth, level)
File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
rep = `object`
File "/usr/lib/mailman/Mailman/Message.py", line 51, in __repr__
return self.__str__()
File "/usr/lib/mailman/pythonlib/email/Message.py", line 121, in
__str__
return self.as_string(unixfrom=True)
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 08:19
Message:
Logged In: YES
user_id=309132
Originator: YES
File Added: 1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:14
Message:
Logged In: YES
user_id=1123998
Originator: NO
There is a problem with the message. Try running bin/show_qfiles or if
that doesn't work, bin/dumpdb on one or more of the shunted files (e.g.
qfiles/shunt/1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck).
In any case, can you send me this file or attach it to this report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
[View Less]
1
0

[ mailman-Bugs-1908112 ] Uncaught runner exception: iteration over non-sequence
by SourceForge.net March 6, 2008
by SourceForge.net March 6, 2008
March 6, 2008
Bugs item #1908112, was opened at 2008-03-05 17:02
Message generated for change (Comment added) made by shagedorn
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By:…
[View More] Sebastian Hagedorn (shagedorn)
Assigned to: Mark Sapiro (msapiro)
Summary: Uncaught runner exception: iteration over non-sequence
Initial Comment:
I don't normally check /var/log/mailman/error as long as everything seems to be working, but today I noticed loads of errors like this one:
Mar 04 07:50:44 2008 (4711) SHUNTING: 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 04 07:50:44 2008 (4711) Uncaught runner exception: iteration over non-sequence
Mar 04 07:50:44 2008 (4711) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Handlers/SpamDetect.py", line 111, in process
g.flatten(p)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 293, in _handle_message
g.flatten(msg.get_payload(0), unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 273, in _handle_message_delivery_status
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 270, in _handle_message_delivery_status
for part in msg.get_payload():
TypeError: iteration over non-sequence
I can provide more samples if necessary. I have searched the tracker for other reports like this, but haven't seen any ...
----------------------------------------------------------------------
>Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-06 09:31
Message:
Logged In: YES
user_id=309132
Originator: YES
Hi,
thanks for looking into this. To address your questions:
- we are running 2.1.9
- we have a cronjob in cron.daily that does an "unshunt"
- the file I mentioned originally doesn't exist anymore (because it has
been unshunted?)
- the file I attached had this error message:
Mar 05 07:56:19 2008 (4711) SHUNTING:
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd
Mar 05 07:56:19 2008 (4711) Uncaught runner exception: iteration over
non-sequence
Mar 05 07:56:19 2008 (4711) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
...
So the error is different from what I see with show_qfiles.
- We have not modified the charset of German to UTF-8
Now my question is whether the "unshunt" cron job is evil? I confess I
never properly understood how it works. It seemed to get messages delivered
that were shunted originally, so at some point I set up that cronjob ...
I suppose I should just remove all files that are too old. But: how do I
see the contents when show_qfiles does not work? Are there other tools?
Thanks for all your help!
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-06 06:55
Message:
Logged In: YES
user_id=1123998
Originator: NO
I have looked further at the shunt queue entry
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck. Here's what
I see.
This message was a password reminder, originally generated by mailman on
May 1, 2006. It was addressed to a user whose preferred language appears to
be Korean as it is 'Content-Type: text/plain, charset="euc-kr"' with
'Subject: =?euc-kr?q?uni-koeln=2Ede_mailing_list_memberships_reminder?='.
Apparently there was some error at that time which caused the message to
be shunted. I am a bit confused about what happened next because the time
stamp on the queue entry and the received_time in the message's metadata
are 1167220351.925714 which is 11:52:31 Dec 27, 2006 +0000.
However, the message metadata says the message was originally in the 'in'
queue, so I think it must have been unshunted to the 'in' queue where it
couldn't be properly processed, causing it to be shunted again in December,
2006.
The question now is what is causing these messages to be reprocessed at
this point, and why would a message that threw an exception in trying to
flatten the message in SpamDetect be shunted with a 14+ month old time
stamp?
In any case, I think the current error with this particular message is due
to it's being unshunted to the wrong queue.
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 17:58
Message:
Logged In: YES
user_id=1123998
Originator: NO
The file you attached appears to be a password reminder with a lot of
garbled unicode. Have you changed the characterset for the german language
to utf-8? There is some issue with the templates/de/cronpass.txt template
or a list specific version of it.
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 17:47
Message:
Logged In: YES
user_id=1123998
Originator: NO
The queue entry you attached is not the one from the reported traceback
and it seems to have a different problem. When I attempt to look at it with
bin/dumpdb or bin/show_qfiles, I get UnicodeEncodeError: 'ascii' codec
can't encode character u'\uc774' in position 0: ordinal not in range(128)
in a different part of Generator.py.
I see that you see the same.
What is your Mailman version?
Also, if I look at the contents of the queue entry, it appears to be a
password reminder which is strange.
I don't have time to look at this further right now, but if you can, can
you find the 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck
and attach that.
Also, is the error in Mailman's error log for the
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck file the
same UnicodeEncodeError that you get from show_qfiles and dumpdb, or is it
the TypeError as in the original report?
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 17:22
Message:
Logged In: YES
user_id=309132
Originator: YES
OK, I have attached the file. Its name is different, but I guess it's the
same(?):
# grep 1167220351.925714 /var/log/mailman/error
Mar 02 07:37:24 2008 (4711) SHUNTING:
1167220351.925714+55bb5ab698f528a8061d4ef867a634abbed6769e
Mar 03 07:36:03 2008 (4711) SHUNTING:
1167220351.925714+d29bf7b17b742fca8b0b71c09c1e52ebcf08620e
Mar 04 07:50:44 2008 (4711) SHUNTING:
1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 05 07:56:19 2008 (4711) SHUNTING:
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd
Neither show_qfiles nor dbdump works:
/usr/lib/mailman/bin/show_qfiles
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
====================>
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
Traceback (most recent call last):
File "/usr/lib/mailman/bin/show_qfiles", line 95, in ?
main()
File "/usr/lib/mailman/bin/show_qfiles", line 88, in main
sys.stdout.write(msg.as_string())
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[root@lvr13 Mailman]# /usr/lib/mailman/bin/dumpdb
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
File "/usr/lib/mailman/bin/dumpdb", line 159, in ?
msg = main()
File "/usr/lib/mailman/bin/dumpdb", line 149, in main
pp.pprint(obj)
File "/usr/lib/python2.2/pprint.py", line 110, in pprint
self.__stream.write(self.pformat(object) + "\n")
File "/usr/lib/python2.2/pprint.py", line 114, in pformat
self.__format(object, sio, 0, 0, {}, 0)
File "/usr/lib/python2.2/pprint.py", line 136, in __format
rep = self.__repr(object, context, level - 1)
File "/usr/lib/python2.2/pprint.py", line 200, in __repr
self.__depth, level)
File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
rep = `object`
File "/usr/lib/mailman/Mailman/Message.py", line 51, in __repr__
return self.__str__()
File "/usr/lib/mailman/pythonlib/email/Message.py", line 121, in
__str__
return self.as_string(unixfrom=True)
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 17:19
Message:
Logged In: YES
user_id=309132
Originator: YES
File Added: 1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 17:14
Message:
Logged In: YES
user_id=1123998
Originator: NO
There is a problem with the message. Try running bin/show_qfiles or if
that doesn't work, bin/dumpdb on one or more of the shunted files (e.g.
qfiles/shunt/1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck).
In any case, can you send me this file or attach it to this report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
[View Less]
1
0

[ mailman-Bugs-1908112 ] Uncaught runner exception: iteration over non-sequence
by SourceForge.net March 6, 2008
by SourceForge.net March 6, 2008
March 6, 2008
Bugs item #1908112, was opened at 2008-03-05 08:02
Message generated for change (Comment added) made by msapiro
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: …
[View More]Sebastian Hagedorn (shagedorn)
Assigned to: Mark Sapiro (msapiro)
Summary: Uncaught runner exception: iteration over non-sequence
Initial Comment:
I don't normally check /var/log/mailman/error as long as everything seems to be working, but today I noticed loads of errors like this one:
Mar 04 07:50:44 2008 (4711) SHUNTING: 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 04 07:50:44 2008 (4711) Uncaught runner exception: iteration over non-sequence
Mar 04 07:50:44 2008 (4711) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Handlers/SpamDetect.py", line 111, in process
g.flatten(p)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 293, in _handle_message
g.flatten(msg.get_payload(0), unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 273, in _handle_message_delivery_status
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 270, in _handle_message_delivery_status
for part in msg.get_payload():
TypeError: iteration over non-sequence
I can provide more samples if necessary. I have searched the tracker for other reports like this, but haven't seen any ...
----------------------------------------------------------------------
>Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 21:55
Message:
Logged In: YES
user_id=1123998
Originator: NO
I have looked further at the shunt queue entry
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck. Here's what
I see.
This message was a password reminder, originally generated by mailman on
May 1, 2006. It was addressed to a user whose preferred language appears to
be Korean as it is 'Content-Type: text/plain, charset="euc-kr"' with
'Subject: =?euc-kr?q?uni-koeln=2Ede_mailing_list_memberships_reminder?='.
Apparently there was some error at that time which caused the message to
be shunted. I am a bit confused about what happened next because the time
stamp on the queue entry and the received_time in the message's metadata
are 1167220351.925714 which is 11:52:31 Dec 27, 2006 +0000.
However, the message metadata says the message was originally in the 'in'
queue, so I think it must have been unshunted to the 'in' queue where it
couldn't be properly processed, causing it to be shunted again in December,
2006.
The question now is what is causing these messages to be reprocessed at
this point, and why would a message that threw an exception in trying to
flatten the message in SpamDetect be shunted with a 14+ month old time
stamp?
In any case, I think the current error with this particular message is due
to it's being unshunted to the wrong queue.
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:58
Message:
Logged In: YES
user_id=1123998
Originator: NO
The file you attached appears to be a password reminder with a lot of
garbled unicode. Have you changed the characterset for the german language
to utf-8? There is some issue with the templates/de/cronpass.txt template
or a list specific version of it.
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:47
Message:
Logged In: YES
user_id=1123998
Originator: NO
The queue entry you attached is not the one from the reported traceback
and it seems to have a different problem. When I attempt to look at it with
bin/dumpdb or bin/show_qfiles, I get UnicodeEncodeError: 'ascii' codec
can't encode character u'\uc774' in position 0: ordinal not in range(128)
in a different part of Generator.py.
I see that you see the same.
What is your Mailman version?
Also, if I look at the contents of the queue entry, it appears to be a
password reminder which is strange.
I don't have time to look at this further right now, but if you can, can
you find the 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck
and attach that.
Also, is the error in Mailman's error log for the
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck file the
same UnicodeEncodeError that you get from show_qfiles and dumpdb, or is it
the TypeError as in the original report?
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 08:22
Message:
Logged In: YES
user_id=309132
Originator: YES
OK, I have attached the file. Its name is different, but I guess it's the
same(?):
# grep 1167220351.925714 /var/log/mailman/error
Mar 02 07:37:24 2008 (4711) SHUNTING:
1167220351.925714+55bb5ab698f528a8061d4ef867a634abbed6769e
Mar 03 07:36:03 2008 (4711) SHUNTING:
1167220351.925714+d29bf7b17b742fca8b0b71c09c1e52ebcf08620e
Mar 04 07:50:44 2008 (4711) SHUNTING:
1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 05 07:56:19 2008 (4711) SHUNTING:
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd
Neither show_qfiles nor dbdump works:
/usr/lib/mailman/bin/show_qfiles
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
====================>
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
Traceback (most recent call last):
File "/usr/lib/mailman/bin/show_qfiles", line 95, in ?
main()
File "/usr/lib/mailman/bin/show_qfiles", line 88, in main
sys.stdout.write(msg.as_string())
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[root@lvr13 Mailman]# /usr/lib/mailman/bin/dumpdb
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
File "/usr/lib/mailman/bin/dumpdb", line 159, in ?
msg = main()
File "/usr/lib/mailman/bin/dumpdb", line 149, in main
pp.pprint(obj)
File "/usr/lib/python2.2/pprint.py", line 110, in pprint
self.__stream.write(self.pformat(object) + "\n")
File "/usr/lib/python2.2/pprint.py", line 114, in pformat
self.__format(object, sio, 0, 0, {}, 0)
File "/usr/lib/python2.2/pprint.py", line 136, in __format
rep = self.__repr(object, context, level - 1)
File "/usr/lib/python2.2/pprint.py", line 200, in __repr
self.__depth, level)
File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
rep = `object`
File "/usr/lib/mailman/Mailman/Message.py", line 51, in __repr__
return self.__str__()
File "/usr/lib/mailman/pythonlib/email/Message.py", line 121, in
__str__
return self.as_string(unixfrom=True)
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 08:19
Message:
Logged In: YES
user_id=309132
Originator: YES
File Added: 1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:14
Message:
Logged In: YES
user_id=1123998
Originator: NO
There is a problem with the message. Try running bin/show_qfiles or if
that doesn't work, bin/dumpdb on one or more of the shunted files (e.g.
qfiles/shunt/1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck).
In any case, can you send me this file or attach it to this report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
[View Less]
1
0

[ mailman-Bugs-1908112 ] Uncaught runner exception: iteration over non-sequence
by SourceForge.net March 5, 2008
by SourceForge.net March 5, 2008
March 5, 2008
Bugs item #1908112, was opened at 2008-03-05 08:02
Message generated for change (Comment added) made by msapiro
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: …
[View More]Sebastian Hagedorn (shagedorn)
Assigned to: Mark Sapiro (msapiro)
Summary: Uncaught runner exception: iteration over non-sequence
Initial Comment:
I don't normally check /var/log/mailman/error as long as everything seems to be working, but today I noticed loads of errors like this one:
Mar 04 07:50:44 2008 (4711) SHUNTING: 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 04 07:50:44 2008 (4711) Uncaught runner exception: iteration over non-sequence
Mar 04 07:50:44 2008 (4711) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Handlers/SpamDetect.py", line 111, in process
g.flatten(p)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 293, in _handle_message
g.flatten(msg.get_payload(0), unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 273, in _handle_message_delivery_status
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 270, in _handle_message_delivery_status
for part in msg.get_payload():
TypeError: iteration over non-sequence
I can provide more samples if necessary. I have searched the tracker for other reports like this, but haven't seen any ...
----------------------------------------------------------------------
>Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:58
Message:
Logged In: YES
user_id=1123998
Originator: NO
The file you attached appears to be a password reminder with a lot of
garbled unicode. Have you changed the characterset for the german language
to utf-8? There is some issue with the templates/de/cronpass.txt template
or a list specific version of it.
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:47
Message:
Logged In: YES
user_id=1123998
Originator: NO
The queue entry you attached is not the one from the reported traceback
and it seems to have a different problem. When I attempt to look at it with
bin/dumpdb or bin/show_qfiles, I get UnicodeEncodeError: 'ascii' codec
can't encode character u'\uc774' in position 0: ordinal not in range(128)
in a different part of Generator.py.
I see that you see the same.
What is your Mailman version?
Also, if I look at the contents of the queue entry, it appears to be a
password reminder which is strange.
I don't have time to look at this further right now, but if you can, can
you find the 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck
and attach that.
Also, is the error in Mailman's error log for the
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck file the
same UnicodeEncodeError that you get from show_qfiles and dumpdb, or is it
the TypeError as in the original report?
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 08:22
Message:
Logged In: YES
user_id=309132
Originator: YES
OK, I have attached the file. Its name is different, but I guess it's the
same(?):
# grep 1167220351.925714 /var/log/mailman/error
Mar 02 07:37:24 2008 (4711) SHUNTING:
1167220351.925714+55bb5ab698f528a8061d4ef867a634abbed6769e
Mar 03 07:36:03 2008 (4711) SHUNTING:
1167220351.925714+d29bf7b17b742fca8b0b71c09c1e52ebcf08620e
Mar 04 07:50:44 2008 (4711) SHUNTING:
1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 05 07:56:19 2008 (4711) SHUNTING:
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd
Neither show_qfiles nor dbdump works:
/usr/lib/mailman/bin/show_qfiles
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
====================>
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
Traceback (most recent call last):
File "/usr/lib/mailman/bin/show_qfiles", line 95, in ?
main()
File "/usr/lib/mailman/bin/show_qfiles", line 88, in main
sys.stdout.write(msg.as_string())
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[root@lvr13 Mailman]# /usr/lib/mailman/bin/dumpdb
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
File "/usr/lib/mailman/bin/dumpdb", line 159, in ?
msg = main()
File "/usr/lib/mailman/bin/dumpdb", line 149, in main
pp.pprint(obj)
File "/usr/lib/python2.2/pprint.py", line 110, in pprint
self.__stream.write(self.pformat(object) + "\n")
File "/usr/lib/python2.2/pprint.py", line 114, in pformat
self.__format(object, sio, 0, 0, {}, 0)
File "/usr/lib/python2.2/pprint.py", line 136, in __format
rep = self.__repr(object, context, level - 1)
File "/usr/lib/python2.2/pprint.py", line 200, in __repr
self.__depth, level)
File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
rep = `object`
File "/usr/lib/mailman/Mailman/Message.py", line 51, in __repr__
return self.__str__()
File "/usr/lib/mailman/pythonlib/email/Message.py", line 121, in
__str__
return self.as_string(unixfrom=True)
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 08:19
Message:
Logged In: YES
user_id=309132
Originator: YES
File Added: 1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:14
Message:
Logged In: YES
user_id=1123998
Originator: NO
There is a problem with the message. Try running bin/show_qfiles or if
that doesn't work, bin/dumpdb on one or more of the shunted files (e.g.
qfiles/shunt/1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck).
In any case, can you send me this file or attach it to this report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
[View Less]
1
0

[ mailman-Bugs-1908112 ] Uncaught runner exception: iteration over non-sequence
by SourceForge.net March 5, 2008
by SourceForge.net March 5, 2008
March 5, 2008
Bugs item #1908112, was opened at 2008-03-05 08:02
Message generated for change (Comment added) made by msapiro
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: …
[View More]Sebastian Hagedorn (shagedorn)
Assigned to: Mark Sapiro (msapiro)
Summary: Uncaught runner exception: iteration over non-sequence
Initial Comment:
I don't normally check /var/log/mailman/error as long as everything seems to be working, but today I noticed loads of errors like this one:
Mar 04 07:50:44 2008 (4711) SHUNTING: 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 04 07:50:44 2008 (4711) Uncaught runner exception: iteration over non-sequence
Mar 04 07:50:44 2008 (4711) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Handlers/SpamDetect.py", line 111, in process
g.flatten(p)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 293, in _handle_message
g.flatten(msg.get_payload(0), unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 273, in _handle_message_delivery_status
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 270, in _handle_message_delivery_status
for part in msg.get_payload():
TypeError: iteration over non-sequence
I can provide more samples if necessary. I have searched the tracker for other reports like this, but haven't seen any ...
----------------------------------------------------------------------
>Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:47
Message:
Logged In: YES
user_id=1123998
Originator: NO
The queue entry you attached is not the one from the reported traceback
and it seems to have a different problem. When I attempt to look at it with
bin/dumpdb or bin/show_qfiles, I get UnicodeEncodeError: 'ascii' codec
can't encode character u'\uc774' in position 0: ordinal not in range(128)
in a different part of Generator.py.
I see that you see the same.
What is your Mailman version?
Also, if I look at the contents of the queue entry, it appears to be a
password reminder which is strange.
I don't have time to look at this further right now, but if you can, can
you find the 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck
and attach that.
Also, is the error in Mailman's error log for the
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck file the
same UnicodeEncodeError that you get from show_qfiles and dumpdb, or is it
the TypeError as in the original report?
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 08:22
Message:
Logged In: YES
user_id=309132
Originator: YES
OK, I have attached the file. Its name is different, but I guess it's the
same(?):
# grep 1167220351.925714 /var/log/mailman/error
Mar 02 07:37:24 2008 (4711) SHUNTING:
1167220351.925714+55bb5ab698f528a8061d4ef867a634abbed6769e
Mar 03 07:36:03 2008 (4711) SHUNTING:
1167220351.925714+d29bf7b17b742fca8b0b71c09c1e52ebcf08620e
Mar 04 07:50:44 2008 (4711) SHUNTING:
1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 05 07:56:19 2008 (4711) SHUNTING:
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd
Neither show_qfiles nor dbdump works:
/usr/lib/mailman/bin/show_qfiles
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
====================>
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
Traceback (most recent call last):
File "/usr/lib/mailman/bin/show_qfiles", line 95, in ?
main()
File "/usr/lib/mailman/bin/show_qfiles", line 88, in main
sys.stdout.write(msg.as_string())
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[root@lvr13 Mailman]# /usr/lib/mailman/bin/dumpdb
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
File "/usr/lib/mailman/bin/dumpdb", line 159, in ?
msg = main()
File "/usr/lib/mailman/bin/dumpdb", line 149, in main
pp.pprint(obj)
File "/usr/lib/python2.2/pprint.py", line 110, in pprint
self.__stream.write(self.pformat(object) + "\n")
File "/usr/lib/python2.2/pprint.py", line 114, in pformat
self.__format(object, sio, 0, 0, {}, 0)
File "/usr/lib/python2.2/pprint.py", line 136, in __format
rep = self.__repr(object, context, level - 1)
File "/usr/lib/python2.2/pprint.py", line 200, in __repr
self.__depth, level)
File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
rep = `object`
File "/usr/lib/mailman/Mailman/Message.py", line 51, in __repr__
return self.__str__()
File "/usr/lib/mailman/pythonlib/email/Message.py", line 121, in
__str__
return self.as_string(unixfrom=True)
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 08:19
Message:
Logged In: YES
user_id=309132
Originator: YES
File Added: 1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 08:14
Message:
Logged In: YES
user_id=1123998
Originator: NO
There is a problem with the message. Try running bin/show_qfiles or if
that doesn't work, bin/dumpdb on one or more of the shunted files (e.g.
qfiles/shunt/1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck).
In any case, can you send me this file or attach it to this report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
[View Less]
1
0

[ mailman-Bugs-1908112 ] Uncaught runner exception: iteration over non-sequence
by SourceForge.net March 5, 2008
by SourceForge.net March 5, 2008
March 5, 2008
Bugs item #1908112, was opened at 2008-03-05 17:02
Message generated for change (Comment added) made by shagedorn
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By:…
[View More] Sebastian Hagedorn (shagedorn)
Assigned to: Mark Sapiro (msapiro)
Summary: Uncaught runner exception: iteration over non-sequence
Initial Comment:
I don't normally check /var/log/mailman/error as long as everything seems to be working, but today I noticed loads of errors like this one:
Mar 04 07:50:44 2008 (4711) SHUNTING: 1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 04 07:50:44 2008 (4711) Uncaught runner exception: iteration over non-sequence
Mar 04 07:50:44 2008 (4711) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Handlers/SpamDetect.py", line 111, in process
g.flatten(p)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 293, in _handle_message
g.flatten(msg.get_payload(0), unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 226, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 273, in _handle_message_delivery_status
g.flatten(part, unixfrom=False)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in _write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in _dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 270, in _handle_message_delivery_status
for part in msg.get_payload():
TypeError: iteration over non-sequence
I can provide more samples if necessary. I have searched the tracker for other reports like this, but haven't seen any ...
----------------------------------------------------------------------
>Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 17:22
Message:
Logged In: YES
user_id=309132
Originator: YES
OK, I have attached the file. Its name is different, but I guess it's the
same(?):
# grep 1167220351.925714 /var/log/mailman/error
Mar 02 07:37:24 2008 (4711) SHUNTING:
1167220351.925714+55bb5ab698f528a8061d4ef867a634abbed6769e
Mar 03 07:36:03 2008 (4711) SHUNTING:
1167220351.925714+d29bf7b17b742fca8b0b71c09c1e52ebcf08620e
Mar 04 07:50:44 2008 (4711) SHUNTING:
1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef
Mar 05 07:56:19 2008 (4711) SHUNTING:
1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd
Neither show_qfiles nor dbdump works:
/usr/lib/mailman/bin/show_qfiles
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
====================>
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
Traceback (most recent call last):
File "/usr/lib/mailman/bin/show_qfiles", line 95, in ?
main()
File "/usr/lib/mailman/bin/show_qfiles", line 88, in main
sys.stdout.write(msg.as_string())
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[root@lvr13 Mailman]# /usr/lib/mailman/bin/dumpdb
/var/spool/mailman/shunt/1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
File "/usr/lib/mailman/bin/dumpdb", line 159, in ?
msg = main()
File "/usr/lib/mailman/bin/dumpdb", line 149, in main
pp.pprint(obj)
File "/usr/lib/python2.2/pprint.py", line 110, in pprint
self.__stream.write(self.pformat(object) + "\n")
File "/usr/lib/python2.2/pprint.py", line 114, in pformat
self.__format(object, sio, 0, 0, {}, 0)
File "/usr/lib/python2.2/pprint.py", line 136, in __format
rep = self.__repr(object, context, level - 1)
File "/usr/lib/python2.2/pprint.py", line 200, in __repr
self.__depth, level)
File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
rep = `object`
File "/usr/lib/mailman/Mailman/Message.py", line 51, in __repr__
return self.__str__()
File "/usr/lib/mailman/pythonlib/email/Message.py", line 121, in
__str__
return self.as_string(unixfrom=True)
File "/usr/lib/mailman/pythonlib/email/Message.py", line 135, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 101, in
flatten
self._write(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 129, in
_write
self._dispatch(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 155, in
_dispatch
meth(msg)
File "/usr/lib/mailman/pythonlib/email/Generator.py", line 198, in
_handle_text
self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
----------------------------------------------------------------------
Comment By: Sebastian Hagedorn (shagedorn)
Date: 2008-03-05 17:19
Message:
Logged In: YES
user_id=309132
Originator: YES
File Added: 1167220351.925714+67431f92e260e4da420214c9a343ace677ca1acd.pck
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2008-03-05 17:14
Message:
Logged In: YES
user_id=1123998
Originator: NO
There is a problem with the message. Try running bin/show_qfiles or if
that doesn't work, bin/dumpdb on one or more of the shunted files (e.g.
qfiles/shunt/1167220351.925714+8af35bc9b49ca21d542d7fac99bdb87a688619ef.pck).
In any case, can you send me this file or attach it to this report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1908112&group_…
[View Less]
1
0