[Spambayes] [ spambayes-Bugs-709051 ] Error loading configuration should not be fatal

SourceForge.net noreply at sourceforge.net
Thu Apr 3 11:38:46 EST 2003


Bugs item #709051, was opened at 2003-03-24 23:19
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=709051&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Hammond (mhammond)
Assigned to: Mark Hammond (mhammond)
Summary: Error loading configuration should not be fatal

Initial Comment:
There was a report of this error using the second
binary release:

SpamAddin - Connecting to Outlook
pythoncom error: Failed to call the universal dispatcher
Traceback (most recent call last):
  File "E:\src\pythonex\com\win32com\universal.py",
line 170, in dispatch
  File "E:\src\pythonex\com\win32com\server\policy.py",
line 322, in _InvokeEx_
  File "E:\src\pythonex\com\win32com\server\policy.py",
line 601, in _invokeex_
  File "E:\src\pythonex\com\win32com\server\policy.py",
line 541, in _invokeex_
  File "E:\src\spambayes\Outlook2000\addin.py", line
655, in OnConnection
  File "E:\src\spambayes\Outlook2000\manager.py", line
475, in GetManager
  File "E:\src\spambayes\Outlook2000\manager.py", line
152, in __init__
  File "E:\src\spambayes\Outlook2000\manager.py", line
355, in LoadConfig
exceptions.EOFError: 

While there is another problem that caused this error,
we should not die completely loading the config pickle
should it get screwed up.  However, as this means
spambayes will be unconfigured, we do need a scheme to
let the user know this (as we do in the few other
places where we disable spambayes due to config errors)

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

Comment By: Simone Piunno (pioppo)
Date: 2003-04-03 21:38

Message:
Logged In: YES 
user_id=227443

I have another case, but without apparent cause: 
 
Traceback (most recent call last): 
  File "/home/mailman21/Mailman/Queue/Runner.py", line 105, in 
_oneloop 
    self._onefile(msg, msgdata) 
  File "/home/mailman21/Mailman/Queue/Runner.py", line 155, in 
_onefile 
    keepqueued = self._dispose(mlist, msg, msgdata) 
  File "/home/mailman21/Mailman/Queue/OutgoingRunner.py", line 
69, in _dispose 
    mlist.Load() 
  File "/home/mailman21/Mailman/MailList.py", line 626, in Load 
    self._spamdb = hammie.open(path, 0) 
  File "/home/mailman21/pythonlib/spambayes/hammie.py", line 
262, in open 
    b = storage.PickledClassifier(filename) 
  File "/home/mailman21/pythonlib/spambayes/storage.py", line 
80, in __init__ 
    self.load() 
  File "/home/mailman21/pythonlib/spambayes/storage.py", line 
98, in load 
    tempbayes = pickle.load(fp) 
EOFError 
 
it happens quite often but not always, I believe it is a concurrency 
issue (e.g. lack of locking). 

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

Comment By: Mark Hammond (mhammond)
Date: 2003-03-24 23:56

Message:
Logged In: YES 
user_id=14198

The reporter just let me know that the problem was caused by
about 20 power failures over short period.  So I don't think
we can cure the cause here, just the symptoms.

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

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



More information about the Spambayes mailing list