Pylons/pyramid_debugtoolbar — Issue #39: error with webob1.2b1
Author: aodag
Created: 2011-10-15 03:07:15+00:00
State: open

using with webob1.2b1 causes error.
webob1.1 works well.

Exception happened during processing of request from ('127.0.0.1', 50762)
Traceback (most recent call last):
File "/Users/sin/.virtualenvs/py2.7.2/lib/python2.7/site-packages/paste/httpserver.py", line 1068, in process_request_in_thread
self.finish_request(request, client_address)
File "/Users/sin/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/Users/sin/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/SocketServer.py", line 639, in __init__
self.handle()
File "/Users/sin/.virtualenvs/py2.7.2/lib/python2.7/site-packages/paste/httpserver.py", line 442, in handle
BaseHTTPRequestHandler.handle(self)
File "/Users/sin/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/BaseHTTPServer.py", line 343, in handle
self.handle_one_request()
File "/Users/sin/.virtualenvs/py2.7.2/lib/python2.7/site-packages/paste/httpserver.py", line 437, in handle_one_request
self.wsgi_execute()
File "/Users/sin/.virtualenvs/py2.7.2/lib/python2.7/site-packages/paste/httpserver.py", line 287, in wsgi_execute
self.wsgi_start_response)
File "/Users/sin/.virtualenvs/py2.7.2/lib/python2.7/site-packages/pyramid/router.py", line 176, in __call__
response = self.handle_request(request)
File "/Users/sin/.virtualenvs/py2.7.2/lib/python2.7/site-packages/pyramid_debugtoolbar/toolbar.py", line 105, in toolbar_tween
toolbar = DebugToolbar(request, panel_classes)
File "/Users/sin/.virtualenvs/py2.7.2/lib/python2.7/site-packages/pyramid_debugtoolbar/toolbar.py", line 27, in __init__
p_dt_active = url_unquote(self.request.cookies.get('p_dt_active', ''))
File "/Users/sin/.pythonbrew/pythons/Python-2.7.2/lib/python2.7/urllib.py", line 1186, in unquote
res = s.split('%')
AttributeError: 'NoneType' object has no attribute 'split'