Ticket #803 (enhancement)
Opened 9 months ago
Last modified 6 months ago
Patch for running under Google App Engine
Status: closed (fixed)
| Reported by: | fmcingvale@gmail.com | Assigned to: | fumanchu |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | CherryPy code | Keywords: | |
| Cc: |
I've been working on getting CherryPy to run under Google's App Engine. My notes are here. I had to make a small patch to CherryPy. As is, you cannot even import cherrypy because wsgiserver/__init__.py makes reference to socket._fileobject in several places. My crude solution was just to remove the SSL code, but I'm assuming there is a better way to do this! Here is my patch. (I could only get this to work with the CherryPy 3.1.0beta.)
Change History
06/28/08 20:24:55: Modified by fumanchu
- owner changed from rdelon to fumanchu.
- status changed from new to assigned.
- milestone set to 3.1.
06/28/08 20:46:14: Modified by nick@nick125.com
I tested this (http://cpytest.appspot.com) and it works in r1994.
06/28/08 20:49:30: Modified by fumanchu
- status changed from assigned to closed.
- resolution set to fixed.


Fixed in [1994], I hope. It may not be...we still import cgi.py, which imports urllib, which imports socket. But maybe GAE has its own versions of those modules. Can someone test?