[spambayes-dev] FW: [Spambayes] Problem with Spam
bayesinstallation on Windows 2000pc
Mark Hammond
mhammond at skippinet.com.au
Wed Nov 19 18:23:35 EST 2003
Kenny:
> I have all 3 typelibs on my system, so don't know if I'm getting the
> complete picture. When I run from the py2exe binary, I've
> never gotten
> an error and it hasn't generated any new wrapper classes into the
> dist\bin or dist\lib directories.
Excellent - that is the correct behaviour. It should be exactly the same
regardless of what typelibs you have installed - including *none* of them.
The intent now is that win32com.gen_py knows it is frozen, so *never*
attempts to load typelibs, for either generation or version checking
purposes. This has performance advantages even in the usual case when the
typelibs are all installed.
> I'll try removing any wrappers from
> site-packages\win32com\gen_py and my temp dir and run again
> to make sure
> nothing gets regenerated elsewhere.
Hopefully your installed Python and the py2exe dll should not be able to
conflict, even if they wanted to! If you can trick anything into failing
that smells like it might be related, let me know.
> FYI, I installed the trial version of InBoxer and it has the same
> problem since it is based on the old plug-in binary mechanism. It
> created a support\gen_py subdirectory in the app dir and wrote new
> wrappers for my 9.2 typelib.
Yeah, the "old" way sucks for a number of reasons :)
Mark.
More information about the spambayes-dev
mailing list