My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Earlier this year

  • Nov 07, 2009
    r138 (Improved the error output when pywin32 is not installed.) committed by jaracosan   -   Improved the error output when pywin32 is not installed.
    Improved the error output when pywin32 is not installed.
  • Oct 12, 2009
    ServingFromRoot (Serving a WSGI app from IIS root) Wiki page commented on by tomqyp   -   isap_wsgi 0.41 can not possible to serve the application from IIS root.
    isap_wsgi 0.41 can not possible to serve the application from IIS root.
  • Sep 21, 2009
    UnderstandingISAPIWSGI (An overview of ISAPI-WSGI and how it works) Wiki page edited by mark.john.rees   -   Revision r137 Edited wiki page through web user interface.
    Revision r137 Edited wiki page through web user interface.
  • Sep 21, 2009
    InstallationInstructions (ISAPI_WSGI 0.4.1 Installation Notes) Wiki page edited by mark.john.rees   -   Revision r136 Correct release month.
    Revision r136 Correct release month.
  • Sep 21, 2009
    UnderstandingISAPIWSGI (An overview of ISAPI-WSGI and how it works) Wiki page edited by mark.john.rees   -   Revision r135 Edited wiki page through web user interface.
    Revision r135 Edited wiki page through web user interface.
  • Sep 21, 2009
    TableOfContents (TOC for isapi_wsgi.) Wiki page edited by mark.john.rees   -   Revision r134 Edited wiki page through web user interface.
    Revision r134 Edited wiki page through web user interface.
  • Sep 21, 2009
    InstallationInstructions (ISAPI_WSGI 0.4.1 Installation Notes) Wiki page edited by mark.john.rees   -   Revision r133 Edited wiki page through web user interface.
    Revision r133 Edited wiki page through web user interface.
  • Sep 21, 2009
    ChangesByVersion (Changes by Version) Wiki page edited by mark.john.rees   -   Revision r132 Edited wiki page through web user interface.
    Revision r132 Edited wiki page through web user interface.
  • Sep 21, 2009
    isapi_wsgi-0.4.1.zip (ISAPI WSGI 0.4.1 Source Distribution) file uploaded by mark.john.rees   -  
    Labels: Featured Type-Source
    Labels: Featured Type-Source
  • Sep 21, 2009
    isapi_wsgi-0.4.1-py2.5.egg (ISAPI WSGI 0.4.1 Python Egg) file uploaded by mark.john.rees   -  
    Labels: Featured
    Labels: Featured
  • Sep 20, 2009
    UnderstandingISAPIWSGI (An overview of ISAPI-WSGI and how it works) Wiki page edited by optilude   -   Revision r131 Edited wiki page through web user interface.
    Revision r131 Edited wiki page through web user interface.
  • Sep 20, 2009
    isapi_wsgi-0.4.1.win32.exe (ISAPI WSGI 0.4.1 Windows Installer) file uploaded by mark.john.rees   -  
    Labels: Featured Type-Installer
    Labels: Featured Type-Installer
  • Sep 20, 2009
    UnderstandingISAPIWSGI (An overview of ISAPI-WSGI and how it works) Wiki page edited by optilude   -   Revision r130 Edited wiki page through web user interface.
    Revision r130 Edited wiki page through web user interface.
  • Sep 20, 2009
    UnderstandingISAPIWSGI (An overview of ISAPI-WSGI and how it works) Wiki page edited by optilude   -   Revision r129 Edited wiki page through web user interface.
    Revision r129 Edited wiki page through web user interface.
  • Sep 20, 2009
    UnderstandingISAPIWSGI (An overview of ISAPI-WSGI and how it works) Wiki page edited by optilude   -   Revision r128 Edited wiki page through web user interface.
    Revision r128 Edited wiki page through web user interface.
  • Sep 20, 2009
    UnderstandingISAPIWSGI (An overview of ISAPI-WSGI and how it works) Wiki page added by optilude   -   Revision r127 Created wiki page through web user interface.
    Revision r127 Created wiki page through web user interface.
  • Sep 20, 2009
    r126 (Tag for 0.4.1 release) committed by mark.john.rees   -   Tag for 0.4.1 release
    Tag for 0.4.1 release
  • Sep 20, 2009
    r125 (Update for 0.4.1 release) committed by mark.john.rees   -   Update for 0.4.1 release
    Update for 0.4.1 release
  • Sep 20, 2009
    ServingFromRoot (Serving a WSGI app from IIS root) Wiki page added by mark.john.rees   -   Revision r124 Created wiki page through web user interface.
    Revision r124 Created wiki page through web user interface.
  • Sep 20, 2009
    TableOfContents (TOC for isapi_wsgi.) Wiki page edited by mark.john.rees   -   Revision r123 Edited wiki page through web user interface.
    Revision r123 Edited wiki page through web user interface.
  • Sep 20, 2009
    TableOfContents (TOC for isapi_wsgi.) Wiki page edited by mark.john.rees   -   Revision r122 Edited wiki page through web user interface.
    Revision r122 Edited wiki page through web user interface.
  • Sep 20, 2009
    r121 (Example to show how to serve a wsgi app from IIS root.) committed by mark.john.rees   -   Example to show how to serve a wsgi app from IIS root.
    Example to show how to serve a wsgi app from IIS root.
  • Sep 20, 2009
    ChangesByVersion (Changes by Version) Wiki page edited by mark.john.rees   -   Revision r120 Update with 0.4.1 release change
    Revision r120 Update with 0.4.1 release change
  • Sep 20, 2009
    r119 (Bumped to 0.4.1 for bug fixes) committed by jaracosan   -   Bumped to 0.4.1 for bug fixes
    Bumped to 0.4.1 for bug fixes
  • Sep 20, 2009
    issue 4 (ValueError thrown when using 0.4 with non-default website) Status changed by jaracosan   -   Fixed in r118. Thanks to rsyring for the report and patch. I remember looking at this a while back, but never got around to fixing the issue. Thanks to Martin for bringing it back on my radar. I decided to take a slightly different approach of using a case-insensitive string class FoldedCaseString. I chose this because I was able to re-use existing code, document the need for this use-case, and (I hope) more clearly describe what's going on in the getISAPIExtensionPath. I realize this may seem like a little overkill, so Mark John Rees, if you would prefer I implement a more direct workaround, just say the word and I'll do it. The current implementation enhances the doctests to ensure that it works, but I haven't exercised it in practice. Please reopen if this doesn't address the issue.
    Status: Fixed
    Fixed in r118. Thanks to rsyring for the report and patch. I remember looking at this a while back, but never got around to fixing the issue. Thanks to Martin for bringing it back on my radar. I decided to take a slightly different approach of using a case-insensitive string class FoldedCaseString. I chose this because I was able to re-use existing code, document the need for this use-case, and (I hope) more clearly describe what's going on in the getISAPIExtensionPath. I realize this may seem like a little overkill, so Mark John Rees, if you would prefer I implement a more direct workaround, just say the word and I'll do it. The current implementation enhances the doctests to ensure that it works, but I haven't exercised it in practice. Please reopen if this doesn't address the issue.
    Status: Fixed
  • Sep 20, 2009
    r118 (Fix for issue4 using FoldedCaseString to split the Applicati...) committed by jaracosan   -   Fix for issue4 using FoldedCaseString to split the Application Metadata Path
    Fix for issue4 using FoldedCaseString to split the Application Metadata Path
  • Sep 20, 2009
    issue 4 (ValueError thrown when using 0.4 with non-default website) Owner changed by jaracosan   -  
    Owner: jaracosan
    Owner: jaracosan
  • Jul 15, 2009
    issue 4 (ValueError thrown when using 0.4 with non-default website) commented on by christia...@interhost.no   -   Maybe the following patch is better, because we're not using the contents of pos (just the length) in my previous quick fix: --- isapi_wsgi.py (revision 117) +++ isapi_wsgi.py (working copy) @@ -231,8 +231,7 @@ # extension in the metabase then assume that '/ROOT/' is the root! # It will be something like MD='/LM/W3SVC/1/ROOT/test' appl_md_path = ecb_server_vars["APPL_MD_PATH"] - site, pos = appl_md_path.split("/ROOT", 1) - return pos + return appl_md_path[appl_md_path.upper().index("/ROOT") + 5:] # len("/ROOT") = 5, return path after /ROOT in appl_md_path class ISAPIInputWrapper: # Based on ModPythonInputWrapper in mp_wsgi_handler.py
    Maybe the following patch is better, because we're not using the contents of pos (just the length) in my previous quick fix: --- isapi_wsgi.py (revision 117) +++ isapi_wsgi.py (working copy) @@ -231,8 +231,7 @@ # extension in the metabase then assume that '/ROOT/' is the root! # It will be something like MD='/LM/W3SVC/1/ROOT/test' appl_md_path = ecb_server_vars["APPL_MD_PATH"] - site, pos = appl_md_path.split("/ROOT", 1) - return pos + return appl_md_path[appl_md_path.upper().index("/ROOT") + 5:] # len("/ROOT") = 5, return path after /ROOT in appl_md_path class ISAPIInputWrapper: # Based on ModPythonInputWrapper in mp_wsgi_handler.py
  • Jul 14, 2009
    issue 4 (ValueError thrown when using 0.4 with non-default website) commented on by christia...@interhost.no   -   Also including the patch verbatim: --- isapi_wsgi.py (revision 117) +++ isapi_wsgi.py (working copy) @@ -231,8 +231,8 @@ # extension in the metabase then assume that '/ROOT/' is the root! # It will be something like MD='/LM/W3SVC/1/ROOT/test' appl_md_path = ecb_server_vars["APPL_MD_PATH"] - site, pos = appl_md_path.split("/ROOT", 1) - return pos + site, pos = appl_md_path.upper().split("/ROOT", 1) + return appl_md_path[-len(pos):] class ISAPIInputWrapper: # Based on ModPythonInputWrapper in mp_wsgi_handler.py
    Also including the patch verbatim: --- isapi_wsgi.py (revision 117) +++ isapi_wsgi.py (working copy) @@ -231,8 +231,8 @@ # extension in the metabase then assume that '/ROOT/' is the root! # It will be something like MD='/LM/W3SVC/1/ROOT/test' appl_md_path = ecb_server_vars["APPL_MD_PATH"] - site, pos = appl_md_path.split("/ROOT", 1) - return pos + site, pos = appl_md_path.upper().split("/ROOT", 1) + return appl_md_path[-len(pos):] class ISAPIInputWrapper: # Based on ModPythonInputWrapper in mp_wsgi_handler.py
  • Jul 14, 2009
    issue 4 (ValueError thrown when using 0.4 with non-default website) commented on by christia...@interhost.no   -   It seems that /Root, /ROOT and /root (at least) are possible paths. So the split should probably be case insensitive. A quick patch is attached. (Using upper case variant of the string for split, and then return the last characters from string (same length as pos).)
    It seems that /Root, /ROOT and /root (at least) are possible paths. So the split should probably be case insensitive. A quick patch is attached. (Using upper case variant of the string for split, and then return the last characters from string (same length as pos).)
  • May 01, 2009
    issue 4 (ValueError thrown when using 0.4 with non-default website) Status changed by mark.john.rees   -  
    Status: Accepted
    Status: Accepted
  • Apr 24, 2009
    issue 4 (ValueError thrown when using 0.4 with non-default website) commented on by rsyring   -   My code change above isn't right, it messes up `pos`. Probably better would be: site, pos = appl_md_path.replace('/Root', '/ROOT', 1).split("/ROOT", 1)
    My code change above isn't right, it messes up `pos`. Probably better would be: site, pos = appl_md_path.replace('/Root', '/ROOT', 1).split("/ROOT", 1)
  • Apr 24, 2009
    issue 4 (ValueError thrown when using 0.4 with non-default website) reported by rsyring   -   What steps will reproduce the problem? - setup a website in IIS 6.0 (not the default one) - manually setup isapi-wsgi for that website Here is the exception I see: Traceback (most recent call last): File "C:\Python25\Lib\site-packages\isapi\threaded_extension.py", line 110, in DispatchConnection self.Dispatch(control_block) File "D:\websites\gradekeeper.rcslocal.com\isapi-wsgi\isapi_wsgi.py", line 433, in Dispatch _run_app(self.rootapp, self.apps, ecb) File "D:\websites\gradekeeper.rcslocal.com\isapi-wsgi\isapi_wsgi.py", line 375, in _run_app path_info = interpretPathInfo(ecb_dict, apps.keys()) File "D:\websites\gradekeeper.rcslocal.com\isapi-wsgi\isapi_wsgi.py", line 194, in interpretPathInfo IIS_EXTENSION_PATH = getISAPIExtensionPath(ecb_server_vars) File "D:\websites\gradekeeper.rcslocal.com\isapi-wsgi\isapi_wsgi.py", line 235, in getISAPIExtensionPath site, pos = appl_md_path.split("/ROOT", 1) ValueError: need more than 1 value to unpack Upon further research, I was able to determine that the appl_md_path string is different: # from default website /LM/W3SVC/1/ROOT/isapi-wsgi-test # from non-default website /LM/W3SVC/1874390919/Root Note the case difference. I solved the problem by changing line 234 of isapi_wsgi to: site, pos = appl_md_path.upper().split("/ROOT", 1)
    What steps will reproduce the problem? - setup a website in IIS 6.0 (not the default one) - manually setup isapi-wsgi for that website Here is the exception I see: Traceback (most recent call last): File "C:\Python25\Lib\site-packages\isapi\threaded_extension.py", line 110, in DispatchConnection self.Dispatch(control_block) File "D:\websites\gradekeeper.rcslocal.com\isapi-wsgi\isapi_wsgi.py", line 433, in Dispatch _run_app(self.rootapp, self.apps, ecb) File "D:\websites\gradekeeper.rcslocal.com\isapi-wsgi\isapi_wsgi.py", line 375, in _run_app path_info = interpretPathInfo(ecb_dict, apps.keys()) File "D:\websites\gradekeeper.rcslocal.com\isapi-wsgi\isapi_wsgi.py", line 194, in interpretPathInfo IIS_EXTENSION_PATH = getISAPIExtensionPath(ecb_server_vars) File "D:\websites\gradekeeper.rcslocal.com\isapi-wsgi\isapi_wsgi.py", line 235, in getISAPIExtensionPath site, pos = appl_md_path.split("/ROOT", 1) ValueError: need more than 1 value to unpack Upon further research, I was able to determine that the appl_md_path string is different: # from default website /LM/W3SVC/1/ROOT/isapi-wsgi-test # from non-default website /LM/W3SVC/1874390919/Root Note the case difference. I solved the problem by changing line 234 of isapi_wsgi to: site, pos = appl_md_path.upper().split("/ROOT", 1)
  • Mar 22, 2009
    Index (Index) Wiki page edited by mark.john.rees
  • Mar 22, 2009
    Index (Index) Wiki page edited by mark.john.rees
  • Mar 22, 2009
    IntegrationWithTG (Serving TurboGears or CherryPy with ISAPI WSGI) Wiki page edited by mark.john.rees
  • Mar 22, 2009
    Index (Index) Wiki page edited by mark.john.rees
  • Mar 22, 2009
    TableOfContents (TOC for isapi_wsgi.) Wiki page edited by mark.john.rees
  • Mar 22, 2009
    IntegrationWithTG (Serving TurboGears or CherryPy with ISAPI WSGI) Wiki page edited by mark.john.rees
  • Mar 10, 2009
    issue 3 (two argument readlines() required for newer cgi.py) Labels changed by mark.john.rees   -  
    Labels: Milestone-Release0.4
    Labels: Milestone-Release0.4
  • Mar 10, 2009
    issue 2 (isapi_wsgi doesn't provide remote IP address to apps) Labels changed by mark.john.rees   -  
    Labels: Milestone-Release0.4
    Labels: Milestone-Release0.4
  • Mar 10, 2009
    IntegrationWithDjango (How to use Django or Pinax with isapi_wsgi.) Wiki page edited by mark.john.rees
  • Mar 10, 2009
    IntegrationWithDjango (How to use Django or Pinax with isapi_wsgi.) Wiki page edited by mark.john.rees
  • Mar 10, 2009
    IntegrationWithDjango (How to use Django or Pinax with isapi_wsgi.) Wiki page edited by mark.john.rees
  • Mar 09, 2009
    IntegrationWithDjango (How to use Django or Pinax with isapi_wsgi.) Wiki page edited by mark.john.rees
  • Mar 09, 2009
    IntegrationWithDjango (How to use Django or Pinax with isapi_wsgi.) Wiki page edited by mark.john.rees
  • Mar 09, 2009
    ServingAPylonsAppWithIIS (Serving a Pylons App with IIS) Wiki page edited by mark.john.rees
  • Mar 09, 2009
    IntegrationWithDjango (How to use Django or Pinax with isapi_wsgi.) Wiki page edited by mark.john.rees
  • Mar 09, 2009
    Index (Index) Wiki page added by mark.john.rees
  • Mar 09, 2009
    TableOfContents (TOC for isapi_wsgi.) Wiki page edited by mark.john.rees
 
Hosted by Google Code