austgl / micolog

Automatically exported from code.google.com/p/micolog
MIT License
0 stars 0 forks source link

进入主页时报错? 很恐怖的一大段代码 #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Traceback (most recent call last):
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__i
nit__.py", line 511, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/haiboboke/beta.341960383519849993/blog.py", 
line 95, in get
    self.doget(page)
  File "/base/data/home/apps/haiboboke/beta.341960383519849993/base.py", 
line 115, in _wrapper
    method(*args, **kwargs)
  File "/base/data/home/apps/haiboboke/beta.341960383519849993/blog.py", 
line 130, in doget
    'ishome':True
  File "/base/data/home/apps/haiboboke/beta.341960383519849993/base.py", 
line 328, in render
    html=self.get_render(template_file,values)
  File "/base/data/home/apps/haiboboke/beta.341960383519849993/base.py", 
line 316, in get_render
    html = micolog_template.render(self.blog.theme, template_file, 
self.template_vals)
  File 
"/base/data/home/apps/haiboboke/beta.341960383519849993/micolog_template.py
", line 81, in render
    return t.render(Context(template_dict))
  File 
"/base/data/home/apps/haiboboke/beta.341960383519849993/micolog_template.py
", line 128, in wrap_render
    return orig_render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 168, in render
    return self.nodelist.render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 705, in render
    bits.append(self.render_node(node, context))
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 718, in render_node
    return(node.render(context))
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/loader_tags.py", line 82, in render
    return compiled_parent.render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 168, in render
    return self.nodelist.render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 705, in render
    bits.append(self.render_node(node, context))
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 718, in render_node
    return(node.render(context))
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/loader_tags.py", line 96, in render
    return self.template.render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 168, in render
    return self.nodelist.render(context)
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 705, in render
    bits.append(self.render_node(node, context))
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 718, in render_node
    return(node.render(context))
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/defaulttags.py", line 93, in render
    values = self.sequence.resolve(context, True)
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 563, in resolve
    obj = resolve_variable(self.var, context)
  File "/base/python_runtime/python_lib/versions/third_party/django-
0.96/django/template/__init__.py", line 656, in resolve_variable
    current = current()
  File "/base/data/home/apps/haiboboke/beta.341960383519849993/model.py", 
line 23, in _wrapper
    memcache.set(key,result,time)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/_
_init__.py", line 586, in set
    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 200, in _validate_encode_value
    'received %d bytes' % (MAX_VALUE_SIZE, len(stored_value)))
ValueError: Values may not be more than 1000000 bytes in length; received 
3080984 bytes

Original issue reported on code.google.com by YISHENGG...@gmail.com on 18 May 2010 at 1:07

GoogleCodeExporter commented 9 years ago
Values may not be more than 1000000 bytes in length; received 
3080984 bytes
你主页文件太多了,一次接收的文件超过1M最高限的限制了

Original comment by hongwei....@gmail.com on 18 May 2010 at 3:01

GoogleCodeExporter commented 9 years ago
额,我删了几篇文章,正常了,谢谢啊 ,
micolog 还是蛮好用的
谢谢你们的工作

Original comment by YISHENGG...@gmail.com on 18 May 2010 at 3:30