[spambayes-bugs] [ spambayes-Bugs-740198 ] Installation fails with regsvr error

SourceForge.net noreply at sourceforge.net
Tue Jul 8 05:44:01 EDT 2003


Bugs item #740198, was opened at 2003-05-20 11:12
Message generated for change (Comment added) made by mhammond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rob de Santos (rdesantos)
Assigned to: Mark Hammond (mhammond)
Summary: Installation fails with regsvr error

Initial Comment:
I'm trying to install SpamBayes into Outlook XP on 
Win98SE.  The install fails with a regsvr error.  
Attempts at manually registering the file also fail.  
Here's the log:

Traceback (most recent call last):
  File "<string>", line 10, in ?
  File "E:\src\Installer\iu.py", line 274, in 
importHook
  File "E:\src\Installer\iu.py", line 353, in doimport
  File "E:\src\spambayes\Outlook2000\addin.py", 
line 59, in ?
  
File "E:\src\pythonex\com\win32com\client\genca
che.py", line 368, in EnsureModule
pywintypes.com_error: (-2147312566, 'Error 
loading type library/DLL.', None, None)
SystemError: PyErr_NormalizeException() called 
without exception
Traceback (most recent call last):
  File "<string>", line 11, in ?
AttributeError: 'module' object has no 
attribute 'OutlookAddin'

Any help?

Cheers,

Rob

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

>Comment By: Mark Hammond (mhammond)
Date: 2003-07-08 21:44

Message:
Logged In: YES 
user_id=14198

Seeing as you have Python installed, can you please try the
following:

* Go to a command prompt, and change to the
\Python\lib\site-packages\com\win32com\client directory
* Execute "python makepy.py -i"
* Select any "Outlook XP" related entries (if necessary,
repeat for each one).
* You should get a coupld of lines of Python code generated.

Mail me these lines, and I will send you a new version to test.

I wish I had that combination to test here, but as I don't,
this is my best hope :)

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

Comment By: Rob de Santos (rdesantos)
Date: 2003-07-05 13:48

Message:
Logged In: YES 
user_id=782486

Addendum:  following my earlier post today I discovered 
release 3 of the code had been made.  I retested install with 
the binary and it failed again with an error in the regsvr:

DllRegisterServer ... failed Return Code was 0x80040201

with this in the log file:
Traceback (most recent call last):
  File "<string>", line 10, in ?
  File "out3.pkg/iu.pyc", line 277, in importHook
  File "out3.pkg/iu.pyc", line 362, in doimport
  File "out1.pyz/addin", line 71, in ?
  File "out1.pyz/win32com.client.gencache", line 368, in 
EnsureModule
pywintypes.com_error: (-2147312566, 'Error loading type 
library/DLL.', None, None)

I also tried the Python/open source install and it also fails 
with an error that "Outlook 2000 is not installed on this 
machine"... well, no isn't.  Outlook 2002 (XP) is!  

I'd love to try out this program but if I can't get it to install I 
guess I'll never find out.  

-Rob

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

Comment By: Rob de Santos (rdesantos)
Date: 2003-07-05 11:57

Message:
Logged In: YES 
user_id=782486

OK, I'm new to this... any idea when we can expect a fix to 
this issue?  Is it being worked on?

Cheers,

-Rob

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

Comment By: Rob de Santos (rdesantos)
Date: 2003-07-05 11:56

Message:
Logged In: YES 
user_id=782486

OK, I'm new to this... any idea when we can expect a fix to 
this issue?  Is it being worked on?

Cheers,

-Rob

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

Comment By: Ken Walker (kwalker411)
Date: 2003-05-24 02:26

Message:
Logged In: YES 
user_id=785557

Hi Fellas.  As per Tony Meyer's request, I'm appending my
version information here.  The plugin wouldn't install on my
platform due to a regsvr error.

System:

     Microsoft Windows 2000
     5.00.2195
     Service Pack 3

Mail Client:

     Microsoft Outlook 2002
     10.4219.5025
     Service Pack 2

Thanks,
K

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

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-05-23 12:09

Message:
Logged In: YES 
user_id=552329

>From the list:
"I have a win2000 running outlook 2000 sr1 and I get the 
following message  
<<error.jpeg>> and the logs are as follows the first two time 
the log was empty but the next two time I got the following 
logs.  <<spambayes3.log>>  
<<spambayes4.log>> 
David"

The jpeg was just a screenshot of the regsvr error.  Log3 is:
"Traceback (most recent call last):
  File "<string>", line 15, in DllRegisterServer
  File "E:\src\pythonex\com\win32com\server\register.py", 
line 388, in RegisterClasses
IndexError: list index out of range"
and log4 is:
"warning: use func(*args, **kwargs) instead of apply(func, 
args, kwargs)
warning: use func(*args, **kwargs) instead of apply(func, 
args, kwargs)
warning: use func(*args, **kwargs) instead of apply(func, 
args, kwargs)
Unregistered: SpamBayes.OutlookAddin
Traceback (most recent call last):
  File "<string>", line 22, in DllUnregisterServer
  File "E:\src\spambayes\Outlook2000\addin.py", line 791, in 
UnregisterAddin
  File "E:\src\Installer\iu.py", line 296, in importHook
ImportError: No module named _winreg"

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

Comment By: Mark Hammond (mhammond)
Date: 2003-05-23 09:45

Message:
Logged In: YES 
user_id=14198

Noting a dupe in
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=741914&group_id=61702

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

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



More information about the Spambayes-bugs mailing list