| NoReverseMatch | Python 2.4.4: /usr/bin/python Sun Mar 14 12:38:54 2010 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/lfrodrigues/demo.getrancho.com/fcgi.py in run(self=<fcgi.Request object>) |
| 578 """Runs the handler, flushes the streams, and ends the request.""" |
| 579 try: |
| 580 protocolStatus, appStatus = self.server.handler(self) |
| 581 except: |
| 582 traceback.print_exc(file=self.stderr) |
| protocolStatus undefined, appStatus undefined, self = <fcgi.Request object>, self.server = <fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object>> |
| /home/lfrodrigues/demo.getrancho.com/fcgi.py in handler(self=<fcgi.WSGIServer object>, req=<fcgi.Request object>) |
| 1264 try: |
| 1265 try: |
| 1266 result = self.application(environ, start_response) |
| 1267 try: |
| 1268 for data in result: |
| result = None, self = <fcgi.WSGIServer object>, self.application = <django.core.handlers.wsgi.WSGIHandler object>, environ = {'DH_USER': 'lfrodrigues', 'DOCUMENT_ROOT': '/home/lfrodrigues/demo.getrancho.com', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'demo.getrancho.com', ...}, start_response = <function start_response> |
| /var/lib/python-support/python2.4/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={'DH_USER': 'lfrodrigues', 'DOCUMENT_ROOT': '/home/lfrodrigues/demo.getrancho.com', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'demo.getrancho.com', ...}, start_response=<function start_response>) |
| 239 response = http.HttpResponseBadRequest() |
| 240 else: |
| 241 response = self.get_response(request) |
| 242 |
| 243 # Apply response middleware |
| response undefined, self = <django.core.handlers.wsgi.WSGIHandler object>, self.get_response = <bound method WSGIHandler.get_response of <django.core.handlers.wsgi.WSGIHandler object>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
| /var/lib/python-support/python2.4/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>) |
| 120 except: |
| 121 try: |
| 122 return self.handle_uncaught_exception(request, resolver, sys.exc_info()) |
| 123 finally: |
| 124 receivers = signals.got_request_exception.send(sender=self.__class__, request=request) |
| self = <django.core.handlers.wsgi.WSGIHandler object>, self.handle_uncaught_exception = <bound method WSGIHandler.handle_uncaught_except...f <django.core.handlers.wsgi.WSGIHandler object>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver = <RegexURLResolver rancho.urls (None:None) ^/>, global sys = <module 'sys' (built-in)>, sys.exc_info = <built-in function exc_info> |
| /var/lib/python-support/python2.4/django/core/handlers/base.py in handle_uncaught_exception(self=<django.core.handlers.wsgi.WSGIHandler object>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver=<RegexURLResolver rancho.urls (None:None) ^/>, exc_info=(<class django.core.urlresolvers.NoReverseMatch>, <django.core.urlresolvers.NoReverseMatch instance>, <traceback object>)) |
| 164 # Return an HttpResponse that displays a friendly error message. |
| 165 callback, param_dict = resolver.resolve500() |
| 166 return callback(request, **param_dict) |
| 167 |
| 168 def _get_traceback(self, exc_info=None): |
| callback = <function server_error>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, param_dict = {} |
| /var/lib/python-support/python2.4/django/views/defaults.py in server_error(request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, template_name='500.html') |
| 22 """ |
| 23 t = loader.get_template(template_name) # You need to create a 500.html template. |
| 24 return http.HttpResponseServerError(t.render(Context({}))) |
| 25 |
| 26 def shortcut(request, content_type_id, object_id): |
| global http = <module 'django.http' from '/var/lib/python-support/python2.4/django/http/__init__.pyc'>, http.HttpResponseServerError = <class 'django.http.HttpResponseServerError'>, t = <django.template.Template object>, t.render = <bound method Template.render of <django.template.Template object>>, global Context = <class 'django.template.context.Context'> |
| /var/lib/python-support/python2.4/django/template/__init__.py in render(self=<django.template.Template object>, context=[{}]) |
| 176 def render(self, context): |
| 177 "Display stage -- can be called many times" |
| 178 return self.nodelist.render(context) |
| 179 |
| 180 def compile_string(template_string, origin): |
| self = <django.template.Template object>, self.nodelist = [<ExtendsNode: extends "base.html">], self.nodelist.render = <bound method NodeList.render of [<ExtendsNode: extends "base.html">]>, context = [{}] |
| /var/lib/python-support/python2.4/django/template/__init__.py in render(self=[<ExtendsNode: extends "base.html">], context=[{}]) |
| 777 for node in self: |
| 778 if isinstance(node, Node): |
| 779 bits.append(self.render_node(node, context)) |
| 780 else: |
| 781 bits.append(node) |
| bits = [], bits.append = <built-in method append of list object>, self = [<ExtendsNode: extends "base.html">], self.render_node = <bound method NodeList.render_node of [<ExtendsNode: extends "base.html">]>, node = <ExtendsNode: extends "base.html">, context = [{}] |
| /var/lib/python-support/python2.4/django/template/__init__.py in render_node(self=[<ExtendsNode: extends "base.html">], node=<ExtendsNode: extends "base.html">, context=[{}]) |
| 790 |
| 791 def render_node(self, node, context): |
| 792 return node.render(context) |
| 793 |
| 794 class TextNode(Node): |
| node = <ExtendsNode: extends "base.html">, node.render = <bound method ExtendsNode.render of <ExtendsNode: extends "base.html">>, context = [{}] |
| /var/lib/python-support/python2.4/django/template/loader_tags.py in render(self=<ExtendsNode: extends "base.html">, context=[{}]) |
| 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): |
| compiled_parent = <django.template.Template object>, compiled_parent.render = <bound method Template.render of <django.template.Template object>>, context = [{}] |
| /var/lib/python-support/python2.4/django/template/__init__.py in render(self=<django.template.Template object>, context=[{}]) |
| 176 def render(self, context): |
| 177 "Display stage -- can be called many times" |
| 178 return self.nodelist.render(context) |
| 179 |
| 180 def compile_string(template_string, origin): |
| self = <django.template.Template object>, self.nodelist = [<django.template.defaulttags.LoadNode object at...42410>, <Text Node: '</a> </div> '>], self.nodelist.render = <bound method NodeList.render of [<django.templa...2410>, <Text Node: '</a> </div> '>]>, context = [{}] |
| /var/lib/python-support/python2.4/django/template/__init__.py in render(self=[<django.template.defaulttags.LoadNode object at...42410>, <Text Node: '</a> </div> '>], context=[{}]) |
| 777 for node in self: |
| 778 if isinstance(node, Node): |
| 779 bits.append(self.render_node(node, context)) |
| 780 else: |
| 781 bits.append(node) |
| bits = ['', u'\n\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 T...ww.w3.org/1999/xhtml">\n <head>\n <title>', u' ', u'</title>\n ', u'\n ', u'\n <meta name="author" content="CITI/UE" />\n <meta name="description" content="', u'Group management made simple.', u'" />\n <meta http-equiv="content-type" con...l="alternate" type="application/atom+xml" title="', u'', u'\'s User Notification" href="/notification/feed/"...c="/media/js/jquery/jquery.js"></script>\n ', u'\n ', u'\n <script type="text/javascript">\n ... });\n }); \n\n \n ', u'\n ', u'\n </script> \n </head>\n <body>..._place_comand">\n \n ', u'\n ... \n \n ', u'\n \n </div>\n <di... </script> \n\n <form action="', '/people/change_language/', u'" method="post" id="formlang">\n <...ho_star.png" alt=\'\'/> <a class="user" href="'], bits.append = <built-in method append of list object>, self = [<django.template.defaulttags.LoadNode object at...42410>, <Text Node: '</a> </div> '>], self.render_node = <bound method NodeList.render_node of [<django.t...2410>, <Text Node: '</a> </div> '>]>, node = <django.template.defaulttags.URLNode object>, context = [{}] |
| /var/lib/python-support/python2.4/django/template/__init__.py in render_node(self=[<django.template.defaulttags.LoadNode object at...42410>, <Text Node: '</a> </div> '>], node=<django.template.defaulttags.URLNode object>, context=[{}]) |
| 790 |
| 791 def render_node(self, node, context): |
| 792 return node.render(context) |
| 793 |
| 794 class TextNode(Node): |
| node = <django.template.defaulttags.URLNode object>, node.render = <bound method URLNode.render of <django.template.defaulttags.URLNode object>>, context = [{}] |
| /var/lib/python-support/python2.4/django/template/defaulttags.py in render(self=<django.template.defaulttags.URLNode object>, context=[{}]) |
| 380 # the path relative to the project. This makes a |
| 381 # better error message. |
| 382 raise e |
| 383 else: |
| 384 if self.asvar is None: |
| e = <django.core.urlresolvers.NoReverseMatch instance> |
NoReverseMatch: Reverse for 'user.views.edituser' with arguments '('',)' and keyword arguments '{}' not found.
args =
("Reverse for 'user.views.edituser' with arguments '('',)' and keyword arguments '{}' not found.",)
silent_variable_failure =
True