[web2py] Re: fyi: web2py 1.96.4 breaks with pywin32-2.16 - fine with pywin32-2.14

2011-06-16 Thread baloan
My setup involves an apache 2.2.17, mod_wsgi 3.3, python 2.7.2, trac 0.12.2, mercurial 1.8.4. Two issues surfaced: 1. mercurial demandimport initialization order 2. mercurial unable to load DLLs in site-packages. I solved the problem as follows: 1. change hgwebdir.wsgi to disable demandimport: f

[web2py] Re: fyi: web2py 1.96.4 breaks with pywin32-2.16 - fine with pywin32-2.14

2011-06-16 Thread baloan
No, this is a fresh install from the Windows source version of www.web2py.com. The error occured when asking for /admin. To me it seems like the portalocker.lock(response.session_file, portalocker.LOCK_EX) call imports pywin32 & mercurial(!) in a strange way. Regards, Andreas On Jun 15, 11:14 pm,

[web2py] Re: fyi: web2py 1.96.4 breaks with pywin32-2.16 - fine with pywin32-2.14

2011-06-15 Thread Massimo Di Pierro
This traceback is not compatible with the code: try: ... import pywintypes os_locking = 'windows' except: pass if os_locking == 'windows': __overlapped = pywintypes.OVERLAPPED() Did you change the code? On Jun 15, 3:39 pm, baloan wrote: > After a system upgrade I fo