After a system upgrade I found that web2py 1.96.4 breaks with pywin32
2.16. It works fine with pywin32 2.14. The installation features
mercurial 1.7.5. I can't use mercurial 1.8.4 because it breaks my trac
0.12.2 installation.
With web2py 1.96.4, pywin32 2.16, mercurial 1.7.5 I see the following
error:
Traceback (most recent call last):
File "D:\\Home\\web\\web2py\\gluon\\main.py", line 516, in wsgibase
session._try_store_on_disk(request, response)
File "D:\\Home\\web\\web2py\\gluon\\globals.py", line 494, in
_try_store_on_disk
portalocker.lock(response.session_file, portalocker.LOCK_EX)
File "C:\\Apps\\Python27\\lib\\site-packages\\mercurial\
\demandimport.py", line 75, in __getattribute__
self._load()
File "C:\\Apps\\Python27\\lib\\site-packages\\mercurial\
\demandimport.py", line 47, in _load
mod = _origimport(head, globals, locals)
File "D:\\Home\\web\\web2py\\gluon\\portalocker.py", line 69, in
<module>
__overlapped = pywintypes.OVERLAPPED()
File "C:\\Apps\\Python27\\lib\\site-packages\\mercurial\
\demandimport.py", line 75, in __getattribute__
self._load()
File "C:\\Apps\\Python27\\lib\\site-packages\\mercurial\
\demandimport.py", line 47, in _load
mod = _origimport(head, globals, locals)
File "C:\\Apps\\Python27\\lib\\site-packages\\win32\\lib\
\pywintypes.py", line 124, in <module>
__import_pywin32_system_module__("pywintypes", globals())
File "C:\\Apps\\Python27\\lib\\site-packages\\win32\\lib\
\pywintypes.py", line 98, in __import_pywin32_system_module__
raise ImportError("No system module \'%s\' (%s)" % (modname,
filename))
ImportError: No system module \'pywintypes\' (pywintypes27.dll)