Skip to content

Instantly share code, notes, and snippets.

@riltsken
Created October 24, 2012 23:45
Show Gist options
  • Save riltsken/3949642 to your computer and use it in GitHub Desktop.
Save riltsken/3949642 to your computer and use it in GitHub Desktop.
googlebot + emovolution wishing me happy birthday
Traceback (most recent call last):
File "/home/live/env/emo/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/live/sites/emo/../emo/journal/views.py", line 195, in summary
'searchform': searchform}, context_instance=RequestContext(request))
File "/home/live/env/emo/lib/python2.6/site-packages/django/shortcuts/__init__.py", line 20, in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/loader.py", line 188, in render_to_string
return t.render(context_instance)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 123, in render
return self._render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 117, in _render
return self.nodelist.render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 744, in render
bits.append(self.render_node(node, context))
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node
return node.render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/loader_tags.py", line 127, in render
return compiled_parent._render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 117, in _render
return self.nodelist.render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 744, in render
bits.append(self.render_node(node, context))
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node
return node.render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/loader_tags.py", line 127, in render
return compiled_parent._render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 117, in _render
return self.nodelist.render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 744, in render
bits.append(self.render_node(node, context))
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node
return node.render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/loader_tags.py", line 64, in render
result = block.nodelist.render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 744, in render
bits.append(self.render_node(node, context))
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node
return node.render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/loader_tags.py", line 64, in render
result = block.nodelist.render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 744, in render
bits.append(self.render_node(node, context))
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 757, in render_node
return node.render(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/defaulttags.py", line 184, in render
values = self.sequence.resolve(context, True)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 510, in resolve
obj = self.var.resolve(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 653, in resolve
value = self._resolve_lookup(context)
File "/home/live/env/emo/lib/python2.6/site-packages/django/template/base.py", line 698, in _resolve_lookup
current = current()
File "/home/live/sites/emo/../emo/journal/helpers.py", line 89, in get_blurbs
blurbs.insert(0,self.happy_birthday())
File "/home/live/sites/emo/../emo/journal/helpers.py", line 279, in happy_birthday
return "Happy birthday %s!" % (profile.user.username)
NameError: global name 'profile' is not defined
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTENT_LENGTH': '',
'CONTENT_TYPE': '',
'CSRF_COOKIE': '5c251993f87153cd4cf1fb893f0550d1',
'HTTP_ACCEPT': '*/*',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
'HTTP_CONNECTION': 'close',
'HTTP_FROM': 'googlebot(at)googlebot.com',
'HTTP_HOST': 'www.emovolution.com',
'HTTP_IF_MODIFIED_SINCE': 'Tue, 23 Oct 2012 03:46:38 GMT',
'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)',
'HTTP_X_FORWARDED_FOR': '66.249.73.69',
'PATH_INFO': u'/u/rilt/',
'QUERY_STRING': '',
'RAW_URI': '/u/rilt/',
'REMOTE_ADDR': '66.249.73.69',
'REMOTE_PORT': '80',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'www.emovolution.com',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.0',
'SERVER_SOFTWARE': 'gunicorn/0.12.1',
'gunicorn.socket': <socket._socketobject object at 0xd20f3e4>,
'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb75170d0>,
'wsgi.input': <gunicorn.http.body.Body object at 0xd44006c>,
'wsgi.multiprocess': False,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment