正常使用一段时间后,突然报告如下500错误,所有页面都无��
�访问:
url: http://avai-lab.appspot.com
#
1.
04-27 08:31AM 42.683 / 500 877ms 1340cpu_ms 115api_cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.9) Gecko/20100315
Firefox/3.5.9 (.NET CLR 3.5.30729),gzip(gfe)
See details
113.90.27.244 - - [27/Apr/2010:08:31:43 -0700] "GET / HTTP/1.1" 500 0
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.9)
Gecko/20100315 Firefox/3.5.9 (.NET CLR 3.5.30729),gzip(gfe)" "avai-
lab.appspot.com"
2.
E 04-27 08:31AM 43.492
Exception in request:
Traceback (most recent call last):
File "/base/data/home/apps/avai-
lab/1.341552491884432409/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/avai-
lab/1.341552491884432409/cms/views.py", line 568, in index_page
cate_art_list.append( [cate,get_cat_art2(cate.key().id(), 10)] )
File "/base/data/home/apps/avai-
lab/1.341552491884432409/cms/views.py", line 342, in get_cat_art2
article_list = get_cat_art_n(cat_keyid,0,getn)
File "/base/data/home/apps/avai-
lab/1.341552491884432409/cms/views.py", line 335, in get_cat_art_n
memcache.add("cate_n_%d_men"%cat_keyid, article_list, memtime)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/_
_init__.py", line 607, in add
namespace=namespace)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/_
_init__.py", line 656, in _set_with_policy
stored_value, flags = _validate_encode_value(value,
self._do_pickle)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/_
_init__.py", line 194, in _validate_encode_value
stored_value = do_pickle(value)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/_
_init__.py", line 299, in DoPickle
self._pickler_instance.dump(value)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 218, in dump
self.save(obj)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 280, in save
f(self, obj) # Call unbound method with explicit self
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 594, in save_list
self._batch_appends(iter(obj))
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 627, in _batch_appends
save(x)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 325, in save
self.save_reduce(obj=obj, *rv)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 413, in save_reduce
save(state)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 280, in save
f(self, obj) # Call unbound method with explicit self
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 643, in save_dict
self._batch_setitems(obj.iteritems())
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 675, in _batch_setitems
save(v)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 325, in save
self.save_reduce(obj=obj, *rv)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 413, in save_reduce
save(state)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 280, in save
f(self, obj) # Call unbound method with explicit self
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 643, in save_dict
self._batch_setitems(obj.iteritems())
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 675, in _batch_setitems
save(v)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 280, in save
f(self, obj) # Call unbound method with explicit self
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 594, in save_list
self._batch_appends(iter(obj))
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 630, in _batch_appends
save(tmp[0])
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 325, in save
self.save_reduce(obj=obj, *rv)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 413, in save_reduce
save(state)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 280, in save
f(self, obj) # Call unbound method with explicit self
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 643, in save_dict
self._batch_setitems(obj.iteritems())
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 675, in _batch_setitems
save(v)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 325, in save
self.save_reduce(obj=obj, *rv)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 390, in save_reduce
save(cls)
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 280, in save
f(self, obj) # Call unbound method with explicit self
File "/base/python_runtime/python_dist/lib/python2.5/pickle.py",
line 742, in save_global
(obj, module, name))
PicklingError: Can't pickle <class
'django.utils.functional.__proxy__'>: it's not found as
django.utils.functional.__proxy__
3.
E 04-27 08:31AM 43.556
<class 'django.template.TemplateDoesNotExist'>: 500.html
Traceback (most recent call last):
File "/base/data/home/apps/avai-
lab/1.341552491884432409/common/appenginepatch/main.py", line 67, in
<module>
main()
File "/base/data/home/apps/avai-
lab/1.341552491884432409/common/appenginepatch/main.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/avai-
lab/1.341552491884432409/common/zip-packages/django-
1.0.2.zip/django/core/handlers/wsgi.py", line 239, in __call__
File "/base/data/home/apps/avai-
lab/1.341552491884432409/common/zip-packages/django-
1.0.2.zip/django/core/handlers/base.py", line 128, in get_response
File "/base/data/home/apps/avai-
lab/1.341552491884432409/common/zip-packages/django-
1.0.2.zip/django/core/handlers/base.py", line 160, in
handle_uncaught_exception
File "/base/data/home/apps/avai-
lab/1.341552491884432409/common/appenginepatch/ragendja/views.py", line 4,
in server_error
return render_to_response(request, '500.html')
File "/base/data/home/apps/avai-
lab/1.341552491884432409/common/appenginepatch/ragendja/template.py", line
63, in render_to_response
return HttpResponse(render_to_string(request, template_name,
data),
File "/base/data/home/apps/avai-
lab/1.341552491884432409/common/appenginepatch/ragendja/template.py", line
46, in render_to_string
context_instance=RequestContext(request))
File "/base/data/home/apps/avai-
lab/1.341552491884432409/common/zip-packages/django-
1.0.2.zip/django/template/loader.py", line 102, in render_to_string
File "/base/data/home/apps/avai-
lab/1.341552491884432409/common/zip-packages/django-
1.0.2.zip/django/template/loader.py", line 80, in get_template
File "/base/data/home/apps/avai-
lab/1.341552491884432409/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 buckler....@gmail.com on 27 Apr 2010 at 3:39
Original issue reported on code.google.com by
buckler....@gmail.com
on 27 Apr 2010 at 3:39