[Spambayes] sb_imapfilter.py crashes after a few hours.
Rick Gregory
rick at drinknow.net
Mon Mar 29 01:06:58 EST 2004
I'm running a9 and periodically sb_imapfilter crashes. I run it by issuing:
python sb_imapfilter.py -c -t -l 5 &
Everything's fine, but then after some period less than 24 hours it
exits with this traceback:
Traceback (most recent call last):
File "sb_imapfilter.py", line 857, in ?
run()
File "sb_imapfilter.py", line 847, in run
imap_filter.Filter()
File "sb_imapfilter.py", line 719, in Filter
self.unsure_folder)
File "sb_imapfilter.py", line 633, in Filter
for msg in self:
File "sb_imapfilter.py", line 528, in __iter__
yield self[key]
File "sb_imapfilter.py", line 560, in __getitem__
data = _extract_fetch_data(response[1][0])
File "sb_imapfilter.py", line 162, in _extract_fetch_data
mo = FETCH_RESPONSE_RE.match(response)
TypeError: expected string or buffer
Vitals: Python 2.3.2, Mandrake Linux 9.1, filtering a remote IMAP server running Courier with SSL on.
More information about the Spambayes
mailing list