Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TemplateSyntaxError at /tweets/following/hawkz/
- Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.
- Original Traceback (most recent call last):
- File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py", line 71, in render_node
- result = node.render(context)
- File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/defaulttags.py", line 148, in render
- nodelist.append(node.render(context))
- File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/defaulttags.py", line 385, in render
- raise e
- NoReverseMatch: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.
- Request Method: GET
- Request URL: http://pywm.eu/tweets/following/hawkz/
- Exception Type: TemplateSyntaxError
- Exception Value:
- Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.
- Original Traceback (most recent call last):
- File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py", line 71, in render_node
- result = node.render(context)
- File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/defaulttags.py", line 148, in render
- nodelist.append(node.render(context))
- File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/defaulttags.py", line 385, in render
- raise e
- NoReverseMatch: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.
- Exception Location: /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py in render_node, line 81
- Python Executable: /usr/bin/python
- Python Version: 2.5.2
- Python Path: ['/var/local/webapps/newpywm/project/pythonme/apps', '/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/pinax/apps', '/var/local/webapps/newpywm/project', '/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg', '/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/pip-0.6.1-py2.5.egg', '/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Markdown-2.0.3-py2.5.egg', '/usr/lib/python2.5/site-packages/Pyrex-0.9.8.5-py2.5.egg', '/usr/lib/python2.5/site-packages/python_memcached-1.45-py2.5.egg', '/usr/lib/python2.5/site-packages/vobject-0.8.1c-py2.5.egg', '/usr/lib/python2.5/site-packages/python_dateutil-1.4.1-py2.5.egg', '/usr/lib/python2.5/site-packages/pyparsing-1.5.5-py2.5.egg', '/usr/lib/python2.5/site-packages/django_xmlrpc-0.1.2-py2.5.egg', '/usr/lib/python2.5/site-packages/akismet-0.2.0-py2.5.egg', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/pip-0.8-py2.5.egg', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/opt/rpc-for-django', '/opt/oneshotbuffer', '/usr/lib/python2.5/site-packages/PIL', '/opt/PSI/lib/python2.5/site-packages', '/var/lib/python-support/python2.5', '/usr/lib/thyme', '/usr/lib/thyme/thyme2', '/etc/thyme.d']
- Server time: Sat, 26 Nov 2011 08:22:47 +0000
- Template error
- In template /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/pinax/templates/default/microblogging/following.html, error at line 15
- Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.
- 5
- 6 {% block head_title %}{% blocktrans %}{{ other_user }} is Following{% endblocktrans %}{% endblock %}
- 7
- 8 {% block body %}
- 9 <h1>{% blocktrans %}{{ other_user }} is Following{% endblocktrans %}</h1>
- 10
- 11 {% url profile_detail other_user.username as other_user_url %}
- 12 <p>{% blocktrans %}Users whose tweets <a href="{{ other_user_url }}">{{ other_user }}</a> is following:{% endblocktrans %}</p>
- 13
- 14 {% if follow_list %}
- 15 {% for following_user in follow_list %}
- 16 {# @@@ this is common code from all profiles list -- refactor #}
- 17 <div class="profile clearfix">
- 18 {# @@@ factor out style into css file #}
- 19 <div style="float: left;">{% avatar following_user 40 %}</div>
- 20 <div style="padding: 5px; margin-left: 50px;"><a href="{% url profile_detail following_user.username %}">{{ following_user }}</a></div>
- 21 </div>
- 22 {% endfor %}
- 23 {% else %}
- 24 <p>{% trans 'Not following anyone.' %}</p>
- 25 {% endif %}
- Traceback Switch to copy-and-paste view
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/core/handlers/base.py in get_response
- 84. # Apply view middleware
- 85. for middleware_method in self._view_middleware:
- 86. response = middleware_method(request, callback, callback_args, callback_kwargs)
- 87. if response:
- 88. return response
- 89.
- 90. try:
- 91. response = callback(request, *callback_args, **callback_kwargs) ...
- 92. except Exception, e:
- 93. # If the view raised an exception, run it through exception
- 94. # middleware, and if the exception middleware returns a
- 95. # response, use that. Otherwise, reraise the exception.
- 96. for middleware_method in self._exception_middleware:
- 97. response = middleware_method(request, e)
- ▶ Local vars
- Variable Value
- callback
- <function following at 0x428fc80>
- callback_args
- (u'hawkz',)
- callback_kwargs
- {}
- e
- TemplateSyntaxError(u"Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.",)
- exc_info
- (<class 'django.template.TemplateSyntaxError'>, TemplateSyntaxError(u"Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.",), <traceback object at 0x5b04710>)
- exceptions
- <module 'django.core.exceptions' from '/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/core/exceptions.pyc'>
- middleware_method
- <bound method DBLogMiddleware.process_exception of <djangodblog.middleware.DBLogMiddleware object at 0x37cf110>>
- receivers
- [(<function _rollback_on_exception at 0x27775f0>, None)]
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- resolver
- <RegexURLResolver pythonme.urls ^/>
- response
- None
- self
- <django.core.handlers.wsgi.WSGIHandler object at 0x25bf910>
- settings
- <django.conf.LazySettings object at 0x21cc890>
- urlconf
- 'pythonme.urls'
- urlresolvers
- <module 'django.core.urlresolvers' from '/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/core/urlresolvers.pyc'>
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/microblogging/views.py in following
- 90. def following(request, username, template_name="microblogging/following.html"):
- 91. """
- 92. a list of users the given user is following.
- 93. """
- 94. other_user = get_object_or_404(User, username=username)
- 95. following = Following.objects.filter(follower_object_id=other_user.id, follower_content_type=ContentType.objects.get_for_model(other_user))
- 96. follow_list = [u.followed_content_object for u in following]
- 97. return _follow_list(request, other_user, follow_list, template_name) ...
- 98.
- 99. def toggle_follow(request, username):
- 100. """
- 101. Either follow or unfollow a user.
- 102. """
- 103. other_user = get_object_or_404(User, username=username)
- ▶ Local vars
- Variable Value
- follow_list
- [<User: zeth>, None]
- following
- [<Following: Following object>, <Following: Following object>]
- other_user
- <User: hawkz>
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- template_name
- 'microblogging/following.html'
- u
- <Following: Following object>
- username
- u'hawkz'
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/microblogging/views.py in _follow_list
- 72. def _follow_list(request, other_user, follow_list, template_name):
- 73. # the only difference between followers/following views is template
- 74. # this function captures the similarity
- 75.
- 76. return render_to_response(template_name, {
- 77. "other_user": other_user,
- 78. "follow_list": follow_list,
- 79. }, context_instance=RequestContext(request)) ...
- 80.
- 81. def followers(request, username, template_name="microblogging/followers.html"):
- 82. """
- 83. a list of users following the given user.
- 84. """
- 85. other_user = get_object_or_404(User, username=username)
- ▶ Local vars
- Variable Value
- follow_list
- [<User: zeth>, None]
- other_user
- <User: hawkz>
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- template_name
- 'microblogging/following.html'
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/shortcuts/__init__.py in render_to_response
- 11.
- 12. def render_to_response(*args, **kwargs):
- 13. """
- 14. Returns a HttpResponse whose content is filled with the result of calling
- 15. django.template.loader.render_to_string() with the passed arguments.
- 16. """
- 17. httpresponse_kwargs = {'mimetype': kwargs.pop('mimetype', None)}
- 18. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) ...
- 19.
- 20. def _get_queryset(klass):
- 21. """
- 22. Returns a QuerySet from a Model, Manager, or QuerySet. Created to make
- 23. get_object_or_404 and get_list_or_404 more DRY.
- 24. """
- ▶ Local vars
- Variable Value
- args
- ('microblogging/following.html', {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>})
- httpresponse_kwargs
- {'mimetype': None}
- kwargs
- {'context_instance': [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]}
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader.py in render_to_string
- 100. t = select_template(template_name)
- 101. else:
- 102. t = get_template(template_name)
- 103. if context_instance:
- 104. context_instance.update(dictionary)
- 105. else:
- 106. context_instance = Context(dictionary)
- 107. return t.render(context_instance) ...
- 108.
- 109. def select_template(template_name_list):
- 110. "Given a list of template names, returns the first that can be loaded."
- 111. for template_name in template_name_list:
- 112. try:
- 113. return get_template(template_name)
- ▶ Local vars
- Variable Value
- context_instance
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- dictionary
- {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}
- t
- <django.template.Template object at 0x4bad350>
- template_name
- 'microblogging/following.html'
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 169. def __iter__(self):
- 170. for node in self.nodelist:
- 171. for subnode in node:
- 172. yield subnode
- 173.
- 174. def render(self, context):
- 175. "Display stage -- can be called many times"
- 176. return self.nodelist.render(context) ...
- 177.
- 178. def compile_string(template_string, origin):
- 179. "Compiles template_string into NodeList ready for rendering"
- 180. if settings.TEMPLATE_DEBUG:
- 181. from debug import DebugLexer, DebugParser
- 182. lexer_class, parser_class = DebugLexer, DebugParser
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- self
- <django.template.Template object at 0x4bad350>
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 760. # extend_nodelist().
- 761. contains_nontext = False
- 762.
- 763. def render(self, context):
- 764. bits = []
- 765. for node in self:
- 766. if isinstance(node, Node):
- 767. bits.append(self.render_node(node, context)) ...
- 768. else:
- 769. bits.append(node)
- 770. return mark_safe(''.join([force_unicode(b) for b in bits]))
- 771.
- 772. def get_nodes_by_type(self, nodetype):
- 773. "Return a list of all nodes of the given type"
- ▶ Local vars
- Variable Value
- bits
- []
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- node
- <ExtendsNode: extends "microblogging/base.html">
- self
- [<ExtendsNode: extends "microblogging/base.html">]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py in render_node
- 64. def compile_function_error(self, token, e):
- 65. if not hasattr(e, 'source'):
- 66. e.source = token.source
- 67.
- 68. class DebugNodeList(NodeList):
- 69. def render_node(self, node, context):
- 70. try:
- 71. result = node.render(context) ...
- 72. except TemplateSyntaxError, e:
- 73. if not hasattr(e, 'source'):
- 74. e.source = node.source
- 75. raise
- 76. except Exception, e:
- 77. from sys import exc_info
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- e
- TemplateSyntaxError(u"Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.",)
- node
- <ExtendsNode: extends "microblogging/base.html">
- self
- [<ExtendsNode: extends "microblogging/base.html">]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader_tags.py in render
- 90. # the first non-text node you can stop looking.
- 91. break
- 92. else:
- 93. # Keep any existing parents and add a new one. Used by BlockNode.
- 94. parent_block.parent = block_node.parent
- 95. parent_block.add_parent(parent_block.nodelist)
- 96. parent_block.nodelist = block_node.nodelist
- 97. return compiled_parent.render(context) ...
- 98.
- 99. class ConstantIncludeNode(Node):
- 100. def __init__(self, template_path):
- 101. try:
- 102. t = get_template(template_path)
- 103. self.template = t
- ▶ Local vars
- Variable Value
- block_node
- <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>
- compiled_parent
- <django.template.Template object at 0x4ed5590>
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- n
- <Block Node: subnav. Contents: [<Text Node: ' <ul> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff031be90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff031b0d0>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff05a2b90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff0444e50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff0444290>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x57b4d50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4c50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x5056090>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4610>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x59c4850>, <Text Node: '</a></li> </ul> '>]>
- node
- <ExtendsNode: extends "site_base.html">
- parent_blocks
- {u'body_class': <Block Node: body_class. Contents: [<Text Node: 'tweets'>]>, u'subnav': <Block Node: subnav. Contents: [<Text Node: ' <ul> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff031be90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff031b0d0>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff05a2b90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff0444e50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff0444290>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x57b4d50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4c50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x5056090>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4610>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x59c4850>, <Text Node: '</a></li> </ul> '>]>}
- self
- <ExtendsNode: extends "microblogging/base.html">
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 169. def __iter__(self):
- 170. for node in self.nodelist:
- 171. for subnode in node:
- 172. yield subnode
- 173.
- 174. def render(self, context):
- 175. "Display stage -- can be called many times"
- 176. return self.nodelist.render(context) ...
- 177.
- 178. def compile_string(template_string, origin):
- 179. "Compiles template_string into NodeList ready for rendering"
- 180. if settings.TEMPLATE_DEBUG:
- 181. from debug import DebugLexer, DebugParser
- 182. lexer_class, parser_class = DebugLexer, DebugParser
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- self
- <django.template.Template object at 0x4ed5590>
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 760. # extend_nodelist().
- 761. contains_nontext = False
- 762.
- 763. def render(self, context):
- 764. bits = []
- 765. for node in self:
- 766. if isinstance(node, Node):
- 767. bits.append(self.render_node(node, context)) ...
- 768. else:
- 769. bits.append(node)
- 770. return mark_safe(''.join([force_unicode(b) for b in bits]))
- 771.
- 772. def get_nodes_by_type(self, nodetype):
- 773. "Return a list of all nodes of the given type"
- ▶ Local vars
- Variable Value
- bits
- []
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- node
- <ExtendsNode: extends "site_base.html">
- self
- [<ExtendsNode: extends "site_base.html">]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py in render_node
- 64. def compile_function_error(self, token, e):
- 65. if not hasattr(e, 'source'):
- 66. e.source = token.source
- 67.
- 68. class DebugNodeList(NodeList):
- 69. def render_node(self, node, context):
- 70. try:
- 71. result = node.render(context) ...
- 72. except TemplateSyntaxError, e:
- 73. if not hasattr(e, 'source'):
- 74. e.source = node.source
- 75. raise
- 76. except Exception, e:
- 77. from sys import exc_info
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- e
- TemplateSyntaxError(u"Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.",)
- node
- <ExtendsNode: extends "site_base.html">
- self
- [<ExtendsNode: extends "site_base.html">]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader_tags.py in render
- 90. # the first non-text node you can stop looking.
- 91. break
- 92. else:
- 93. # Keep any existing parents and add a new one. Used by BlockNode.
- 94. parent_block.parent = block_node.parent
- 95. parent_block.add_parent(parent_block.nodelist)
- 96. parent_block.nodelist = block_node.nodelist
- 97. return compiled_parent.render(context) ...
- 98.
- 99. class ConstantIncludeNode(Node):
- 100. def __init__(self, template_path):
- 101. try:
- 102. t = get_template(template_path)
- 103. self.template = t
- ▶ Local vars
- Variable Value
- block_node
- <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>
- compiled_parent
- <django.template.Template object at 0x7fcff02ba910>
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- n
- <Block Node: extra_body. Contents: []>
- node
- <ExtendsNode: extends "base.html">
- parent_blocks
- {u'extra_body': <Block Node: extra_body. Contents: []>, u'extra_body_base': <Block Node: extra_body_base. Contents: [<Text Node: ' '>, <django.template.SimpleNode object at 0x59ce250>, <Text Node: ' <script type="text/j'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/js/topics.js"></scr'>, <Block Node: extra_body. Contents: []>, <Text Node: ' '>]>, u'extra_head': <Block Node: extra_head. Contents: []>, u'extra_head_base': <Block Node: extra_head_base. Contents: [<Text Node: ' <link rel="styleshee'>, <Variable Node: STATIC_URL>, <Text Node: 'css/site_tabs.css" /> '>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/avatar.css" /> '>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/blogs.css" /> '>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/comments.css" /'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/friends.css" />'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/groups.css" /> '>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/locations.css" '>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/messages.css" /'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/microblogging.c'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/pagination.css"'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/photos.css" /> '>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/tabs.css" /> '>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/topics.css" /> '>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/wiki.css" /> '>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/jquery.autocomp'>, <Variable Node: STATIC_URL>, <Text Node: 'bookmarks/css/bookmarks.c'>, <Block Node: extra_head. Contents: []>, <Text Node: ' '>]>, u'footer': <Block Node: footer. Contents: [<Text Node: ' <div class="legal"> '>, <django.templatetags.i18n.TranslateNode object at 0x4e5c690>, <Text Node: ' '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.CommentNode object at 0x7fcff02c4450>, <Text Node: ' </div> '>]>, u'locale_switcher': <Block Node: locale_switcher. Contents: [<Text Node: ' <form action="'>, <If node>, <Text Node: '" method="post" id="local'>, <For Node: for lang in LANGUAGES, tail_len: 7>, <Text Node: ' </select> </'>]>, u'login': <Block Node: login. Contents: [<Text Node: ' <div class="login-top">'>, <If node>, <Text Node: ' </div> '>]>, u'logo_link_image': <Block Node: logo_link_image. Contents: [<Text Node: '<a href="'>, <django.template.defaulttags.URLNode object at 0x5b30590>, <Text Node: '"><img src="'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/images/logo.png" al'>]>, u'right_tabs': <Block Node: right_tabs. Contents: [<Text Node: ' <ul class="tabs"'>, <django.template.defaulttags.SpacelessNode object at 0x7fcff02b8310>, <Text Node: '</ul> '>]>}
- self
- <ExtendsNode: extends "site_base.html">
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 169. def __iter__(self):
- 170. for node in self.nodelist:
- 171. for subnode in node:
- 172. yield subnode
- 173.
- 174. def render(self, context):
- 175. "Display stage -- can be called many times"
- 176. return self.nodelist.render(context) ...
- 177.
- 178. def compile_string(template_string, origin):
- 179. "Compiles template_string into NodeList ready for rendering"
- 180. if settings.TEMPLATE_DEBUG:
- 181. from debug import DebugLexer, DebugParser
- 182. lexer_class, parser_class = DebugLexer, DebugParser
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- self
- <django.template.Template object at 0x7fcff02ba910>
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 760. # extend_nodelist().
- 761. contains_nontext = False
- 762.
- 763. def render(self, context):
- 764. bits = []
- 765. for node in self:
- 766. if isinstance(node, Node):
- 767. bits.append(self.render_node(node, context)) ...
- 768. else:
- 769. bits.append(node)
- 770. return mark_safe(''.join([force_unicode(b) for b in bits]))
- 771.
- 772. def get_nodes_by_type(self, nodetype):
- 773. "Return a list of all nodes of the given type"
- ▶ Local vars
- Variable Value
- bits
- []
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- node
- <ExtendsNode: extends "base.html">
- self
- [<ExtendsNode: extends "base.html">]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py in render_node
- 64. def compile_function_error(self, token, e):
- 65. if not hasattr(e, 'source'):
- 66. e.source = token.source
- 67.
- 68. class DebugNodeList(NodeList):
- 69. def render_node(self, node, context):
- 70. try:
- 71. result = node.render(context) ...
- 72. except TemplateSyntaxError, e:
- 73. if not hasattr(e, 'source'):
- 74. e.source = node.source
- 75. raise
- 76. except Exception, e:
- 77. from sys import exc_info
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- e
- TemplateSyntaxError(u"Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.",)
- node
- <ExtendsNode: extends "base.html">
- self
- [<ExtendsNode: extends "base.html">]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader_tags.py in render
- 90. # the first non-text node you can stop looking.
- 91. break
- 92. else:
- 93. # Keep any existing parents and add a new one. Used by BlockNode.
- 94. parent_block.parent = block_node.parent
- 95. parent_block.add_parent(parent_block.nodelist)
- 96. parent_block.nodelist = block_node.nodelist
- 97. return compiled_parent.render(context) ...
- 98.
- 99. class ConstantIncludeNode(Node):
- 100. def __init__(self, template_path):
- 101. try:
- 102. t = get_template(template_path)
- 103. self.template = t
- ▶ Local vars
- Variable Value
- block_node
- <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>
- compiled_parent
- <django.template.Template object at 0x4f40fd0>
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- n
- <Block Node: extra_body. Contents: []>
- node
- <django.template.defaulttags.LoadNode object at 0x5b4c690>
- parent_block
- <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>
- parent_blocks
- {u'body': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, u'body_class': <Block Node: body_class. Contents: [<Text Node: 'tweets'>]>, u'body_outer': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>, u'extra_body': <Block Node: extra_body. Contents: []>, u'extra_body_base': <Block Node: extra_body_base. Contents: [<Text Node: ' '>, <django.template.SimpleNode object at 0x59ce250>, <Text Node: ' <script type="text/j'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/js/topics.js"></scr'>, <Block Node: extra_body. Contents: []>, <Text Node: ' '>]>, u'footer': <Block Node: footer. Contents: [<Text Node: ' <div class="legal"> '>, <django.templatetags.i18n.TranslateNode object at 0x4e5c690>, <Text Node: ' '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.CommentNode object at 0x7fcff02c4450>, <Text Node: ' </div> '>]>, u'head_title': <Block Node: head_title. Contents: [<django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0449f10>]>, u'left_tabs': <Block Node: left_tabs. Contents: []>, u'login': <Block Node: login. Contents: [<Text Node: ' <div class="login-top">'>, <If node>, <Text Node: ' </div> '>]>, u'right_tabs': <Block Node: right_tabs. Contents: [<Text Node: ' <ul class="tabs"'>, <django.template.defaulttags.SpacelessNode object at 0x7fcff02b8310>, <Text Node: '</ul> '>]>, u'subnav': <Block Node: subnav. Contents: [<Text Node: ' <ul> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff031be90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff031b0d0>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff05a2b90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff0444e50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff0444290>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x57b4d50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4c50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x5056090>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4610>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x59c4850>, <Text Node: '</a></li> </ul> '>]>, u'subnav_base': <Block Node: subnav_base. Contents: [<Text Node: '<div class="subnav">'>, <Block Node: subnav. Contents: [<Text Node: ' <ul> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff031be90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff031b0d0>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff05a2b90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff0444e50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff0444290>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x57b4d50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4c50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x5056090>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4610>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x59c4850>, <Text Node: '</a></li> </ul> '>]>, <Text Node: '</div>'>]>}
- self
- <ExtendsNode: extends "base.html">
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 169. def __iter__(self):
- 170. for node in self.nodelist:
- 171. for subnode in node:
- 172. yield subnode
- 173.
- 174. def render(self, context):
- 175. "Display stage -- can be called many times"
- 176. return self.nodelist.render(context) ...
- 177.
- 178. def compile_string(template_string, origin):
- 179. "Compiles template_string into NodeList ready for rendering"
- 180. if settings.TEMPLATE_DEBUG:
- 181. from debug import DebugLexer, DebugParser
- 182. lexer_class, parser_class = DebugLexer, DebugParser
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- self
- <django.template.Template object at 0x4f40fd0>
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 760. # extend_nodelist().
- 761. contains_nontext = False
- 762.
- 763. def render(self, context):
- 764. bits = []
- 765. for node in self:
- 766. if isinstance(node, Node):
- 767. bits.append(self.render_node(node, context)) ...
- 768. else:
- 769. bits.append(node)
- 770. return mark_safe(''.join([force_unicode(b) for b in bits]))
- 771.
- 772. def get_nodes_by_type(self, nodetype):
- 773. "Return a list of all nodes of the given type"
- ▶ Local vars
- Variable Value
- bits
- ['', u'\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml" dir="', u'ltr', u'" xml:lang="', u'en-gb', u'" lang="', u'en-gb', u'">\n<head>\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>\n<title>Python West Midlands ', u'None', u' • ', u'hawkz is Following', u'</title>\n<!--[if IE]><style>div { zoom: 1; /* trigger hasLayout */ }</style><![endif]-->\n<link href="/site_media/static/css/style.css" type="text/css" rel="stylesheet" media="screen"/>\n<link rel="stylesheet" href="', u'/site_media/static/', u'pinax/css/facebox.css" />\n', '', u'\n</head>\n<body class="', u'tweets', u'">\n<div id="page">\n\t<div id="header">\n\t\t<div class="row">\n\t\t\t<div class="column grid_12">\n\t\t\t\t', u'\n <ul class="tabs"><li id="tab_profile"><a href="/">Home</a></li><li id="tab_profile"><a href="/profiles/profile/markcroft1975/">Profile</a></li><li id="tab_calendar"><a href="/schedule/">Calendar</a></li><li id="tab_photos"><a href="/photos/">Photos</a></li><li id="tab_blogs"><a href="/blog/">Blogs</a></li><li id="tab_tribes"><a href="/tribes/">Tribes</a></li><li id="tab_tweets"><a href="/tweets/">Tweets</a></li><li id="tab_bookmarks"><a href="/bookmarks/">Bookmarks</a></li><li id="tab_swaps"><a href="/recycle/">Recycle</a></li><li id="tab_locations"><a href="/locations/">Locations</a></li><li id="tab_inbox"><a href="/messages/inbox/">Inbox (0)</a></li></ul>\n', u'\n\t\t\t\t\n\t\t\t\t<h1><a href="', '/', u'">Python West Midlands</a></h1>\n\t\t\t\t', u'\n\t<div class="login-top">\n \n <b>Hi markcroft1975</b><br /><a href="/account/email/">Account</a> | <a href="/openid/logout/?next=/account/logout/">Logout</a>\n \n </div>\n', u'\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\n <div id="content" class="row">\n \t', '', u'\n\t\t<div class="column grid_9">\n\t\t\t']
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- node
- <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>
- self
- [<django.template.defaulttags.LoadNode object at 0x5b4c690>, <Text Node: ' <!DOCTYPE html PUBLIC "-'>, <If node>, <Text Node: '" xml:lang="'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '" lang="'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '"> <head> <meta http-equi'>, <Variable Node: request.subdomain>, <Text Node: ' • '>, <Block Node: head_title. Contents: [<django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0449f10>]>, <Text Node: '</title> <!--[if IE]><sty'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/facebox.css" />'>, <django.template.defaulttags.CommentNode object at 0x7fcff02bddd0>, <Text Node: ' </head> <body class="'>, <Block Node: body_class. Contents: [<Text Node: 'tweets'>]>, <Text Node: '"> <div id="page"> <div '>, <Block Node: right_tabs. Contents: [<Text Node: ' <ul class="tabs"'>, <django.template.defaulttags.SpacelessNode object at 0x7fcff02b8310>, <Text Node: '</ul> '>]>, <Text Node: ' <h1><a href="'>, <django.template.defaulttags.URLNode object at 0x7fcff04a6750>, <Text Node: '">Python West Midlands</a'>, <Block Node: login. Contents: [<Text Node: ' <div class="login-top">'>, <If node>, <Text Node: ' </div> '>]>, <Text Node: ' </div> </div> </di'>, <If node>, <Text Node: ' <div class="column gri'>, <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div clas'>, <Block Node: left_tabs. Contents: []>, <Text Node: ' '>, <Block Node: subnav_base. Contents: [<Text Node: '<div class="subnav">'>, <Block Node: subnav. Contents: [<Text Node: ' <ul> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff031be90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff031b0d0>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff05a2b90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff0444e50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff0444290>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x57b4d50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4c50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x5056090>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4610>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x59c4850>, <Text Node: '</a></li> </ul> '>]>, <Text Node: '</div>'>]>, <Text Node: ' </div> </div> </'>, <Block Node: footer. Contents: [<Text Node: ' <div class="legal"> '>, <django.templatetags.i18n.TranslateNode object at 0x4e5c690>, <Text Node: ' '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.CommentNode object at 0x7fcff02c4450>, <Text Node: ' </div> '>]>, <Text Node: ' '>, <django.template.defaulttags.CommentNode object at 0x5712310>, <Text Node: '</div> </div> </div'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/js/base.js" type="t'>, <Variable Node: STATIC_URL>, <Text Node: 'uni_form/uni-form.jquery.'>, <django.template.loader_tags.ConstantIncludeNode object at 0x5810310>, <Text Node: ' '>, <Block Node: extra_body_base. Contents: [<Text Node: ' '>, <django.template.SimpleNode object at 0x59ce250>, <Text Node: ' <script type="text/j'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/js/topics.js"></scr'>, <Block Node: extra_body. Contents: []>, <Text Node: ' '>]>, <Text Node: ' </body> </html> '>]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py in render_node
- 64. def compile_function_error(self, token, e):
- 65. if not hasattr(e, 'source'):
- 66. e.source = token.source
- 67.
- 68. class DebugNodeList(NodeList):
- 69. def render_node(self, node, context):
- 70. try:
- 71. result = node.render(context) ...
- 72. except TemplateSyntaxError, e:
- 73. if not hasattr(e, 'source'):
- 74. e.source = node.source
- 75. raise
- 76. except Exception, e:
- 77. from sys import exc_info
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- e
- TemplateSyntaxError(u"Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.",)
- node
- <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>
- self
- [<django.template.defaulttags.LoadNode object at 0x5b4c690>, <Text Node: ' <!DOCTYPE html PUBLIC "-'>, <If node>, <Text Node: '" xml:lang="'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '" lang="'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '"> <head> <meta http-equi'>, <Variable Node: request.subdomain>, <Text Node: ' • '>, <Block Node: head_title. Contents: [<django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0449f10>]>, <Text Node: '</title> <!--[if IE]><sty'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/css/facebox.css" />'>, <django.template.defaulttags.CommentNode object at 0x7fcff02bddd0>, <Text Node: ' </head> <body class="'>, <Block Node: body_class. Contents: [<Text Node: 'tweets'>]>, <Text Node: '"> <div id="page"> <div '>, <Block Node: right_tabs. Contents: [<Text Node: ' <ul class="tabs"'>, <django.template.defaulttags.SpacelessNode object at 0x7fcff02b8310>, <Text Node: '</ul> '>]>, <Text Node: ' <h1><a href="'>, <django.template.defaulttags.URLNode object at 0x7fcff04a6750>, <Text Node: '">Python West Midlands</a'>, <Block Node: login. Contents: [<Text Node: ' <div class="login-top">'>, <If node>, <Text Node: ' </div> '>]>, <Text Node: ' </div> </div> </di'>, <If node>, <Text Node: ' <div class="column gri'>, <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div clas'>, <Block Node: left_tabs. Contents: []>, <Text Node: ' '>, <Block Node: subnav_base. Contents: [<Text Node: '<div class="subnav">'>, <Block Node: subnav. Contents: [<Text Node: ' <ul> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff031be90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff031b0d0>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff05a2b90>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7fcff0444e50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x7fcff0444290>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x57b4d50>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4c50>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x5056090>, <Text Node: '</a></li> <li><a '>, <django.template.defaulttags.URLNode object at 0x59c4610>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0x59c4850>, <Text Node: '</a></li> </ul> '>]>, <Text Node: '</div>'>]>, <Text Node: ' </div> </div> </'>, <Block Node: footer. Contents: [<Text Node: ' <div class="legal"> '>, <django.templatetags.i18n.TranslateNode object at 0x4e5c690>, <Text Node: ' '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.CommentNode object at 0x7fcff02c4450>, <Text Node: ' </div> '>]>, <Text Node: ' '>, <django.template.defaulttags.CommentNode object at 0x5712310>, <Text Node: '</div> </div> </div'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/js/base.js" type="t'>, <Variable Node: STATIC_URL>, <Text Node: 'uni_form/uni-form.jquery.'>, <django.template.loader_tags.ConstantIncludeNode object at 0x5810310>, <Text Node: ' '>, <Block Node: extra_body_base. Contents: [<Text Node: ' '>, <django.template.SimpleNode object at 0x59ce250>, <Text Node: ' <script type="text/j'>, <Variable Node: STATIC_URL>, <Text Node: 'pinax/js/topics.js"></scr'>, <Block Node: extra_body. Contents: []>, <Text Node: ' '>]>, <Text Node: ' </body> </html> '>]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader_tags.py in render
- 17. return "<Block Node: %s. Contents: %r>" % (self.name, self.nodelist)
- 18.
- 19. def render(self, context):
- 20. context.push()
- 21. # Save context in case of block.super().
- 22. self.context = context
- 23. context['block'] = self
- 24. result = self.nodelist.render(context) ...
- 25. context.pop()
- 26. return result
- 27.
- 28. def super(self):
- 29. if self.parent:
- 30. return mark_safe(self.parent.render(self.context))
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- self
- <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 760. # extend_nodelist().
- 761. contains_nontext = False
- 762.
- 763. def render(self, context):
- 764. bits = []
- 765. for node in self:
- 766. if isinstance(node, Node):
- 767. bits.append(self.render_node(node, context)) ...
- 768. else:
- 769. bits.append(node)
- 770. return mark_safe(''.join([force_unicode(b) for b in bits]))
- 771.
- 772. def get_nodes_by_type(self, nodetype):
- 773. "Return a list of all nodes of the given type"
- ▶ Local vars
- Variable Value
- bits
- [u'\n\t\t\t\t<div id="body">\n\t\t\t\t ', '', u'\n\t\t\t\t \n\t\t\t\t ']
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- node
- <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>
- self
- [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py in render_node
- 64. def compile_function_error(self, token, e):
- 65. if not hasattr(e, 'source'):
- 66. e.source = token.source
- 67.
- 68. class DebugNodeList(NodeList):
- 69. def render_node(self, node, context):
- 70. try:
- 71. result = node.render(context) ...
- 72. except TemplateSyntaxError, e:
- 73. if not hasattr(e, 'source'):
- 74. e.source = node.source
- 75. raise
- 76. except Exception, e:
- 77. from sys import exc_info
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- e
- TemplateSyntaxError(u"Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.",)
- node
- <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>
- self
- [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader_tags.py in render
- 17. return "<Block Node: %s. Contents: %r>" % (self.name, self.nodelist)
- 18.
- 19. def render(self, context):
- 20. context.push()
- 21. # Save context in case of block.super().
- 22. self.context = context
- 23. context['block'] = self
- 24. result = self.nodelist.render(context) ...
- 25. context.pop()
- 26. return result
- 27.
- 28. def super(self):
- 29. if self.parent:
- 30. return mark_safe(self.parent.render(self.context))
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- self
- <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 760. # extend_nodelist().
- 761. contains_nontext = False
- 762.
- 763. def render(self, context):
- 764. bits = []
- 765. for node in self:
- 766. if isinstance(node, Node):
- 767. bits.append(self.render_node(node, context)) ...
- 768. else:
- 769. bits.append(node)
- 770. return mark_safe(''.join([force_unicode(b) for b in bits]))
- 771.
- 772. def get_nodes_by_type(self, nodetype):
- 773. "Return a list of all nodes of the given type"
- ▶ Local vars
- Variable Value
- bits
- [u'\n <h1>', u'hawkz is Following', u'</h1>\n \n ', '', u'\n <p>', u'Users whose tweets <a href="/profiles/profile/hawkz/">hawkz</a> is following:', u'</p>\n \n ']
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- node
- <If node>
- self
- [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py in render_node
- 64. def compile_function_error(self, token, e):
- 65. if not hasattr(e, 'source'):
- 66. e.source = token.source
- 67.
- 68. class DebugNodeList(NodeList):
- 69. def render_node(self, node, context):
- 70. try:
- 71. result = node.render(context) ...
- 72. except TemplateSyntaxError, e:
- 73. if not hasattr(e, 'source'):
- 74. e.source = node.source
- 75. raise
- 76. except Exception, e:
- 77. from sys import exc_info
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- e
- TemplateSyntaxError(u"Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.",)
- node
- <If node>
- self
- [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/defaulttags.py in render
- 238. if self.link_type == IfNode.LinkTypes.or_:
- 239. for ifnot, bool_expr in self.bool_exprs:
- 240. try:
- 241. value = bool_expr.resolve(context, True)
- 242. except VariableDoesNotExist:
- 243. value = None
- 244. if (value and not ifnot) or (ifnot and not value):
- 245. return self.nodelist_true.render(context) ...
- 246. return self.nodelist_false.render(context)
- 247. else:
- 248. for ifnot, bool_expr in self.bool_exprs:
- 249. try:
- 250. value = bool_expr.resolve(context, True)
- 251. except VariableDoesNotExist:
- ▶ Local vars
- Variable Value
- bool_expr
- <django.template.FilterExpression object at 0x7fcff0343950>
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- ifnot
- False
- self
- <If node>
- value
- [<User: zeth>, None]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py in render
- 760. # extend_nodelist().
- 761. contains_nontext = False
- 762.
- 763. def render(self, context):
- 764. bits = []
- 765. for node in self:
- 766. if isinstance(node, Node):
- 767. bits.append(self.render_node(node, context)) ...
- 768. else:
- 769. bits.append(node)
- 770. return mark_safe(''.join([force_unicode(b) for b in bits]))
- 771.
- 772. def get_nodes_by_type(self, nodetype):
- 773. "Return a list of all nodes of the given type"
- ▶ Local vars
- Variable Value
- bits
- [u'\n ']
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- node
- <For Node: for following_user in follow_list, tail_len: 9>
- self
- [<Text Node: ' '>, <For Node: for following_user in follow_list, tail_len: 9>, <Text Node: ' '>]
- * /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py in render_node
- 74. e.source = node.source
- 75. raise
- 76. except Exception, e:
- 77. from sys import exc_info
- 78. wrapped = TemplateSyntaxError(u'Caught an exception while rendering: %s' % force_unicode(e, errors='replace'))
- 79. wrapped.source = node.source
- 80. wrapped.exc_info = exc_info()
- 81. raise wrapped ...
- 82. return result
- 83.
- 84. class DebugVariableNode(VariableNode):
- 85. def render(self, context):
- 86. try:
- 87. output = force_unicode(self.filter_expression.resolve(context))
- ▶ Local vars
- Variable Value
- context
- [{'forloop': {'revcounter0': 0, 'last': True, 'counter': 2, 'parentloop': {}, 'revcounter': 1, 'counter0': 1, 'first': False}, u'following_user': None}, {u'other_user_url': '/profiles/profile/hawkz/', 'block': <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>}, {'block': <Block Node: body_outer. Contents: [<Text Node: ' <div id="body"> '>, <If node>, <Text Node: ' '>, <Block Node: body. Contents: [<Text Node: ' <h1>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x54458d0>, <Text Node: '</h1> '>, <django.template.defaulttags.URLNode object at 0x7fcff04a53d0>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7fcff0343610>, <Text Node: '</p> '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x5896150>, <Text Node: ' <p>'>, <django.templatetags.i18n.BlockTranslateNode object at 0x58967d0>, <Text Node: ' '>]>, <Text Node: ' </div> '>]>}, {'follow_list': [<User: zeth>, None], 'other_user': <User: hawkz>}, {'combined_inbox_count': 0}, {'invitations_count': 0}, {'messages_inbox_count': 0}, {'account': <Account: markcroft1975>}, {'openid': None}, {'site_wide_announcements': []}, {'notice_unseen_count': 0}, {'SITE_NAME': 'Pinax', 'CONTACT_EMAIL': 'feedback@example.com', 'STATIC_URL': '/site_media/static/'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '2ca457456cfeac00810029f16132be90'}, META:{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=2ca457456cfeac00810029f16132be90', 'HTTP_HOST': 'pywm.eu', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://pywm.eu/profiles/profile/hawkz/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/tweets/following/hawkz/', 'PATH_TRANSLATED': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/', 'QUERY_STRING': '', 'REMOTE_ADDR': '90.194.228.16', 'REMOTE_PORT': '34357', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/tweets/following/hawkz/', 'SCRIPT_FILENAME': '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '89.16.178.71', 'SERVER_ADMIN': 'john@clocksoft.com', 'SERVER_NAME': 'pywm.eu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5', 'mod_wsgi.application_group': 'wm.python.me.uk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'pywm-production', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x4381b40>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fcff019f970>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/site_media/media/'}, {'LANGUAGES': (('en', u'English'),), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-gb'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x7fcff0449a90>, 'messages': [], 'user': <User: markcroft1975>}, {}]
- e
- NoReverseMatch("Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.",)
- exc_info
- <built-in function exc_info>
- node
- <For Node: for following_user in follow_list, tail_len: 9>
- self
- [<Text Node: ' '>, <For Node: for following_user in follow_list, tail_len: 9>, <Text Node: ' '>]
- wrapped
- TemplateSyntaxError(u"Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.",)
- Environment: Request Method: GET Request URL: http://pywm.eu/tweets/following/hawkz/ Django Version: 1.0.4 Python Version: 2.5.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.humanize', 'django.contrib.markup', 'pinax.templatetags', 'notification', 'django_openid', 'emailconfirmation', 'django_extensions', 'robots', 'friends', 'mailer', 'messages', 'announcements', 'oembed', 'djangodblog', 'pagination', 'gravatar', 'threadedcomments', 'threadedcomments_extras', 'wiki', 'swaps', 'timezones', 'voting', 'voting_extras', 'tagging', 'bookmarks', 'blog', 'ajax_validation', 'photologue', 'avatar', 'flag', 'microblogging', 'locations', 'uni_form', 'django_sorting', 'django_markup', 'staticfiles', 'analytics', 'profiles', 'account', 'signup_codes', 'tribes', 'photos', 'tag_app', 'topics', 'groups', 'django.contrib.admin', 'schedule'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_openid.consumer.SessionConsumer', 'account.middleware.LocaleMiddleware', 'django.middleware.doc.XViewMiddleware', 'pagination.middleware.PaginationMiddleware', 'django_sorting.middleware.SortingMiddleware', 'djangodblog.middleware.DBLogMiddleware', 'pinax.middleware.security.HideSensistiveFieldsMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'pythonme.submiddle.SubdomainMiddleware') Template error: In template /var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/pinax/templates/default/microblogging/following.html, error at line 15 Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found. 5 : 6 : {% block head_title %}{% blocktrans %}{{ other_user }} is Following{% endblocktrans %}{% endblock %} 7 : 8 : {% block body %} 9 : <h1>{% blocktrans %}{{ other_user }} is Following{% endblocktrans %}</h1> 10 : 11 : {% url profile_detail other_user.username as other_user_url %} 12 : <p>{% blocktrans %}Users whose tweets <a href="{{ other_user_url }}">{{ other_user }}</a> is following:{% endblocktrans %}</p> 13 : 14 : {% if follow_list %} 15 : {% for following_user in follow_list %} 16 : {# @@@ this is common code from all profiles list -- refactor #} 17 : <div class="profile clearfix"> 18 : {# @@@ factor out style into css file #} 19 : <div style="float: left;">{% avatar following_user 40 %}</div> 20 : <div style="padding: 5px; margin-left: 50px;"><a href="{% url profile_detail following_user.username %}">{{ following_user }}</a></div> 21 : </div> 22 : {% endfor %} 23 : {% else %} 24 : <p>{% trans 'Not following anyone.' %}</p> 25 : {% endif %} Traceback: File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response 91. response = callback(request, *callback_args, **callback_kwargs) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/microblogging/views.py" in following 97. return _follow_list(request, other_user, follow_list, template_name) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/microblogging/views.py" in _follow_list 79. }, context_instance=RequestContext(request)) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/shortcuts/__init__.py" in render_to_response 18. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader.py" in render_to_string 107. return t.render(context_instance) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 176. return self.nodelist.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 767. bits.append(self.render_node(node, context)) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py" in render_node 71. result = node.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader_tags.py" in render 97. return compiled_parent.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 176. return self.nodelist.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 767. bits.append(self.render_node(node, context)) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py" in render_node 71. result = node.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader_tags.py" in render 97. return compiled_parent.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 176. return self.nodelist.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 767. bits.append(self.render_node(node, context)) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py" in render_node 71. result = node.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader_tags.py" in render 97. return compiled_parent.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 176. return self.nodelist.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 767. bits.append(self.render_node(node, context)) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py" in render_node 71. result = node.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader_tags.py" in render 24. result = self.nodelist.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 767. bits.append(self.render_node(node, context)) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py" in render_node 71. result = node.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/loader_tags.py" in render 24. result = self.nodelist.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 767. bits.append(self.render_node(node, context)) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py" in render_node 71. result = node.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/defaulttags.py" in render 245. return self.nodelist_true.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/__init__.py" in render 767. bits.append(self.render_node(node, context)) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py" in render_node 81. raise wrapped Exception Type: TemplateSyntaxError at /tweets/following/hawkz/ Exception Value: Caught an exception while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found. Original Traceback (most recent call last): File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/debug.py", line 71, in render_node result = node.render(context) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/defaulttags.py", line 148, in render nodelist.append(node.render(context)) File "/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/django/template/defaulttags.py", line 385, in render raise e NoReverseMatch: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found.
- Request information
- GET
- No GET data
- POST
- No POST data
- COOKIES
- Variable Value
- sessionid
- '2ca457456cfeac00810029f16132be90'
- META
- Variable Value
- DOCUMENT_ROOT
- '/htdocs'
- GATEWAY_INTERFACE
- 'CGI/1.1'
- HTTP_ACCEPT
- 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
- HTTP_ACCEPT_CHARSET
- 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
- HTTP_ACCEPT_ENCODING
- 'gzip,deflate'
- HTTP_ACCEPT_LANGUAGE
- 'en-gb,en;q=0.5'
- HTTP_CONNECTION
- 'keep-alive'
- HTTP_COOKIE
- 'sessionid=2ca457456cfeac00810029f16132be90'
- HTTP_HOST
- 'pywm.eu'
- HTTP_KEEP_ALIVE
- '115'
- HTTP_REFERER
- 'http://pywm.eu/profiles/profile/hawkz/'
- HTTP_USER_AGENT
- 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24'
- PATH
- '/usr/local/bin:/usr/bin:/bin'
- PATH_INFO
- u'/tweets/following/hawkz/'
- PATH_TRANSLATED
- '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi/tweets/following/hawkz/'
- QUERY_STRING
- ''
- REMOTE_ADDR
- '90.194.228.16'
- REMOTE_PORT
- '34357'
- REQUEST_METHOD
- 'GET'
- REQUEST_URI
- '/tweets/following/hawkz/'
- SCRIPT_FILENAME
- '/var/local/webapps/newpywm/project/pythonme/deploy/pinax.wsgi'
- SCRIPT_NAME
- u''
- SERVER_ADDR
- '89.16.178.71'
- SERVER_ADMIN
- 'john@clocksoft.com'
- SERVER_NAME
- 'pywm.eu'
- SERVER_PORT
- '80'
- SERVER_PROTOCOL
- 'HTTP/1.1'
- SERVER_SIGNATURE
- '<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Server at pywm.eu Port 80</address>\n'
- SERVER_SOFTWARE
- 'Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5'
- mod_wsgi.application_group
- 'wm.python.me.uk|'
- mod_wsgi.callable_object
- 'application'
- mod_wsgi.listener_host
- ''
- mod_wsgi.listener_port
- '80'
- mod_wsgi.process_group
- 'pywm-production'
- mod_wsgi.reload_mechanism
- '1'
- mod_wsgi.script_reloading
- '1'
- mod_wsgi.version
- (2, 5)
- wsgi.errors
- <mod_wsgi.Log object at 0x4381b40>
- wsgi.file_wrapper
- <built-in method file_wrapper of mod_wsgi.Adapter object at 0x5b28120>
- wsgi.input
- <mod_wsgi.Input object at 0x7fcff019f970>
- wsgi.multiprocess
- False
- wsgi.multithread
- True
- wsgi.run_once
- False
- wsgi.url_scheme
- 'http'
- wsgi.version
- (1, 0)
- Settings
- Using settings module pythonme.settings
- Setting Value
- ABSOLUTE_URL_OVERRIDES
- {'auth.user': <function <lambda> at 0x21ce488>}
- ACCOUNT_EMAIL_VERIFICATION
- False
- ACCOUNT_OPEN_SIGNUP
- True
- ACCOUNT_REQUIRED_EMAIL
- False
- ADMINS
- ()
- ADMIN_FOR
- ()
- ADMIN_MEDIA_PREFIX
- '/site_media/static/admin/'
- ALLOWED_INCLUDE_ROOTS
- ()
- APPEND_SLASH
- True
- AUTHENTICATION_BACKENDS
- ('django.contrib.auth.backends.ModelBackend',)
- AUTH_PROFILE_MODULE
- 'profiles.Profile'
- BANNED_IPS
- ()
- BEHIND_PROXY
- False
- CACHE_BACKEND
- 'locmem://'
- CACHE_MIDDLEWARE_KEY_PREFIX
- ''
- CACHE_MIDDLEWARE_SECONDS
- 600
- COMBINED_INBOX_COUNT_SOURCES
- ('messages.context_processors.inbox', 'friends_app.context_processors.invitations', 'notification.context_processors.notification')
- COMMENTS_ALLOW_PROFANITIES
- False
- COMMENTS_BANNED_USERS_GROUP
- None
- COMMENTS_FIRST_FEW
- 0
- COMMENTS_MODERATORS_GROUP
- None
- COMMENTS_SKETCHY_USERS_GROUP
- None
- CONTACT_EMAIL
- 'feedback@example.com'
- DATABASE_ENGINE
- 'mysql'
- DATABASE_HOST
- ''
- DATABASE_NAME
- 'newpywm'
- DATABASE_OPTIONS
- {}
- DATABASE_PASSWORD
- '********************'
- DATABASE_PORT
- ''
- DATABASE_USER
- 'newpywm'
- DATETIME_FORMAT
- 'N j, Y, P'
- DATE_FORMAT
- 'N j, Y'
- DEBUG
- True
- DEBUG_PROPAGATE_EXCEPTIONS
- False
- DEFAULT_CHARSET
- 'utf-8'
- DEFAULT_CONTENT_TYPE
- 'text/html'
- DEFAULT_FILE_STORAGE
- 'django.core.files.storage.FileSystemStorage'
- DEFAULT_FROM_EMAIL
- 'contact@python.me.uk'
- DEFAULT_INDEX_TABLESPACE
- ''
- DEFAULT_TABLESPACE
- ''
- DISALLOWED_USER_AGENTS
- ()
- EMAIL_CONFIRMATION_DAYS
- 2
- EMAIL_DEBUG
- True
- EMAIL_HOST
- 'localhost'
- EMAIL_HOST_PASSWORD
- '********************'
- EMAIL_HOST_USER
- ''
- EMAIL_PORT
- 25
- EMAIL_SUBJECT_PREFIX
- '[Django] '
- EMAIL_USE_TLS
- False
- FILE_CHARSET
- 'utf-8'
- FILE_UPLOAD_HANDLERS
- ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
- FILE_UPLOAD_MAX_MEMORY_SIZE
- 2621440
- FILE_UPLOAD_PERMISSIONS
- None
- FILE_UPLOAD_TEMP_DIR
- None
- FIXTURE_DIRS
- ()
- FORCE_LOWERCASE_TAGS
- True
- FORCE_SCRIPT_NAME
- None
- IGNORABLE_404_ENDS
- ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
- IGNORABLE_404_STARTS
- ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
- INSTALLED_APPS
- ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.humanize', 'django.contrib.markup', 'pinax.templatetags', 'notification', 'django_openid', 'emailconfirmation', 'django_extensions', 'robots', 'friends', 'mailer', 'messages', 'announcements', 'oembed', 'djangodblog', 'pagination', 'gravatar', 'threadedcomments', 'threadedcomments_extras', 'wiki', 'swaps', 'timezones', 'voting', 'voting_extras', 'tagging', 'bookmarks', 'blog', 'ajax_validation', 'photologue', 'avatar', 'flag', 'microblogging', 'locations', 'uni_form', 'django_sorting', 'django_markup', 'staticfiles', 'analytics', 'profiles', 'account', 'signup_codes', 'tribes', 'photos', 'tag_app', 'topics', 'groups', 'django.contrib.admin', 'schedule']
- INTERNAL_IPS
- ('127.0.0.1',)
- JING_PATH
- '/usr/bin/jing'
- LANGUAGES
- (('en', u'English'),)
- LANGUAGES_BIDI
- ('he', 'ar', 'fa')
- LANGUAGE_CODE
- 'en-gb'
- LANGUAGE_COOKIE_NAME
- 'django_language'
- LOCALE_PATHS
- ()
- LOGIN_REDIRECT_URL
- '/accounts/profile/'
- LOGIN_REDIRECT_URLNAME
- 'what_next'
- LOGIN_URL
- '/account/login/'
- LOGOUT_URL
- '/accounts/logout/'
- MANAGERS
- ()
- MARKUP_CHOICES
- (('restructuredtext', u'reStructuredText'), ('textile', u'Textile'), ('markdown', u'Markdown'), ('creole', u'Creole'))
- MARKUP_FILTER_FALLBACK
- 'none'
- MEDIA_ROOT
- '/var/local/webapps/newpywm/project/pythonme/site_media/media'
- MEDIA_URL
- '/site_media/media/'
- MIDDLEWARE_CLASSES
- ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_openid.consumer.SessionConsumer', 'account.middleware.LocaleMiddleware', 'django.middleware.doc.XViewMiddleware', 'pagination.middleware.PaginationMiddleware', 'django_sorting.middleware.SortingMiddleware', 'djangodblog.middleware.DBLogMiddleware', 'pinax.middleware.security.HideSensistiveFieldsMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'pythonme.submiddle.SubdomainMiddleware')
- MONTH_DAY_FORMAT
- 'F j'
- NOTIFICATION_LANGUAGE_MODULE
- 'account.Account'
- PASSWORD_RESET_TIMEOUT_DAYS
- '********************'
- PINAX_ROOT
- '/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/pinax'
- PINAX_THEME
- 'default'
- PREPEND_WWW
- False
- PROFANITIES_LIST
- '********************'
- PROJECT_ROOT
- '/var/local/webapps/newpywm/project/pythonme'
- RESTRUCTUREDTEXT_FILTER_SETTINGS
- {'cloak_email_addresses': True, 'file_insertion_enabled': False, 'raw_enabled': False, 'strip_comments': True, 'warning_stream': <pythonme.settings.NullStream object at 0x21d14d0>}
- ROOT_URLCONF
- 'pythonme.urls'
- SECRET_KEY
- '********************'
- SEND_BROKEN_LINK_EMAILS
- False
- SERVER_EMAIL
- 'contact@python.me.uk'
- SERVE_MEDIA
- True
- SESSION_COOKIE_AGE
- 1209600
- SESSION_COOKIE_DOMAIN
- None
- SESSION_COOKIE_NAME
- 'sessionid'
- SESSION_COOKIE_PATH
- '/'
- SESSION_COOKIE_SECURE
- False
- SESSION_ENGINE
- 'django.contrib.sessions.backends.db'
- SESSION_EXPIRE_AT_BROWSER_CLOSE
- False
- SESSION_FILE_PATH
- None
- SESSION_SAVE_EVERY_REQUEST
- False
- SETTINGS_MODULE
- 'pythonme.settings'
- SITE_ID
- 1
- SITE_NAME
- 'Pinax'
- STATICFILES_DIRS
- (('pythonme', '/var/local/webapps/newpywm/project/pythonme/media'), ('pinax', '/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/pinax/media/default'))
- STATIC_ROOT
- '/var/local/webapps/newpywm/project/pythonme/site_media/static'
- STATIC_URL
- '/site_media/static/'
- TEMPLATE_CONTEXT_PROCESSORS
- ('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.request', 'pinax.core.context_processors.pinax_settings', 'notification.context_processors.notification', 'announcements.context_processors.site_wide_announcements', 'account.context_processors.openid', 'account.context_processors.account', 'messages.context_processors.inbox', 'friends_app.context_processors.invitations', 'pythonme.context_processors.combined_inbox_count')
- TEMPLATE_DEBUG
- True
- TEMPLATE_DIRS
- ('/var/local/webapps/newpywm/project/pythonme/swaps/templates', '/var/local/webapps/newpywm/project/pythonme/templates', '/var/local/webapps/newpywm/pinax-env/lib/python2.5/site-packages/pinax/templates/default')
- TEMPLATE_LOADERS
- ('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
- TEMPLATE_STRING_IF_INVALID
- ''
- TEST_DATABASE_CHARSET
- None
- TEST_DATABASE_COLLATION
- None
- TEST_DATABASE_NAME
- None
- TEST_RUNNER
- 'django.test.simple.run_tests'
- TIME_FORMAT
- 'P'
- TIME_ZONE
- 'Europe/London'
- TRANSACTIONS_MANAGED
- False
- URL_VALIDATOR_USER_AGENT
- 'Django/1.0.4 (http://www.djangoproject.com)'
- USE_ETAGS
- False
- USE_I18N
- False
- WIKI_MARKUP_CHOICES
- (('restructuredtext', u'reStructuredText'), ('textile', u'Textile'), ('markdown', u'Markdown'), ('creole', u'Creole'))
- WIKI_REQUIRES_LOGIN
- True
- YAHOO_MAPS_API_KEY
- '...'
- YEAR_MONTH_FORMAT
- 'F Y'
- You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement