Why did you specify production server? does the code work correctly on a
staging/development server? Is this error only in the production server? If
so, probably a configuration Issue
On Saturday, April 19, 2014 2:25:04 PM UTC+3, 董健 wrote:
>
> i got NoReverseMatch when deloy cartridge to the webfaction. i can not
> not figure out what happened. the problem annoyed me for two days. any help
> will be precious.
>
> below it is the whole debug information.
>
>
> mod_wsgi (pid=4764): Exception occurred processing WSGI script
> '/home/victoria88/webapps/cartridge/cartridge/wsgi.py'.
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] Traceback (most
> recent call last):
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/core/handlers/wsgi.py",
>
> line 255, in __call__
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] response =
> self.get_response(request)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/core/handlers/base.py",
>
> line 178, in get_response
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] response =
> self.handle_uncaught_exception(request, resolver, sys.exc_info())
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/core/handlers/base.py",
>
> line 224, in handle_uncaught_exception
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> callback(request, **param_dict)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/utils/decorators.py",
>
> line 91, in _wrapped_view
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] response =
> view_func(request, *args, **kwargs)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/Mezzanine-3.0.9-py2.7.egg/mezzanine/core/views.py",
>
> line 220, in server_error
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> HttpResponseServerError(t.render(context))
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 140, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> self._render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 134, in _render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> self.nodelist.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 830, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] bit =
> self.render_node(node, context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 844, in render_node
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> node.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/loader_tags.py",
>
> line 124, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> compiled_parent._render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 134, in _render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> self.nodelist.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 830, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] bit =
> self.render_node(node, context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 844, in render_node
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> node.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/Mezzanine-3.0.9-py2.7.egg/mezzanine/template/__init__.py",
>
> line 85, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] args =
> (self.nodelist.render(context), context, token)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 830, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] bit =
> self.render_node(node, context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 844, in render_node
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> node.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/loader_tags.py",
>
> line 156, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> self.render_template(self.template, context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/loader_tags.py",
>
> line 138, in render_template
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] output =
> template.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 140, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> self._render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 134, in _render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> self.nodelist.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 830, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] bit =
> self.render_node(node, context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 844, in render_node
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> node.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/defaulttags.py",
>
> line 369, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> strip_spaces_between_tags(self.nodelist.render(context).strip())
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 830, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] bit =
> self.render_node(node, context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 844, in render_node
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> node.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/Mezzanine-3.0.9-py2.7.egg/mezzanine/core/templatetags/mezzanine_tags.py",
>
> line 184, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> nodelist.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 830, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] bit =
> self.render_node(node, context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 844, in render_node
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> node.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/loader_tags.py",
>
> line 156, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> self.render_template(self.template, context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/loader_tags.py",
>
> line 138, in render_template
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] output =
> template.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 140, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> self._render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 134, in _render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> self.nodelist.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 830, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] bit =
> self.render_node(node, context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 844, in render_node
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> node.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/defaulttags.py",
>
> line 285, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> nodelist.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 830, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] bit =
> self.render_node(node, context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/base.py",
> line 844, in render_node
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] return
> node.render(context)
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] File
> "/home/victoria88/webapps/cartridge/lib/python2.7/django/template/defaulttags.py",
>
> line 426, in render
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] raise e
> [Sat Apr 19 10:15:32 2014] [error] [client 127.0.0.1] NoReverseMatch:
> Reverse for 'login' with arguments '()' and keyword arguments '{}' not
> found.
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/2f946e26-e56c-4cac-8829-3e24d8cdac95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.