[spambayes-dev] Compilation & translation quest.

Âàñèê Àëåêñåé avasik at gmail.com
Fri Jul 1 12:27:57 CEST 2005


Sorry for my bad English, it is not my native language.

Yesterday I've just finished translate an Outlook addin to RUSSIA
lang.

But! There is a big problem:

For the first, I try to compile a "clean dist" sources of 1.1a1
Installed tools are
py2exe-0.5.4.win32-py2.4.exe
python-2.4.1.msi
pywin32-204.win32-py2.4.exe
ResourcePackage-1.0.0.win32.exe
InnoSetup (fresh)

Being guided by the text of the readme-devel.txt --
 o Run the setup.py file in the spambayes/Outlook2000/docs directory
   to generate the dynamic documentation.
Ran it
 o Run sb_server and open the web interface.  This gets resourcepackage
   to generate the needed files.
Yes
 o Replace the __init__.py file in spambayes/spambayes/resources with
   a blank file to disable resourcepackage.
Empty
 o Ensure that the version numbers in spambayes/spambayes/__init__.py
   and spambayes/spambayes/Version.py are up-to-date.
Don' touch
 o Ensure that you don't have any other copies of spambayes in your
   PYTHONPATH, or py2exe will pick these up!  If in doubt, run
   setup.py install.
Yes
 o Run the "setup_all.py" script in the spambayes/windows/py2exe/
   directory. This uses py2exe to create the files that Inno will install.
The result is :
[skipped]
creating C:\SPAMBAYES\windows\py2exe\build\bdist.win32
creating C:\SPAMBAYES\windows\py2exe\build\bdist.win32\winexe
creating C:\SPAMBAYES\windows\py2exe\build\bdist.win32\winexe\collect
creating C:\SPAMBAYES\windows\py2exe\build\bdist.win32\winexe\temp
creating C:\SPAMBAYES\windows\py2exe\dist
creating C:\SPAMBAYES\windows\py2exe\dist\lib
creating C:\SPAMBAYES\windows\py2exe\dist\bin
*** generate typelib stubs ***
creating C:\SPAMBAYES\windows\py2exe\build\bdist.win32\winexe\temp\win32com
creating C:\SPAMBAYES\windows\py2exe\build\bdist.win32\winexe\temp\win32com\gen_py
Traceback (most recent call last):
  File "C:\SPAMBAYES\windows\py2exe\setup_all.py", line 187, in ?
    zipfile = "lib/spambayes.modules",
  File "C:\Python24\lib\distutils\core.py", line 149, in setup
    dist.run_commands()
  File "C:\Python24\lib\distutils\dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "C:\Python24\lib\distutils\dist.py", line 966, in run_command
    cmd_obj.run()
  File "C:\Python24\Lib\site-packages\py2exe\build_exe.py", line 183, in run
    self._run()
  File "C:\Python24\Lib\site-packages\py2exe\build_exe.py", line 214, in _run
    self.typelibs)
  File "C:\Python24\Lib\site-packages\py2exe\build_exe.py", line 1254, in collect_win32com_genpy
    mod = gencache.GetModuleForTypelib(*info)
  File "C:\Python24\Lib\site-packages\win32com\client\gencache.py", line 258, in GetModuleForTypelib
    mod = _GetModule(modName)
  File "C:\Python24\Lib\site-packages\win32com\client\gencache.py", line 629, in _GetModule
    mod = __import__(mod_name)
ImportError: No module named 00062FFF-0000-0000-C000-000000000046x0x9x0

So I got only iss file without any needed files in py2exe\dist\

Whats the problem ? I think there's my mistakes, but where I mistake ?


Thanx for the GREAT WORK for ALL TEAM MEMBERS! Russia stay with you :)

Alexei






More information about the spambayes-dev mailing list