[Spambayes] Building SpamBayes

Anand Deshmukh chatterad at yahoo.com
Thu Feb 5 09:23:16 EST 2004


Hello Everyone!
Warm Greetings!

I am building SpamBayes from the source code. I have
Win2K with Outlook 2K on my machine. I have
Python2.3.3 installed. I also have win32all-163
installed. I downloaded the spambayes-1.0a7 source
from site.

To build SpamBayes, I am using McMillan's installer
installer_5b5_5. When I go to the DOS prompt and after
going to Installer's location I type:

Build.py <pathToSpecFile>\spambayes_addin.spec

All goes well with some warnings (warnings file is
attached) and spambayes_addin.dll is created. But the
problem is when I use regsvr32 to register the dll, it
never comes back and the dll is not registered.
Support dir is created with only one type library
entry i.e.
"00062FFF-0000-0000-C000-000000000046x0x9x0". The
other two dont come. The __init__.py file which is
created is blank. The dicts.dat file is created with
only these lines: 

I1
.(dp1
.

Am I missing any thing here? Am I doing any thing
wrong? Please help me as I really want to build
SpamBayes and then use it. I have also attached a
CmdLineOutput.txt file which lists all the command
line messages I get.

Any pointers will be really appreciated.

Many thanks in advance,
Anand.


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
-------------- next part --------------
W: no module named MacOS (conditional import by py_compile)
W: no module named win32com.client.constants (top-level import by addin)
W: no module named gdbm (top-level import by anydbm)
W: no module named win32ui (delayed import by win32com.client.makepy)
W: no module named dialogs.MakePropertyPage (top-level import by dialogs.wizard_processors)
W: no module named psycopg (delayed import by spambayes.storage)
W: no module named win32com.client.getevents (top-level import by addin)
W: no module named pwd (delayed, conditional import by posixpath)
W: no module named org (top-level import by pickle)
W: no module named pywin (delayed import by win32com.server.dispatcher)
W: no module named MySQLdb (delayed import by spambayes.storage)
W: no module named pywin (delayed, conditional import by win32com.client.makepy)
W: no module named dialogs.SetWaitCursor (delayed import by tester)
W: no module named bsddb3 (delayed import by tester)
W: no module named bsddb3 (top-level import by manager)
W: no module named readline (delayed import by pdb)
W: no module named dialogs.ShowDialog (top-level import by dialogs.dialog_map)
W: no module named dialogs.MakePropertyPage (top-level import by dialogs.dialog_map)
W: no module named pwd (delayed import by getpass)
W: no module named posix (delayed, conditional import by iu)
W: no module named win32com.client.CastTo (top-level import by addin)
W: no module named org (top-level import by copy)
W: no module named dbm (top-level import by whichdb)
W: no module named win32com.client.WithEvents (top-level import by addin)
W: no module named readline (delayed, conditional import by cmd)
W: no module named EasyDialogs (conditional import by getpass)
W: no module named SOCKS (top-level import by ftplib)
W: no module named win32com.client._get_good_object_ (top-level import by win32com.client.util)
W: no module named ic (delayed import by urllib)
W: no module named dbm (top-level import by anydbm)
W: no module named dialogs.ShowDialog (top-level import by dialogs.wizard_processors)
W: no module named pywin (delayed import by win32com.client.makepy)
W: no module named dialogs.SetWaitCursor (delayed import by manager)
W: no module named bsddb3 (delayed import by spambayes.dbmstorage)
W: no module named posix (conditional import by os)
W: no module named win32com.client.DispatchWithEvents (top-level import by addin)
W: no module named dialogs.ShowWizard (top-level import by dialogs.dialog_map)
W: no module named win32com.client.constants (top-level import by msgstore)
W: no module named win32com.client.constants (top-level import by tester)
W: no module named pywin (delayed import by win32com.client.selecttlb)
W: no module named rourl2path (conditional import by urllib)
W: no module named gdbm (delayed import by spambayes.dbmstorage)
W: no module named Carbon (conditional import by tempfile)
W: delayed conditional __import__ hack detected at line 0 - anydbm (C:\Python23\lib\anydbm.pyc)
W: __all__ is built strangely at line 0 - tokenize (C:\Python23\lib\tokenize.pyc)
W: delayed conditional __import__ hack detected at line 0 - dialogs (C:\spambayes-1.0a7\Outlook2000\dialogs\__init__.pyc)
W: delayed conditional __import__ hack detected at line 0 - dialogs (C:\spambayes-1.0a7\Outlook2000\dialogs\__init__.pyc)
W: delayed  exec statment detected at line 0 - bdb (C:\Python23\lib\bdb.pyc)
W: delayed  eval hack detected at line 0 - bdb (C:\Python23\lib\bdb.pyc)
W: delayed  eval hack detected at line 0 - bdb (C:\Python23\lib\bdb.pyc)
W: delayed  exec statment detected at line 0 - doctest (C:\Python23\lib\doctest.pyc)
W: delayed conditional __import__ hack detected at line 0 - doctest (C:\Python23\lib\doctest.pyc)
W: delayed  __import__ hack detected at line 0 - pickle (C:\Python23\lib\pickle.pyc)
W: delayed  __import__ hack detected at line 0 - pickle (C:\Python23\lib\pickle.pyc)
W: delayed conditional eval hack detected at line 0 - dumbdbm (C:\Python23\lib\dumbdbm.pyc)
W: delayed  eval hack detected at line 0 - config (C:\spambayes-1.0a7\Outlook2000\config.pyc)
W: delayed conditional eval hack detected at line 0 - gopherlib (C:\Python23\lib\gopherlib.pyc)
W: delayed  __import__ hack detected at line 0 - encodings (C:\Python23\lib\encodings\__init__.pyc)
W: delayed conditional __import__ hack detected at line 0 - encodings (C:\Python23\lib\encodings\__init__.pyc)
W: __all__ is built strangely at line 0 - re (C:\Python23\lib\re.pyc)
W: __all__ is built strangely at line 0 - dis (C:\Python23\lib\dis.pyc)
W: delayed  __import__ hack detected at line 0 - win32com.server.policy (C:\Python23\lib\site-packages\win32com\server\policy.pyc)
W: delayed conditional eval hack detected at line 0 - warnings (C:\Python23\lib\warnings.pyc)
W: delayed conditional __import__ hack detected at line 0 - warnings (C:\Python23\lib\warnings.pyc)
W: delayed  eval hack detected at line 0 - random (C:\Python23\lib\random.pyc)
W: __all__ is built strangely at line 0 - fcntl (C:\Python23\lib\fcntl.pyc)
W: delayed  exec statment detected at line 0 - pdb (C:\Python23\lib\pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb (C:\Python23\lib\pdb.pyc)
W: delayed  eval hack detected at line 0 - pdb (C:\Python23\lib\pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb (C:\Python23\lib\pdb.pyc)
W: delayed  eval hack detected at line 0 - pdb (C:\Python23\lib\pdb.pyc)
W: __all__ is built strangely at line 0 - termios (C:\Python23\lib\termios.pyc)
W: delayed conditional exec statment detected at line 0 - iu (C:\Installer\iu.pyc)
W: delayed conditional exec statment detected at line 0 - iu (C:\Installer\iu.pyc)
W: delayed  exec statment detected at line 0 - win32com.client.dynamic (C:\Python23\lib\site-packages\win32com\client\dynamic.pyc)
W: delayed  eval hack detected at line 0 - mhlib (C:\Python23\lib\mhlib.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest (C:\Python23\lib\unittest.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest (C:\Python23\lib\unittest.pyc)
W: delayed  exec statment detected at line 0 - cgi (C:\Python23\lib\cgi.pyc)
W: delayed  exec statment detected at line 0 - socket (C:\Python23\lib\socket.pyc)
W: delayed conditional __import__ hack detected at line 0 - win32com.client.gencache (C:\Python23\lib\site-packages\win32com\client\gencache.pyc)
W: delayed  __import__ hack detected at line 0 - win32com.client.gencache (C:\Python23\lib\site-packages\win32com\client\gencache.pyc)
W: delayed  eval hack detected at line 0 - os (C:\Python23\lib\os.pyc)
W: __all__ is built strangely at line 0 - __future__ (C:\Python23\lib\__future__.pyc)
W: delayed  __import__ hack detected at line 0 - win32com.client.makepy (C:\Python23\lib\site-packages\win32com\client\makepy.pyc)
W: top-level conditional exec statment detected at line 0 - bsddb (C:\Python23\lib\bsddb\__init__.pyc)
-------------- next part --------------
  DeprecationWarning)
checking Analysis
building Analysis because out0.toc non existent
running Analysis out0.toc
Analyzing: C:\Installer/support/_mountzlib.py
Analyzing: C:\Installer/support/useUnicode.py
Analyzing: C:/spambayes-1.0a7/Outlook2000/installer/spambayes_addin.py
W: pythoncom is changing it's name to pythoncom23
W: pywintypes is changing it's name to PyWinTypes23
Warnings written to C:\spambayes-1.0a7\Outlook2000\installer\warnspambayes_addin
.txt
checking PYZ
rebuilding out1.toc because out1.pyz is missing
building PYZ out1.toc
checking PKG
rebuilding out3.toc because out3.pkg is missing
building PKG out3.pkg
checking DLL
rebuilding out2.toc because spambayes_addin.dll missing
building DLL out2.toc
checking COLLECT
building out4.toc because out4.toc missing
building COLLECT out4.toc


More information about the Spambayes mailing list