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

SourceForge.net noreply at sourceforge.net
Fri Jun 27 11:17:49 EDT 2003


Bugs item #761250, was opened at 2003-06-26 15:40
Message generated for change (Comment added) made by jbehring20
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: Jason Behring (jbehring20)
Date: 2003-06-27 17:17

Message:
Logged In: YES 
user_id=811023

I am also running into the same problems on Windows 98 with Outllok 
2000. removed the .dll and tried to add it again manually and this is the 
error I got: 
 
OUTLOOK caused an invalid page fault in 
module PYTHON23.DLL at 0187:1e03ff78. 
Registers: 
EAX=505c3a43 CS=0187 EIP=1e03ff78 EFLGS=00010246 
EBX=005a3b70 SS=018f ESP=0056b834 EBP=1e0b8ec0 
ECX=005fdc70 DS=018f ESI=005fdc70 FS=4daf 
EDX=00705130 ES=018f EDI=1e03ff70 GS=0000 
Bytes at CS:EIP: 
8b 48 54 f6 c5 40 74 1f 8b 80 a4 00 00 00 85 c0 
Stack dump: 
00000000 1e0352fd 005fdc70 00000000 1e0b8ea8 005a3b60 00000002 
005f4da0 
00000020 1e03ff5d 005fdc70 1e03ff70 00000000 1e0b8ea8 00000001 
1e03fd38 
 
This is my first post and I don't see where to upload the log file, so I'll 
just add it here. 
 
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 
 
 
 

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

Comment By: Johan Nilsson (gnistan)
Date: 2003-06-27 07: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 19: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