[spambayes-bugs] [ spambayes-Bugs-806632 ] sb_server failure when saving config

SourceForge.net noreply at sourceforge.net
Tue Sep 16 20:06:06 EDT 2003


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

Category: pop3proxy
Group: Source code - CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: Tony Meyer (anadelonbrin)
Summary: sb_server failure when saving config

Initial Comment:
I just got this from sb_server when punching the "Save"

button on the config page:



500 Server error

Traceback (most recent call last):



  File "/Users/skip/local/lib/python2.4/site-packages/

spambayes/Dibbler.py", line 453, in found_terminator

    getattr(plugin, name)(**params)



  File "/Users/skip/local/lib/python2.4/site-packages/

spambayes/UserInterface.py", line 687, in onChangeopts

    self.reReadOptions()



  File "/Users/skip/local/lib/python2.4/site-packages/

spambayes/ProxyUI.py", line 520, in reReadOptions

    state = self.state_recreator()



  File "/Users/skip/local/bin/sb_server.py", line 727, in 

_recreateState

    state.bayes.store()



AttributeError: State instance has no attribute 'bayes'





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

>Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-17 12:06

Message:
Logged In: YES 
user_id=552329

Ok, what about 1.5?  1.4 fixed the problem when there was a 

bayes.state attribute but it got deleted before store/close.  

1.5 should take care of the case where there isn't a 

bayes.state attribute (there always should be for pop3proxy 

users, but maybe not upload users).

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

Comment By: Skip Montanaro (montanaro)
Date: 2003-09-17 02:01

Message:
Logged In: YES 
user_id=44345

Yup:



% cat CVS/Entries 

/.cvsignore/1.1/Sun Jul 27 07:51:39 2003//

/README.txt/1.1/Sun Jul 27 07:41:09 2003//

...

/sb_notesfilter.py/1.2/Wed Sep 10 14:00:35 2003//

/sb_server.py/1.4/Mon Sep 15 16:26:09 2003//

/sb_smtpproxy.py/1.2/Mon Sep 15 16:26:09 2003//

D



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

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-16 10:32

Message:
Logged In: YES 
user_id=552329

Hi Skip - this should have been fixed in sb_server.py v1.4 - 

are you using up-to-date cvs?

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

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



More information about the Spambayes-bugs mailing list