[pywin32-bugs] [ pywin32-Bugs-2164420 ] win32trace not working as expected: IIS 7
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2008-12-30 12:34:31
|
Bugs item #2164420, was opened at 2008-10-14 07:00 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2164420&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Jason R. Coombs (jaraco) Assigned to: Nobody/Anonymous (nobody) Summary: win32trace not working as expected: IIS 7 Initial Comment: I'm using pywin32-212 on Python 2.5.2 (32-bit) on Windows Vista (64-bit). I'm trying to wire up a WSGI application in IIS using isapi-wsgi, but I find that the win32traceutil isn't logging anything. I've started the collector process using: python -m win32traceutil. I've tested it by running: python -c "import win32traceutil; print 'working'" and note that the collector prints the string. I've installed IIS 7 with IIS 6 WMI compatibility. I've created a 32-bit application pool. I've created a web site assigned to a 32-bit application pool (called Legacy Development). Then, I copy isapi/samples/test.py to /inetpub/isapi_test. I modify it by adding the following to the section indicated by "default response": print 'This should show up in the trace util' Then install the isapi test using: .\test.py install "--server=Legacy Development" The app installs correctly, so I browse to http://url.to.the.server/PyISAPITest and I get the default response in the browser, but nothing is logged to the win32trace collector. I expect that "This should show up in the trace util" should appear in the collector. What more can I do to investigate/workaround/resolve the issue? ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2008-12-30 23:34 Message: WFM with the following fix: Checking in win32trace.cpp; new revision: 1.19; previous revision: 1.18 ---------------------------------------------------------------------- Comment By: Jason R. Coombs (jaraco) Date: 2008-10-15 03:43 Message: Further testing confirms this problem does not exhibit itself on IIS 5.1 (Windows XP), so the problem appears to be isolated to IIS 7 (maybe 6) or Windows Vista. ---------------------------------------------------------------------- Comment By: Jason R. Coombs (jaraco) Date: 2008-10-15 01:35 Message: I've performed additional testing on a 32-bit Vista machine. The behavior is the same... win32traceutil does not receive any output from the ISAPI process. Therefore, the problem is not related to the 64-bit platform aspects. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2164420&group_id=78018 |