Skip to content

Instantly share code, notes, and snippets.

@bbrodriges
Created January 16, 2012 10:53
Show Gist options
  • Save bbrodriges/1620222 to your computer and use it in GitHub Desktop.
Save bbrodriges/1620222 to your computer and use it in GitHub Desktop.
Bottlepy trace
Traceback (most recent call last):
File "index.py", line 5, in <module>
from routes import root #importing site routes
File "lib/routes.py", line 10, in <module>
user = users.User()
File "lib/users.py", line 16, in __init__
self.credentials = self.validate()
File "lib/users.py", line 66, in validate
uid = request.get_cookie( '__utmb' , secret = self.COOKIE_SECRET_KEY )
File "/usr/local/lib/python2.7/dist-packages/bottle.py", line 911, in get_cookie
value = self.cookies.get(key)
File "/usr/local/lib/python2.7/dist-packages/bottle.py", line 155, in __get__
key, storage = self.key, getattr(obj, self.attr)
AttributeError: 'LocalRequest' object has no attribute 'environ'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment