Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260387 - dev-python/cherrypy-3.1.1 version bump
Summary: dev-python/cherrypy-3.1.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 15:27 UTC by Vincent Legoll
Modified: 2009-02-28 19:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Legoll 2009-02-26 15:27:10 UTC
cherrypy 3.1.0 & python 2.5.x+ fail to run the simple code sample on cherrypy's front web page...

Reproducible: Always

Steps to Reproduce:
1. emerge cherrypy
2. run python
3. copy/paste code from http://www.cherrypy.org/
4. direct your web browser to 127.0.0.1:8080


Actual Results:  
5. stare at the backtrace:

Traceback (most recent call last):
  File "//usr/lib64/python2.5/site-packages/cherrypy/wsgiserver/__init__.py", line 983, in communicate
    req.parse_request()
  File "//usr/lib64/python2.5/site-packages/cherrypy/wsgiserver/__init__.py", line 304, in parse_request
    self._parse_request()
  File "//usr/lib64/python2.5/site-packages/cherrypy/wsgiserver/__init__.py", line 317, in _parse_request
    request_line = self.rfile.readline()
  File "//usr/lib64/python2.5/site-packages/cherrypy/wsgiserver/__init__.py", line 212, in readline
    data = self.rfile.readline(256)
  File "//usr/lib64/python2.5/site-packages/cherrypy/wsgiserver/__init__.py", line 823, in readline
    nl = data.find('\n', 0, size)
AttributeError: 'cStringIO.StringO' object has no attribute 'find'


Expected Results:  
5. Read the "Hello World!" page

The bug is listed as fixed in 3.1.1
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-02-26 15:32:45 UTC
Reassigning to python herd.
Comment 2 Patrick Lauer gentoo-dev 2009-02-28 19:02:17 UTC
+  28 Feb 2009; Patrick Lauer <patrick@gentoo.org> +cherrypy-3.1.1.ebuild:
+  Bump to 3.1.1, closes #260387