This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 172272 - cherrypy-2.1 breaks with quixote templates
cherrypy-2.1 breaks with quixote templates
Product: Fedora
Classification: Fedora
Component: python-cherrypy (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Gijs Hollestelle
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2005-11-02 00:56 EST by Toshio Kuratomi
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-02 22:23:58 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Toshio Kuratomi 2005-11-02 00:56:53 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
On upgrading from python-cherrypy-2.0.0 to python-cherrypy-2.1.0, my web applications broke.  They use the quixote PTL templating language and there's some bad interaction going on.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cherrypy/", line 273, in run
  File "/usr/lib/python2.4/site-packages/cherrypy/", line 641, in applyFilters
  File "/usr/lib/python2.4/site-packages/cherrypy/lib/filter/", line 62, in beforeFinalize
    body = ''.join([chunk for chunk in cherrypy.response.body])
TypeError: iteration over non-sequence

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install the two attached files.
2. ./
3. firefox http://localhost:8888/
4. Observe the traceback

Actual Results:  cherrypy tracebacks.

Expected Results:  Display my web application.

Additional info:

Upstream bug report:
Comment 1 Toshio Kuratomi 2005-11-02 22:23:58 EST
Well, upstream didn't like either of my approaches to fixing the problem but
suggested an alternative involving defining a QuixoteFilter.  See the upstream
ticket for the solutions.

An example QuixoteFilter could be a good document to reference for people
migrating but otherwise this is NOTABUG.

Note You need to log in before you can comment on or make changes to this bug.