[spambayes-bugs] [ spambayes-Support Requests-804578 ] Wrong folder referenced

SourceForge.net noreply at sourceforge.net
Thu Sep 11 18:58:35 EDT 2003


Support Requests item #804578, was opened at 2003-09-12 05:03
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=804578&group_id=61702

Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Jason Fleisher (jasonsf)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wrong folder referenced

Initial Comment:
When I first ran Spambayes (pop3proxy service in 

windows) I did it in the folder I downloaded it into. I 

have since moved it to another folder but the headers 

added to my email show an error that references the 

original folder. Where is that folder referenced? I can't 

find it to change it.



The current location is C:\Program Files\spambayes\



Old location was C:\Documents and Settings\this 

user\My Documents\downloads\spam\spambayes-1.0a5

\spambayes\



Error:



X-Spambayes-Exception: Traceback (most recent call 

last): .  File "C:\Program 

Files\spambayes\pop3proxy.py", line 437, in onRetr .    

evidence=True).  File "C:\Documents and Settings\this 

user\My Documents\downloads\spam\spambayes-1.0a5

\spambayes\classifier.py", line 223, in chi2_spamprob.  

File "C:\Documents and Settings\this user\My 

Documents\downloads\spam\spambayes-1.0a5

\spambayes\classifier.py", line 460, in _getclues.  

File "C:\Documents and Settings\this user\My 

Documents\downloads\spam\spambayes-1.0a5

\spambayes\classifier.py", line 310, in 

probability.AssertionError



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

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

Message:
Logged In: YES 
user_id=552329

This means that your database is corrupted.  You'll need to 

retrain from scratch.  1.0a5 should have fixed the main cause 

of corruption, so hopefully this was just a result from the 

moving of the files.  If your database becomes corrupted 

again (with 1.0a5) please open a bug with details about how 

you operate (that you use the service, how you train, and so 

on).

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

Comment By: Jason Fleisher (jasonsf)
Date: 2003-09-12 05:16

Message:
Logged In: YES 
user_id=728935

OK, I fixed the first problem by deleting all the .pyc files that 

had been compiled before I moved the directory. Now I'm 

getting the following error in the headers:





X-Spambayes-Exception: Traceback (most recent call 

last): .  File "C:\Program Files\spambayes\pop3proxy.py", line 

437, in onRetr .    evidence=True) .  File "C:\Program 

Files\spambayes\spambayes\classifier.py", line 223, in 

chi2_spamprob.    clues = self._getclues(wordstream) .  

File "C:\Program Files\spambayes\spambayes\classifier.py", 

line 460, in _getclues.    prob = self.probability(record) .  

File "C:\Program Files\spambayes\spambayes\classifier.py", 

line 310, in probability.    assert spamcount <= 

nspam.AssertionError





What might cause this?

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

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



More information about the Spambayes-bugs mailing list