[spambayes-bugs] [ spambayes-Support Requests-1163672 ] Need to re-train every day

SourceForge.net noreply at sourceforge.net
Thu Apr 21 09:18:45 CEST 2005


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

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: fintan74 (fintan74)
Assigned to: Nobody/Anonymous (nobody)
Summary: Need to re-train every day

Initial Comment:
I have a problem for which I have been unable to find a
solution in either this forum, the FAQ or the
Troubleshooting guide. Hopefully someone here will be
able to assist.

Spambayes has been monitoring my Outlook mailbox for
quite some time and it has always worked like a charm.
Upto about two weeks ago. Suddenly I needed to re-train
the complete database every day, otherwise it will
simply not process messages. Spambayes loads without
problems and the toolbar itself works fine. It just
does not process anything until I re-train the database.

Downloading and installing the latest version has not
resolved matters. I have also tried putting the
configuration files in a local folder instead of the
documents&settings-folder that is synchronised with
server during logon and logoff. Hasn't helped either...

What I have noticed in the logfile is that it says
"NOTE: Skipping folder for this session - temporarily
unavailable" four times in a row. I wonder if this is
the reason for the problem, although I have no idea
what is triggering that message.

The complete log is as follows:

---------------------
Loaded bayes database from
'C:\spambayesconfig\default_bayes_database.db'
Loaded message database from
'C:\spambayesconfig\default_message_database.db'
Bayes database initialized with 709 spam and 33 good
messages
SpamBayes Outlook Addin Binary Version 1.0.3 (January
2005) starting (with engine SpamBayes Engine Version
0.3 (January 2004))
on Windows 5.1.2600 (Service Pack 2)
using Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC
v.1310 32 bit (Intel)]
NOTE: Skipping folder for this session - temporarily
unavailable
NOTE: Skipping folder for this session - temporarily
unavailable
NOTE: Skipping folder for this session - temporarily
unavailable
NOTE: Skipping folder for this session - temporarily
unavailable
Saving configuration -> C:\spambayesconfig\MS Exchange
Settings.ini
SpamBayes: Watching (for filtering) in 'fintan/Postvak IN'
SpamBayes: Watching (for incremental training) in
'fintan/Junk E-Mail'
---------------------

Any help would be very much appreciated. Thanks!




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

>Comment By: Tony Meyer (anadelonbrin)
Date: 2005-04-21 19:18

Message:
Logged In: YES 
user_id=552329

Ack - sorry.  I got caught up with other work.  I'll send
you a binary tomorrow (22/4).  Thanks for trying 1.1a1.

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

Comment By: fintan74 (fintan74)
Date: 2005-04-12 19:46

Message:
Logged In: YES 
user_id=1239541

Hi Tony,

Thanks for your below reply and my apologies for not getting
back to you sooner.

Unfortunately I am not familiar enough with Exchange servers
to give you any feedback on the mapi-issue. If you would be
so kind as to e-mail me the binary you mention, that would
be great. I believe you have my e-mail address, otherwise
I'll be happy to mail it to you.

I've tried installing the testversion you mention. It still
gives the same message in the logfile: 'skipping folder for
this session - temporarily unavailable'. It almost seems
like Spambayes is starting up before Outlook has finished
loading, or something...

The interesting thing is that the new testversion does give
an additional errormessage: 'Ignoring OnCommand for
IDC_ACTION_HAM'. It also does not seem to complete the loop
of saving the configuration and activating the Spambayes
watch.  I've copied the complete logfile below. Perhaps this
helps also.

Thanks again for your time. Hopefully we'll be able to make
some progress with your binary-file.

Regards,
Fintan

----------------------------------------
Loaded bayes database from
'C:\spambayesconfig\default_bayes_database.db'
Loaded message database from
'C:\spambayesconfig\default_message_database.db'
Bayes database initialized with 1337 spam and 50 good messages
SpamBayes Outlook Addin Version 1.1a1 (April 2005)
on Windows 5.1.2600 (Service Pack 2)
using Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32
bit (Intel)]
Log created Tue Apr 12 09:30:47 2005
NOTE: Skipping folder for this session - temporarily unavailable
NOTE: Skipping folder for this session - temporarily unavailable
NOTE: Skipping folder for this session - temporarily unavailable
NOTE: Skipping folder for this session - temporarily unavailable
FAILED to add the toolbar item 'SpamBayesCommand.Manager' -
(-2147352567, 'Exception occurred.', (0, None, None, None,
0, -2147467259), None)
The above toolbar message is common - recreating the toolbar...
Ignoring OnCommand for IDC_ACTION_HAM
Ignoring OnCommand for IDC_ACTION_HAM
Ignoring OnCommand for IDC_ACTION_HAM
Ignoring OnCommand for IDC_ACTION_HAM
Ignoring OnCommand for IDC_ACTION_HAM
----------------------------------------

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

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-04-06 18:45

