[spambayes-bugs] [ spambayes-Bugs-941639 ] Module 'pywintypes'
isn't in frozen sys.path directories
SourceForge.net
noreply at sourceforge.net
Sun May 2 23:30:54 EDT 2004
Bugs item #941639, was opened at 2004-04-25 01:42
Message generated for change (Comment added) made by mrpowell
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=941639&group_id=61702
Category: Outlook
Group: Binary 1.0b1
Status: Open
Resolution: None
Priority: 9
Submitted By: mrpowell (mrpowell)
Assigned to: Mark Hammond (mhammond)
Summary: Module 'pywintypes' isn't in frozen sys.path directories
Initial Comment:
Unable to register addin in Outlook 2000 SR1
9.0.0.5414 / Microsoft Windows 98 4.10.2222 A.
I uninstalled the Spambayes-outlook-0081 because I
could never get it to register as an addin. (consistent
error) and tried the latest release 1.0b1 and it failed
also. I ran regsvr32.exe outlook_addin.dll as described
in the trouble shooting guide and the windows error was
that it could not locate a file to execute. This is the
same error I get every time I try to install. I purged all
references to spambayes from the registry before trying
the latest fresh install. This is the log from the latest
two failed attempts with 1.0.b1:
Traceback (most recent call last):
File "addin.py", line 33, in ?
File "win32com\__init__.pyc", line 6, in ?
File "C:\PROGRAM
FILES\SPAMBAYES\lib\spambayes.zip\pythoncom.pyc",
line 2, in ?
#@c
File "C:\PROGRAM
FILES\SPAMBAYES\lib\spambayes.zip\pywintypes.pyc",
line 69, in ?
File "C:\PROGRAM
FILES\SPAMBAYES\lib\spambayes.zip\pywintypes.pyc",
line 45, in __import_pywin32_system_module__
ImportError: Module 'pywintypes' isn't in frozen sys.path
directories
Traceback (most recent call last):
File "addin.py", line 33, in ?
File "win32com\__init__.pyc", line 6, in ?
File "C:\PROGRAM
FILES\SPAMBAYES\lib\spambayes.zip\pythoncom.pyc",
line 2, in ?
#@c
File "C:\PROGRAM
FILES\SPAMBAYES\lib\spambayes.zip\pywintypes.pyc",
line 69, in ?
File "C:\PROGRAM
FILES\SPAMBAYES\lib\spambayes.zip\pywintypes.pyc",
line 45, in __import_pywin32_system_module__
ImportError: Module 'pywintypes' isn't in frozen sys.path
directories
my paths:
C:\Program Files\SpamBayes
D:\Program Files\Microsoft Office\Office\Outlook.exe
C:\WINDOWS\Application Data\Microsoft\Outlook
C:\WINDOWS\Profiles\Marc Powell\Application
Data\Microsoft\Outlook
What is a 'pywintypes' module and where is it located?
Which of my sys.path directories do I have to stick in
the freezer before I can copy the 'pywintypes' module
into it?
Any help will be greatly appreciated as this has become
a personal challenge.
Marc Powell
----------------------------------------------------------------------
>Comment By: mrpowell (mrpowell)
Date: 2004-05-02 23:30
Message:
Logged In: YES
user_id=1028635
Thank you anadelonbrin for responding.
I do not have Python installed.
Why would the pywintypes.pyc file cause a problem on each
and every install from a number of different (fresh) downloads
from different mirrors, especially with a total registry crawl to
remove all traces of the previous install?
"You could try running the plug-in from source and seeing if
that works" what do you mean "from source"?
Can I replace the pywintypes.pyc file with a known good file?
----------------------------------------------------------------------
Comment By: Tony Meyer (anadelonbrin)
Date: 2004-05-02 23:01
Message:
Logged In: YES
user_id=552329
The pywintypes module is a file that should be in the
spambayes.zip file in the lib directory where spambayes was
installed.
It's not necessarily a path issue, because the file that's
raising the error is the pywintypes.pyc file itself.
Do you have Python installed by any chance? If so, is it
the build from python.org or the ActiveState one (or another
one)?
You could try running the plug-in from source and seeing if
that works.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=941639&group_id=61702
More information about the Spambayes-bugs
mailing list