Trying buildbot on wine; foiled by distutils expecting mscoree to be resident?

Dan Kegel dank at kegel.com
Fri May 1 06:38:31 CDT 2009


I decided to try running buildbot on Wine today.
The installation procedure is roughly
  wine msiexec /i python-2.6.2.msi /qb
  wine Twisted_NoDocs-8.2.0.win32-py2.6.exe

The last bit complains
Traceback (most recent call last):
  File "C:\Python26\scripts\twisted_postinstall.py", line 11, in <module>
    from twisted.scripts import tkunzip
  File "C:\Python26\lib\site-packages\twisted\scripts\tkunzip.py",
line 26, in <module>
    from twisted.internet import reactor, defer
  File "C:\Python26\lib\site-packages\twisted\internet\reactor.py",
line 37, in <module>
    from twisted.internet import selectreactor
  File "C:\Python26\lib\site-packages\twisted\internet\selectreactor.py",
line 21, in <module>
    from twisted.internet import posixbase
  File "C:\Python26\lib\site-packages\twisted\internet\posixbase.py",
line 25, in <module>
    from twisted.internet import tcp, udp
  File "C:\Python26\lib\site-packages\twisted\internet\tcp.py", line
78, in <module>
    from twisted.internet import defer, base, address
  File "C:\Python26\lib\site-packages\twisted\internet\defer.py", line
17, in <module>
    from twisted.python import log, failure, lockfile
  File "C:\Python26\lib\site-packages\twisted\python\lockfile.py",
line 28, in <module>
    from win32api import OpenProcess
ImportError: No module named win32api
and hangs, possibly because of
http://twistedmatrix.com/trac/ticket/3707
so I tried doing
  wine pywin32-212.win32-py2.6.exe
first.  This fails immediately as described in
http://bugs.winehq.org/show_bug.cgi?id=13844
It seems to terminate because it tries to get
a handle to the loaded copy of mscoree.dll
and fails (because there isn't one).

The installer seems to have been created by python's distutils.

Mark Hammond seems to be well aware of low level
issues that affect the installer, see e.g.
http://bugs.python.org/issue5075
so perhaps he could explain why the installer expects
mscoree.dll to be resident...



More information about the wine-devel mailing list