[spambayes-bugs] [ spambayes-Bugs-838427 ] IMAP filter gives traceback on start (1.0a7)

SourceForge.net noreply at sourceforge.net
Mon Mar 15 22:21:51 EST 2004


Bugs item #838427, was opened at 2003-11-09 03:27
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=838427&group_id=61702

Category: imapfilter
>Group: Source code 1.0a7
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Ilmar Kruis (seaeagle1)
Assigned to: Tony Meyer (anadelonbrin)
Summary: IMAP filter gives traceback on start (1.0a7)

Initial Comment:
When starting the imap filter with an other option than -
b it gives a traceback:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Program Files\Python\Scripts>sb_imapfilter.py -b
SpamBayes IMAP Filter Beta1, version 0.1 (September 
2003),
using SpamBayes IMAP Filter Web Interface Alpha2, 
version 0.02
and engine SpamBayes Beta2, version 0.2 (July 2003).

User interface url is http://localhost:8880/

D:\Program Files\Python\Scripts>sb_imapfilter.py -t
SpamBayes IMAP Filter Beta1, version 0.1 (September 
2003),
using SpamBayes IMAP Filter Web Interface Alpha2, 
version 0.02
and engine SpamBayes Beta2, version 0.2 (July 2003).

Traceback (most recent call last):
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 825, in ?
    run()
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 811, in run
    imap_filter.Train()
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 633, in Train
    num_ham_trained = folder.Train(self.classifier, False)
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 558, in Train
    for msg in self:
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 485, in __iter__

    yield self[key]
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 534, in __getite
m__
    msg.Save()
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 415, in Save
    self.as_string())
  File "D:\PROGRA~1\PYTHON\lib\imaplib.py", line 313, in 
append
    return self._simple_command(name, mailbox, flags, 
date_time)
  File "D:\PROGRA~1\PYTHON\lib\imaplib.py", line 1000, in 
_simple_command
    return self._command_complete(name, self._command
(name, *args))
  File "D:\PROGRA~1\PYTHON\lib\imaplib.py", line 832, in 
_command_complete
    raise self.abort('command: %s => %s' % (name, val))
imaplib.abort: command: APPEND => unexpected 
response: '* 101 exists'

D:\Program Files\Python\Scripts>sb_imapfilter.py -c -t -l 
5
SpamBayes IMAP Filter Beta1, version 0.1 (September 
2003),
using SpamBayes IMAP Filter Web Interface Alpha2, 
version 0.02
and engine SpamBayes Beta2, version 0.2 (July 2003).

Traceback (most recent call last):
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 825, in ?
    run()
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 811, in run
    imap_filter.Train()
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 633, in Train
    num_ham_trained = folder.Train(self.classifier, False)
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 558, in Train
    for msg in self:
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 485, in __iter__

    yield self[key]
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 534, in __getite
m__
    msg.Save()
  File "D:\Program Files\Python\Scripts\sb_imapfilter.py", 
line 415, in Save
    self.as_string())
  File "D:\PROGRA~1\PYTHON\lib\imaplib.py", line 313, in 
append
    return self._simple_command(name, mailbox, flags, 
date_time)
  File "D:\PROGRA~1\PYTHON\lib\imaplib.py", line 1000, in 
_simple_command
    return self._command_complete(name, self._command
(name, *args))
  File "D:\PROGRA~1\PYTHON\lib\imaplib.py", line 832, in 
_command_complete
    raise self.abort('command: %s => %s' % (name, val))
imaplib.abort: command: APPEND => unexpected 
response: '* 102 exists'

D:\Program Files\Python\Scripts>

----------------------------------------------------------------------

>Comment By: Tony Meyer (anadelonbrin)
Date: 2004-03-16 16:21

Message:
Logged In: YES 
user_id=552329

I'm hoping this was a once-off, or that the problem has
since been fixed.  Please reopen (and attach the requested
information) if this is not the case.

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-11-26 14:43

Message:
Logged In: YES 
user_id=552329

Would you be able to run imapfilter with -c or -t and the "-i4" 
switch and attach the output to this?  (blank out any private 
details like username/password/server name).  I haven't seen 
this error before, and I'm not sure why the server would be 
saying that the message already exists - the longer log will 
have more details.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=838427&group_id=61702



More information about the Spambayes-bugs mailing list