many thanks. try it now. it tortured me for about 5 days to deploy it on 
webfaction since it works locally.

在 2014年4月19日星期六UTC+8下午7时40分16秒,Stephen McDonald写道:
>
> Here's the template that has a link to the login page, which the error 
> indicates cant be found in your urlpatterns:
>
>
> https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/accounts/templates/accounts/includes/user_panel.html#L19
>
> Here's the login url your project can't see:
>
>
> https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/accounts/urls.py#L29-L30
>
> mezzanine.accounts.urls is included by mezzanine.urls, which presumably 
> your project's urls.py module includes.
>
> As to why your project can't see the "login" urlpattern, only you'll be 
> able to work that out. Consider what you've changed since first setting up 
> the project, and if all else fails, try creating a new project and step by 
> step applying the changes you've made until you can isolate which change 
> caused the error.
>
> Good luck.
>
>
> On Sat, Apr 19, 2014 at 9:19 PM, 董健 <[email protected] <javascript:>>wrote:
>
>> I got this problem for 2 days and unable to solve it. i use mezzanine and 
>> cartridge to build a test application about shopping .  looking forward to 
>> any response. thanks!
>>
>> below it is the whole 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 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Stephen McDonald
> http://jupo.org 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to