Ticket #814 (defect)
Opened 2 months ago
Last modified 4 weeks ago
Custom error Functions dont work
Status: closed (worksforme)
| Reported by: | atlantis@abi-2004.info | Assigned to: | fumanchu |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | CherryPy code | Keywords: | |
| Cc: |
Tryed to create a Function for Errorhandling as described in http://www.cherrypy.org/wiki/ErrorsAndExceptions -> Anticipated HTTP responses but i end up with "In addition, the custom error page failed: coercing to Unicode: need string or buffer, function found" Im using CherryPy 3.1.0beta3
Change History
05/15/08 00:38:43: Modified by fumanchu
- status changed from new to assigned.
- milestone set to 3.1.
06/29/08 14:33:08: Modified by fumanchu
- status changed from assigned to closed.
- resolution set to worksforme.


The ability to provide an error-handler function (as described in that section) was only added in revision [1949], and there were several revisions before that which were tagged as "3.1beta3". Please confirm you have the latest revision; test_core.py shows it works at least minimally, and that looks like exactly the sort of error you would receive with a slightly older revision.