python manage py runserver home pilgrim venv venv-gallup local lib pyt

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$ python manage.py runserver
/home/pilgrim/venv/venv-gallup/local/lib/python2.7/site-packages/sorl/thumbnail/helpers.py:5: DeprecationWarning: django.utils.simplejson is deprecated; use json instead.
from django.utils import simplejson
/home/pilgrim/venv/venv-gallup/local/lib/python2.7/site-packages/sorl/thumbnail/helpers.py:5: DeprecationWarning: django.utils.simplejson is deprecated; use json instead.
from django.utils import simplejson
Validating models...
0 errors found
April 10, 2014 - 14:36:06
Django version 1.6.2, using settings 'main.settings.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
# сервер заработал, я иду на 127.0.0.1:8000
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 86, in run
self.finish_response()
File "/usr/lib/python2.7/wsgiref/handlers.py", line 126, in finish_response
for data in self.result:
File "/home/pilgrim/venv/venv-gallup/local/lib/python2.7/site-packages/raven/middleware.py", line 32, in __call__
self.client.http_context(self.get_http_context(environ))
File "/home/pilgrim/venv/venv-gallup/local/lib/python2.7/site-packages/raven/contrib/django/models.py", line 50, in <lambda>
__getattr__ = lambda x, o: getattr(get_client(), o)
File "/home/pilgrim/venv/venv-gallup/local/lib/python2.7/site-packages/raven/contrib/django/models.py", line 131, in get_client
options.setdefault('key', ga('KEY', md5(django_settings.SECRET_KEY.encode('utf8')).hexdigest()))
AttributeError: 'bool' object has no attribute 'encode'
[10/Apr/2014 14:36:17] "GET / HTTP/1.1" 500 59