Pylons/webob — Issue #12: Yet Another Encoding Error
Author: lajujula
Created: 2011-11-21 17:21:17+00:00
State: open

I was peacefully using paste when you start taliking about encoding in #11 issue :)

Here how the webserver is talking to me now.
Anybody can help ?
Regards.

File "/home/digy/temp/pyenf/lib/python2.7/site-packages/paste/
httpserver.py", line 1068, in process_request_in_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 323, in
finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 639, in __init__
self.handle()
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/paste/
httpserver.py", line 442, in handle
BaseHTTPRequestHandler.handle(self)
File "/usr/lib/python2.7/BaseHTTPServer.py", line 343, in handle
self.handle_one_request()
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/paste/
httpserver.py", line 437, in handle_one_request
self.wsgi_execute()
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/paste/
httpserver.py", line 287, in wsgi_execute
self.wsgi_start_response)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/paste/
cascade.py", line 130, in __call__
return self.apps[-1](environ, start_response)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/paste/
registry.py", line 379, in __call__
app_iter = self.application(environ, start_response)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/pylons/
middleware.py", line 163, in __call__
self.app, new_environ, catch_exc_info=True)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/pylons/
util.py", line 48, in call_wsgi_application
app_iter = application(environ, start_response)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/weberror/
errormiddleware.py", line 156, in __call__
return self.application(environ, start_response)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/tg/
configuration.py", line 825, in remover
return app(environ, start_response)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/repoze/tm/
__init__.py", line 24, in __call__
result = self.application(environ, save_status_and_headers)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/repoze/who/
middleware.py", line 65, in __call__
ids = self.identify(environ, classification)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/repoze/who/
middleware.py", line 162, in identify
identity = plugin.identify(environ)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/repoze/who/
plugins/friendlyform.py", line 122, in identify
request = Request(environ, charset=self.charset)
File "/home/digy/temp/pyenf/lib/python2.7/site-packages/webob/
request.py", line 124, in __init__
"req.decode(charset)``" % charset
DeprecationWarning: You passed charset='iso-8859-1' to the Request
constructor. As of WebOb 1.2, if your application needs a non-UTF-8
request charset, please construct the request without a charset or
with a charset of 'None', then use ``req = req.decode(charset)``