[Spambayes] Help with pop3proxy.py

Skip Montanaro skip at pobox.com
Fri Sep 12 09:01:20 EDT 2003

    chauhan> I just installed spambayes-1.0a5 on my Windows XP (home
    chauhan> edition) and got this error when ran pop3proxy.py

    chauhan> UnboundLocalError: local variable 'sys' referenced before assignment

You're not doing anything wrong.  It's a bug in the code.  It's fixed in
CVS.  All the application files got renamed after 1.0a5 was released, so
doing CVS checkout may or may not be convenient for you.  If you decide not
to checkout from CVS, right after the print statement at line 652 you should

    import sys

Delete that line and you should be okay.


More information about the Spambayes mailing list