Dear all,

I'm relatively new to pyramid and tried today to install a new
environment on a fresh Ubuntu 11.10. Everything seems to work, except
when I try to access the default page on 12.0.0.1:6543 (Internal
Server Error). Can anyone point out my mistake? Or is this a bug?

Here's what I did:
sudo easy_install virtualenv
virtualenv --no-site-packages env
cd env
bin/easy_install pyramid
bin/paster create -t pyramid_routesalchemy app
cd app
../bin/python setup.py develop
../bin/python setup.py test -q
../bin/paster serve development.ini

Here's the error in the browser on 127.0.0.1:6543:
Internal Server Error

Here's the output of paster when I try to access the default location:
Exception happened during processing of request from ('127.0.0.1',
43564)
Traceback (most recent call last):
  File "/home/x/WWW/C/env/local/lib/python2.7/site-packages/
Paste-1.7.5.1-py2.7.egg/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/x/WWW/C/env/local/lib/python2.7/site-packages/
Paste-1.7.5.1-py2.7.egg/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/x/WWW/C/env/local/lib/python2.7/site-packages/
Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 437, in
handle_one_request
    self.wsgi_execute()
  File "/home/x/WWW/C/env/local/lib/python2.7/site-packages/
Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 287, in
wsgi_execute
    self.wsgi_start_response)
  File "/home/x/WWW/C/env/local/lib/python2.7/site-packages/
pyramid-1.2.1-py2.7.egg/pyramid/router.py", line 176, in __call__
    response = self.handle_request(request)
  File "/home/x/WWW/C/env/local/lib/python2.7/site-packages/
pyramid_debugtoolbar-0.9.4-py2.7.egg/pyramid_debugtoolbar/toolbar.py",
line 105, in toolbar_tween
    toolbar = DebugToolbar(request, panel_classes)
  File "/home/x/WWW/C/env/local/lib/python2.7/site-packages/
pyramid_debugtoolbar-0.9.4-py2.7.egg/pyramid_debugtoolbar/toolbar.py",
line 27, in __init__
    p_dt_active = url_unquote(self.request.cookies.get('p_dt_active',
''))
  File "/usr/lib/python2.7/urllib.py", line 1203, in unquote
    res = s.split('%')
AttributeError: 'NoneType' object has no attribute 'split'
----------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to