[IronPython] CherryPy on IronPython update

Sanghyeon Seo sanxiyn at gmail.com
Thu Sep 7 11:26:12 CEST 2006


This post updates:
http://lists.ironpython.com/pipermail/users-ironpython.com/2006-May/002254.html

Summary: it's still flaky. At least on Mono, it randomly segfaults.
However, the patch is much shorter.

Files are available on the same place:
http://sparcs.kaist.ac.kr/~tinuviel/fepy/ironcherry/

My test environment is now Mono 1.1.17.1 and IronPython 1.0 Production.

Changes since Beta 6:
* patch-lib, a patch to inspect.py is needed no more. Mono bug on
GetEncodings() which it avoids is long fixed.
* IronPython's comparison bug involving None is long fixed.
* IronPython now has datetime.datetime class. Reverted patch on
timestamping code and sessionfilter.
* gzipfilter patch and cptools eval patch remains.

Current status:

tinuviel at tinuviel:~/sandbox$ ~/devel/fepy/1.0/ipy.exe test.py
sys:1: UserWarning: Your installation of Python doesn't have a profile
module. If you're on Debian, you can apt-get python2.4-profiler from
non-free in a separate step. See
http://www.cherrypy.org/wiki/ProfilingOnDebian for details.
07/Sep/2006:18:21:46 CONFIG INFO Server parameters:
07/Sep/2006:18:21:46 CONFIG INFO   server.environment: development
07/Sep/2006:18:21:46 CONFIG INFO   server.log_to_screen: True
07/Sep/2006:18:21:46 CONFIG INFO   server.log_file:
07/Sep/2006:18:21:46 CONFIG INFO   server.log_tracebacks: True
07/Sep/2006:18:21:46 CONFIG INFO   server.log_request_headers: True
07/Sep/2006:18:21:46 CONFIG INFO   server.protocol_version: HTTP/1.0
07/Sep/2006:18:21:46 CONFIG INFO   server.socket_host:
07/Sep/2006:18:21:46 CONFIG INFO   server.socket_port: 8080
07/Sep/2006:18:21:46 CONFIG INFO   server.socket_file:
07/Sep/2006:18:21:46 CONFIG INFO   server.reverse_dns: False
07/Sep/2006:18:21:46 CONFIG INFO   server.socket_queue_size: 5
07/Sep/2006:18:21:46 CONFIG INFO   server.thread_pool: 10
07/Sep/2006:18:21:46 HTTP INFO Serving HTTP on http://localhost:8080/

Accessing http://localhost:8080/

127.0.0.1 - - [07/Sep/2006:18:22:19] "GET / HTTP/1.1" 200 - ""
"Mozilla/5.0 (X11; U; Linux i686; ko-KR; rv:1.8.0.6) Gecko/20060728
Firefox/1.5.0.6 (Debian-1.5.dfsg+1.5.0.6-3)"

Log is printed, but content is *not* displayed. If you reload, page
build time and size is displayed, but content is still not. If you try
other URL, it segfaults instead of showing nice 404 page with a
traceback.

Seo Sanghyeon



More information about the Ironpython-users mailing list