RuntimeError: maximum recursion depth exceeded

23 views
Skip to first unread message

Pavel Paulau

unread,
Sep 21, 2011, 6:44:56 AM9/21/11
to pylons-...@googlegroups.com
Hi,

Everything is ok at linux, but at windows I simply can't write data to response.

import shutil
with open(tempname, 'r') as f:
    shutil.copyfileobj(f, response)

http://pylonshq.com/tracebacks/7a01e6d2f787a714f917266bdf32bc43

Mike Orr

unread,
Sep 23, 2011, 1:09:30 PM9/23/11
to pylons-...@googlegroups.com
Check if you have WebOb 1.1 installed, and if so downgrade to WebOb
1.0.7. (Put "WebOb==1.0.7" in your application's setup.py and run
your preferred pip/easy_install command.) There's an incompatibility
between Pylons 1 and WebOb 1.1 that causes a recursion error. However,
I would have expected the error to occur earlier, at application
startup. Still, this may be it.

--
Mike Orr <slugg...@gmail.com>

Reply all
Reply to author
Forward
0 new messages