hello all,
I've just discovered web.py and I tried the hello world example in the
cookbook webpage (http://webpy.org/cookbook/helloworld).
Unfortunately, it fails with this error message:

Traceback (most recent call last):
  File "/home/lbolla/junk/web/wsgiserver/__init__.py", line 1159, in
communicate
    req.parse_request()
  File "/home/lbolla/junk/web/wsgiserver/__init__.py", line 304, in
parse_request
    self._parse_request()
  File "/home/lbolla/junk/web/wsgiserver/__init__.py", line 317, in
_parse_request
    request_line = self.rfile.readline()
  File "/home/lbolla/junk/web/wsgiserver/__init__.py", line 212, in
readline
    data = self.rfile.readline(256)
  File "/home/lbolla/junk/web/wsgiserver/__init__.py", line 1000, in
readline
    nl = data.find('\n', 0, size)
AttributeError: 'cStringIO.StringO' object has no attribute 'find'

It appears to be a known issue with the python version I'm using:
$ python -V
Python 2.5.2

This is the web.py version I'm using (clone from github):
>>> import web
>>> web.__version__
'0.3'

Any possibility of fixing this problem?

Thank you,
Lorenzo.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to