I VB Coder wrote: > It looks like the only thing left in that file are the settings > suggested for experimentation. I have included them below. Keep in > mind that this happened a while after I made these changes, as in > they worked for a while. > > [Tokenizer] > x-search_for_habeas_headers:True > x-reduce_habeas_headers:True > x-pick_apart_urls:True > x-fancy_url_recognition:True > > [Classifier] > x-use_bigrams:True > > [URLRetriever] > x-slurp_urls:True > x-cache_expiry_days:True > x-cache_directory:True > x-only_slurp_base:True > x-web_prefix:True > > [snip] > >> I found this file that looks pertinent. > [...] >> File "spambayes\classifier.pyc", line 73, in ? >> File "spambayes\Options.pyc", line 1259, in ? [...] >> File "locale.pyc", line 175, in atof >> ValueError: invalid literal for int(): True
This traceback indicates a failure in locale.atof, which is only called for options that are defined as floating point values. None of the values shown here are floating point. The changes that Tony suggests in another message are important and may indeed fix the problem, but I suspect it might be something else. In the same directory as the default_bayes_customize.ini file, you should find another .ini file that has the name of your Outlook profile. This will typically be something like "Outlook.ini" or "yourname.ini". Common floating point values that might be found in that file are "spam_threshold", "unsure_threshold", "timer_start_delay", and "timer_interval". You might want to look for any of these settings and make sure that they contain valid floating point numbers. Since atof is a locale-specific function, it would also be useful to know what your default Windows locale/language is. Is this an English system, or some other language? A typical difference between locales is to use a comma instead of a period as the decimal separator, which could cause problems in parsing the values. -- Kenny Pitt _______________________________________________ [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/spambayes Check the FAQ before asking: http://spambayes.sf.net/faq.html
