[spambayes-bugs] [ spambayes-Bugs-961713 ] server error when trying to change Statistics Options

SourceForge.net noreply at sourceforge.net
Tue Jun 1 20:23:30 EDT 2004


Bugs item #961713, was opened at 2004-05-28 05:30
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=961713&group_id=61702

Category: pop3proxy
Group: Binary 1.0rc1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: psage (psage)
Assigned to: Tony Meyer (anadelonbrin)
Summary: server error when trying to change Statistics Options

Initial Comment:
Attempting to change the Ham cutoff or Spam cutoff 
statistic options and pressing Save produces the 
following error on this version and on the previous 
version of Spambayes proxy for Windows: 

500 Server error
Traceback (most recent call last):

  File "spambayes\Dibbler.pyc", line 461, in 
found_terminator

  File "spambayes\UserInterface.pyc", line 770, in 
onChangeopts

  File "spambayes\ProxyUI.pyc", line 731, in verifyInput

  File "spambayes\UserInterface.pyc", line 862, in 
verifyInput

  File "spambayes\OptionsClass.pyc", line 585, in convert

  File "spambayes\OptionsClass.pyc", line 266, in convert

AttributeError: 'tuple' object has no attribute 'split'



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

>Comment By: Tony Meyer (anadelonbrin)
Date: 2004-06-02 12:23

Message:
Logged In: YES 
user_id=552329

Yes, that is the correct file.

I wasn't that clear when I talked about an old value - I was 
meaning that the format for an option changed, and so that 
would be the problem, and it (more-or-less) was.

To duplicate this: set either of the notate_ options to a single 
value, save the configuration, stop sb_server, then start it 
again, and try to change the value to more than one value.

I've checked in a fix for this, so it'll be fixed in a future 
release.  I'm not sure whether this will be 1.0 or not (it's 
rather late for that).  For the moment, you can simply edit 
the configuration file by hand, or remove the notate_subject 
option while you edit using the web interface, and then put it 
back.

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

Comment By: psage (psage)
Date: 2004-06-01 21:42

Message:
Logged In: YES 
user_id=1051271

The only config file I can locate is the bayescustomize.ini file. 
Is that what you mean? 

I doubt that's the issue because this problem has existed 
since my FIRST install of spambayes proxy, so it couldn't be 
an old value. 

Here is the contents of that file:

[Headers]
notate_subject:spam
[pop3proxy]
listen_ports:110
remote_servers:pop.myserver.com
[smtpproxy]
ham_address:ham at localhost
listen_ports:
remote_servers:
spam_address:spam at localhost
[Tokenizer]
x-fancy_url_recognition:True
x-pick_apart_urls:True
[URLRetriever]
x-cache_expiry_days:30
x-only_slurp_base:True
x-slurp_urls:True
[Categorization]
ham_cutoff:0.21

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

Comment By: Tony Meyer (anadelonbrin)
Date: 2004-06-01 11:37

Message:
Logged In: YES 
user_id=552329

I can't duplicate this, whatever options I try.  There is a
problem, though, because this AttributeError has been
reported by several people.  My only explanation is that
it's caused by an old value in configuration files, but I
don't know which one it would be.

Would you mind attaching your config file to this tracker? 
Cut out or XXX the servers if you like.

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

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



More information about the Spambayes-bugs mailing list