<type 'exceptions.AttributeError'>
Python 2.6.6: /usr/bin/python
Thu Jul 28 02:54:56 2016

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/python2.6/site-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
  556         """Runs the handler, flushes the streams, and ends the request."""
  557         try:
  558             protocolStatus, appStatus = self.server.handler(self)
  559         except:
  560             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi_fork.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi_fork.WSGIServer object>>
 /usr/lib/python2.6/site-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi_fork.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
 1116         try:
 1117             try:
 1118                 result = self.application(environ, start_response)
 1119                 try:
 1120                     for data in result:
result = None, self = <flup.server.fcgi_fork.WSGIServer object>, self.application = <django.core.handlers.wsgi.WSGIHandler object>, environ = {'DOCUMENT_ROOT': '/var/www/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_HOST': 'www.effettobici.com', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/var/www/effettobici.com/www/effettobici/server.fcgi/', ...}, start_response = <function start_response>
 /opt/django__1.3.4/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={'DOCUMENT_ROOT': '/var/www/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_HOST': 'www.effettobici.com', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/var/www/effettobici.com/www/effettobici/server.fcgi/', ...}, start_response=<function start_response>)
  280         status = '%s %s' % (response.status_code, status_text)
  281         response_headers = [(str(k), str(v)) for k, v in response.items()]
  282         for c in response.cookies.values():
  283             response_headers.append(('Set-Cookie', str(c.output(header=''))))
  284         start_response(status, response_headers)
c undefined, response = <django.http.HttpResponse object>, response.cookies = 'Set-Cookie: csrftoken=iRvlUrCd4a48XPiFXhH4vegjwJ...6 00:48:39 GMT; httponly; Max-Age=1209600; Path=/', response.cookies.values undefined

<type 'exceptions.AttributeError'>: 'str' object has no attribute 'values'
      args = ("'str' object has no attribute 'values'",)
      message = "'str' object has no attribute 'values'"