[spambayes-dev] [ spambayes-Bugs-761250 ] .dll doesn't stay checked in COM Add-Ins window

SourceForge.net noreply at sourceforge.net
Fri Jun 27 01:11:57 EDT 2003


Bugs item #761250, was opened at 2003-06-26 17:40
Message generated for change (Comment added) made by gnistan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761250&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: James Noser (byjiminy)
Assigned to: Mark Hammond (mhammond)
Summary: .dll doesn't stay checked in COM Add-Ins window

Initial Comment:
I downloaded some Windows security patches yesterday 
and SpamBayes no longer appeared in the toolbar.  

I uninstalled and reinstalled both SpamBayes and 
Outlook.  I tried to instal Spambayes using the binary 
and the addin.py source.  

The COM add-in appeared in the Outlook menu, I 
checked it, and chose OK.  Then when I opened the 
COM add-in window again, the Spam Bayes add-in 
wasn't checked.  The attached log file documents three 
tries.

I removed the .dll from the COM add-in window, and 
then added it in again.  Sometimes this caused Outlook 
to Crash.  

Strangely enough, the log file shows the application 
trying to access files on the E: drive.  Both Outlook and 
Spambayes are installed on my C: drive.  

As a note, I've passed this program to several 
associates who love the software.  They worry though, 
that my problems may come their way.  Let me know if I 
can offer any other information.  

Thanks

PS - Windows 2000 Professional, Office 2000 
Proffessional

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

Comment By: Johan Nilsson (gnistan)
Date: 2003-06-27 09:11

Message:
Logged In: YES 
user_id=810664

I ran it on Outlook 2002 Swedish, this result did I get:
SpamAddin - Connecting to Outlook
Created new configuration file 'C:\Documents and 
Settings\bheljoni\Application 
Data\SpamBayes\default_configuration.pck'
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 156, 
in __init__
  File "E:\src\spambayes\Outlook2000\manager.py", line 71, in 
import_core_spambayes_stuff
  File "E:\src\Installer\iu.py", line 274, in importHook
  File "E:\src\Installer\iu.py", line 353, in doimport
  File "E:\src\spambayes\spambayes\tokenizer.py", line 659, 
in ?
exceptions.AttributeError: 'OptionsClass' object has no 
attribute 'skip_max_word_size'

Removed it from COM addins and added it again:

Registered: SpamBayes.OutlookAddin 
SpamAddin - Connecting to Outlook
Created new configuration file 'C:\Documents and 
Settings\bheljoni\Application 
Data\SpamBayes\default_configuration.pck'
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 156, 
in __init__
  File "E:\src\spambayes\Outlook2000\manager.py", line 71, in 
import_core_spambayes_stuff
exceptions.ImportError: cannot import name tokenize


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

Comment By: Jason Hihn (jhihn1)
Date: 2003-06-26 21:36

Message:
Logged In: YES 
user_id=142836

I have the same problem. here's my log:

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 141,
in __init__
  File "E:\src\spambayes\Outlook2000\manager.py", line 182,
in LocateDataDirectory
  File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir
exceptions.LookupError: no codec search functions
registered: can't find encoding
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 141,
in __init__
  File "E:\src\spambayes\Outlook2000\manager.py", line 182,
in LocateDataDirectory
  File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir
exceptions.LookupError: no codec search functions
registered: can't find encoding


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

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



More information about the spambayes-dev mailing list