Message:
Logged In: YES 
user_id=552329

If I could figure out whether it's
mapi.MAPI_E_OBJECT_DELETED or mapi.MAPI_E_NOT_FOUND and
whether it happens just when Outlook is opening or not that
would help.

I have a little script that will tell me this, hopefully
(it'll be more information, anyway, if you're able to run it.

There are two options:
  (1) If you have Python (http://www.python.org/download)
installed and a copy of the spambayes source, then I can
just attach the script here (it's only 10 lines).

  (2) I can wrap it up as a binary, so you don't need
anything, and send this to you.  It ends up being about 3Mb,
though, because it grabs a whole heap of stuff.  (Although
if I just sent the executable, which is small, it might work
if it was run in the bin directory in the spambayes
installation).

Does either of those sound ok?  I've looked for information
about these errors, and tried things here, but I can't think
of any other way forward at the moment.

(You could try 1.1a1 - a test version is at
http://www.massey.ac.nz/~tameyer/spambayes-1.1a1rc1.exe -
but I doubt it will be any different).

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

Comment By: fintan74 (fintan74)
Date: 2005-04-01 00:57

Message:
Logged In: YES 
user_id=1239541

Hi anadelonbrin,

Thank you very much for taking the time to respond to this
query. The log doesn't show much more than the above after a
full day of not working, but yet manually processing. I have
deleted the last 50 or so spam messages from the following
log, as they do not seem to add much to this log:

---------------------------------------------
Loaded bayes database from
'C:\spambayesconfig\default_bayes_database.db'
Loaded message database from
'C:\spambayesconfig\default_message_database.db'
Bayes database initialized with 1111 spam and 39 good messages
SpamBayes Outlook Addin Binary Version 1.0.3 (January 2005)
starting (with engine SpamBayes Engine Version 0.3 (January
2004))
on Windows 5.1.2600 (Service Pack 2)
using Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32
bit (Intel)]
NOTE: Skipping folder for this session - temporarily unavailable
NOTE: Skipping folder for this session - temporarily unavailable
NOTE: Skipping folder for this session - temporarily unavailable
NOTE: Skipping folder for this session - temporarily unavailable
FAILED to add the toolbar item 'SpamBayesCommand.Manager' -
(-2147352567, 'Exception occurred.', (0, None, None, None,
0, -2147467259), None)
The above toolbar message is common - recreating the toolbar...
Moving and spam training message 'Perfector (1+1) machines
for sale' -  Training on message 'Perfector (1+1) machines
for sale' in 'fintan/Postvak IN -  trained as spam
Moving and spam training message 'Re: Encrypted Mail' - 
Training on message 'Re: Encrypted Mail' in 'fintan/Postvak
IN -  trained as spam
---------------------------------------------

That's all it says...

Yes, these folders are on an Exchange server, but to my
knowledge nothingw as changed (although I am not the server
admin). I have no further problems viewing these folders.

As stated earlier, when I retrain Spambayes it works fine
for the rest of the day. But overnight (when the machine is
turned off) it forgets all it's settings and needs
retraining again the next day.

To me it looks like the problem is in the folders that
Spambayes is skipping during initialising. But I have no
idea why it cannot locate the folders, or why it forgets
where they are even after the retraining.

Thanks again for your time and input.

Regards,
Fintan

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

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-03-29 13:41

Message:
Logged In: YES 
user_id=552329

Could you attach a log from when it doesn't work?  That
would help a lot more in figuring out what is wrong.

Are all of these folders on an Exchange server?  Has
anything changed with your Exchange server recently?  Do you
have any other problems viewing these folders?

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

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


More information about the Spambayes-bugs mailing list