[spambayes-bugs] [ spambayes-Bugs-803501 ] pop3proxy v1.0a5 throws exceptions on launch

SourceForge.net noreply at sourceforge.net
Wed Sep 10 15:12:14 EDT 2003


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

Category: pop3proxy
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris DeSalvo (phixus)
Assigned to: Nobody/Anonymous (nobody)
Summary: pop3proxy v1.0a5 throws exceptions on launch

Initial Comment:
I just downloaded the 1.0a5 spambayes package, unpacked 

it, ran setup.py install; and then did the following:



[cjdmac:~/spambayes-1.0a5] chris% python -V

Python 2.3

[cjdmac:~/spambayes-1.0a5] chris% python pop3proxy.py -

b

SpamBayes POP3 Proxy Beta2, version 0.2 (September 

2003),

using SpamBayes POP3 Proxy Web Interface Alpha3, version 

0.03

and engine SpamBayes Beta2, version 0.2 (July 2003).



Loading database...

Traceback (most recent call last):

  File "pop3proxy.py", line 819, in ?

    run()

  File "pop3proxy.py", line 800, in run

    prepare(state=state)

  File "pop3proxy.py", line 736, in prepare

    state.createWorkers()

  File "pop3proxy.py", line 617, in createWorkers

    self.bayes = storage.open_storage(filename, self.useDB)

  File "/Users/chris/Desktop/spambayes-1.0a5/spambayes/

storage.py", line 652, in open_storage

    print >> sys.stderr, """\

UnboundLocalError: local variable 'sys' referenced before 

assignment

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

>Comment By: Richie Hindle (richiehindle)
Date: 2003-09-10 21:12

Message:
Logged In: YES 
user_id=85414

Sorry, I should have said: You can fix your installation by

remove the line "import sys" from around line 656 of

storage.py.



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

Comment By: Richie Hindle (richiehindle)
Date: 2003-09-10 21:09

Message:
Logged In: YES 
user_id=85414

The crash is fixed in CVS, storage.py 1.32.



You'll still get an error message, but that should make it

clear what to do next.



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

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



More information about the Spambayes-bugs mailing list