fujunzhuo / gae-django-cms

Automatically exported from code.google.com/p/gae-django-cms
0 stars 0 forks source link

500 Server Error问题 #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
还没加多少文章呀。就到了这个问题。郁闷坏了。

下面是日志:

05-11 03:48AM 09.915 / 500 1688ms 2041cpu_ms 505api_cpu_ms 0kb Mozilla/5.0 
(Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) 
Chrome/4.1.249.1064 Safari/532.5,gzip(gfe),gzip(gfe)
173.208.128.107 - - [11/May/2010:03:48:11 -0700] "GET / HTTP/1.1" 500 0 - 
"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, 
like Gecko) Chrome/4.1.249.1064 Safari/532.5,gzip(gfe),gzip(gfe)" 
"www.pub9.com"
E 05-11 03:48AM 11.463
Exception in request:
Traceback (most recent call last):
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/core/handlers/base.py", line 86, in 
get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/cms/views.py", 
line 579, in index_page
    return 
generate(request,'index_page.html',{'browse_stage':'home','cate_art_list':c
ate_art_list, 
'comments':get_comments(),'new_arts':base_values['new_arts'],'mid_num':mid_
num,'current_site_domain':current_site.domain})
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/cms/views.py", 
line 544, in generate
    return render_to_response(request,template_name,base_values)
  File 
"/base/data/home/apps/pub9pub9/1.341847135016828187/common/appenginepatch/r
agendja/template.py", line 60, in render_to_response
    return HttpResponse(render_to_string(request, template_name, data),
  File 
"/base/data/home/apps/pub9pub9/1.341847135016828187/common/appenginepatch/r
agendja/template.py", line 46, in render_to_string
    context_instance=RequestContext(request))
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/loader.py", line 107, in 
render_to_string
    return t.render(context_instance)
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/__init__.py", line 176, in render
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/__init__.py", line 768, in render
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/__init__.py", line 781, in 
render_node
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/loader_tags.py", line 97, in 
render
    return compiled_parent.render(context)
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/__init__.py", line 176, in render
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/__init__.py", line 768, in render
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/__init__.py", line 781, in 
render_node
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/defaulttags.py", line 373, in 
render
    url = reverse(self.view_name, args=args, kwargs=kwargs)
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/core/urlresolvers.py", line 254, in 
reverse
    *args, **kwargs)))
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/core/urlresolvers.py", line 227, in 
reverse
    possibilities = self.reverse_dict.getlist(lookup_view)
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/core/urlresolvers.py", line 170, in 
_get_reverse_dict
    self._reverse_dict.appendlist(pattern.name, (bits, p_pattern))
AttributeError: 'RegexURLResolver' object has no attribute 'name'
E 05-11 03:48AM 11.595
<class 'django.template.TemplateDoesNotExist'>: 500.html
Traceback (most recent call last):
  File 
"/base/data/home/apps/pub9pub9/1.341847135016828187/common/appenginepatch/m
ain.py", line 67, in <module>
    main()
  File 
"/base/data/home/apps/pub9pub9/1.341847135016828187/common/appenginepatch/m
ain.py", line 26, in real_main
    util.run_wsgi_app(application)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/uti
l.py", line 97, in run_wsgi_app
    run_bare_wsgi_app(add_wsgi_middleware(application))
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/uti
l.py", line 115, in run_bare_wsgi_app
    result = application(env, _start_response)
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/core/handlers/wsgi.py", line 239, in 
__call__
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/core/handlers/base.py", line 128, in 
get_response
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/core/handlers/base.py", line 160, in 
handle_uncaught_exception
  File 
"/base/data/home/apps/pub9pub9/1.341847135016828187/common/appenginepatch/r
agendja/views.py", line 4, in server_error
    return render_to_response(request, '500.html')
  File 
"/base/data/home/apps/pub9pub9/1.341847135016828187/common/appenginepatch/r
agendja/template.py", line 60, in render_to_response
    return HttpResponse(render_to_string(request, template_name, data),
  File 
"/base/data/home/apps/pub9pub9/1.341847135016828187/common/appenginepatch/r
agendja/template.py", line 46, in render_to_string
    context_instance=RequestContext(request))
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/loader.py", line 102, in 
render_to_string
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/loader.py", line 80, in 
get_template
  File "/base/data/home/apps/pub9pub9/1.341847135016828187/common/zip-
packages/django-1.0.2.zip/django/template/loader.py", line 73, in 
find_template_source

Original issue reported on code.google.com by wai...@gmail.com on 11 May 2010 at 10:50

GoogleCodeExporter commented 8 years ago
我也遇到了。。传上去就直接500

Original comment by Lanyb...@gmail.com on 27 May 2010 at 2:17

GoogleCodeExporter commented 8 years ago
我的也是经常500错误!
为什么呢?盼解决!

Original comment by ous...@gmail.com on 6 Aug 2010 at 9:47

GoogleCodeExporter commented 8 years ago
我也遇到了。。传上去就直接500
太有缘了

Original comment by lovous...@gmail.com on 4 Sep 2010 at 12:17

GoogleCodeExporter commented 8 years ago
对,就是这个问题!!!

Original comment by huabang0...@gmail.com on 21 Sep 2010 at 3:01

GoogleCodeExporter commented 8 years ago
我知道怎么解决,到www.taogogo.info留言哦,呵呵

Original comment by yuntaotiancai on 26 Sep 2010 at 5:59

GoogleCodeExporter commented 8 years ago
我最近也是啊,有成功解决方案的朋友可以说一下吗?

Original comment by clo...@gmail.com on 29 Jan 2011 at 11:42