Problems installing and configuring SpamBayes
I downloaded SpamBayes today, but can’t figure out how to use it. I clicked on the installing SpamBayes link in your documentation section, but I got a “The connection was reset” error message. This happened at two separate times, several hours apart. Some of the other links in that section work OK, but some result in the same error message. Can you fix the link, so I can get some info on what I’m doing wrong on my installation? I assumed that every time an e-mail arrived, I’d see it in the REVIEW MESSAGES section so I could train SpamBayes, but nothing ever shows up—it just says there are no untrained messages to display. When I went to configure it, I put pop-server.satx.rr.com into the POP3 Proxy Options section, and 8110 (later 8111) in the Ports Box, but when I click on SAVE, I get this message: 500 Server error Traceback (most recent call last): File "spambayes\Dibbler.pyo", line 476, in found_terminator File "spambayes\UserInterface.pyo", line 883, in onChangeopts File "spambayes\ProxyUI.pyo", line 569, in reReadOptions File "sb_server.pyo", line 981, in _recreateState UnboundLocalError: local variable 'state' referenced before assignment In the Status and Configuration window, it says No POP3 Proxies Running, and that SpamBayes will classify all messages as 'unsure', ready for you to train.However, as stated above, there are never any messages in the REVIEW MESSAGES section.Anything you can do to educate me and help me get it running would be greatly appreciated.Thanks, AL
lilliana> I downloaded SpamBayes today, but can't figure out how to use lilliana> it. I clicked on the installing SpamBayes link in your lilliana> documentation section, but I got "The connection was reset" lilliana> error message.... lilliana> 500 Server error lilliana> Traceback (most recent call last): ... lilliana> UnboundLocalError: local variable 'state' referenced before assignment Well, there is clearly a bug in that function which I can fix easily enough. I'm mystified why it's never been encountered before. You appear to be using Windows Live Mail, which might or might not work with SpamBayes. Unfortunately, I can't make a new release for Windows. How are you with Notepad? Do you think you can find the file sb_server.py and edit it? The fix is a one-line change. Just search for "def _recreateState", then right after that line, add this line: global state (indented with four spaces, just as I have it above). So, that bit of code will change from def _recreateState(): # Close the existing listeners and create new ones. This won't # affect any running proxies - once a listener has created a proxy, to def _recreateState(): global state # Close the existing listeners and create new ones. This won't # affect any running proxies - once a listener has created a proxy, Of course, this might not be the only bug. Given that we've apparently not seen it before and it appears you're using a rare-for-SpamBayes mail program, I'd rate the odds of encountering more problems as at least "moderate". -- Skip Montanaro - skip@pobox.com - http://www.smontanaro.net/
participants (2)
-
lilliana@satx.rr.com -
skip@pobox.com