I get the exception at exactly the same line while rendering a
template:

Traceback (most recent call last):
  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 499, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/dailydogpicture/1.30/main.py", line 96,
in get
    MainHandler.display(self)
  File "/base/data/home/apps/dailydogpicture/1.30/main.py", line 93,
in display
    self.response.out.write(template.render('main.html', values))
  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
template.py", line 81, in render
    return t.render(Context(template_dict))
  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
template.py", line 121, in wrap_render
    return orig_render(context)
  File "/base/python_lib/versions/1/django/template/__init__.py", line
168, in render
    return self.nodelist.render(context)
  File "/base/python_lib/versions/1/django/template/__init__.py", line
705, in render
    bits.append(self.render_node(node, context))
  File "/base/python_lib/versions/1/django/template/__init__.py", line
718, in render_node
    return(node.render(context))
  File "/base/python_lib/versions/1/django/template/defaulttags.py",
line 99, in render
    values = list(values)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1257, in __iter__
    return self.run()
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1589, in run
    query_run = self._proto_query.Run(*self._args, **self._kwds)
  File "/base/python_lib/versions/1/google/appengine/ext/gql/
__init__.py", line 581, in Run
    res = bind_results.Get(self.__limit, offset)
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 938, in Get
    return self._Run(limit, offset)._Next(limit)
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 1225, in _Next
    apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Next', req,
result)
  File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py", line 46, in MakeSyncCall
    stub.MakeSyncCall(service, call, request, response)
  File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 246, in MakeSyncCall
    rpc.CheckSuccess()
  File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 189, in CheckSuccess
    raise self.exception
ProtocolBufferDecodeError: Problem parsing scalar value into field:
stringValue

Sometimes at the same line a have memory error:

File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 189, in CheckSuccess
    raise self.exception
MemoryError

I have just introduced memory cache. Are there any memory restrictions
*I* have to obey when using it?

Thanks in advance

Oliver

On 1 Okt., 19:43, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It seems like there is an issue reading the results from the datastore,
> probably from some corrupt data.
>
> Can you provide more details on the code that raises this error, the data
> model you are using, and what data is stored in your datastore?
>
> It's likely that the only way to fix this is to remove the data that is
> causing the error.
>
> -Marzia
>
> On Tue, Sep 30, 2008 at 7:09 PM, Jeff <[EMAIL PROTECTED]> wrote:
>
> > Has anyone seen this error before?  It is coming up ~ every 5th
> > attempt to load the site and I can't figure out what this is.  Anyone
> > have ideas about what could be causing this?  It seems to be happening
> > during a fetch of items from the Datastore.  Any suggestions on how to
> > fix this?
>
> > ProtocolBufferDecodeError at /
> > Problem parsing scalar value into field: stringValue
> > Request Method:         GET
> > Request URL:    http://3.latest.truefoodies.appspot.com/
> > Exception Type:         ProtocolBufferDecodeError
> > Exception Value:        Problem parsing scalar value into field:
> > stringValue
> > Exception Location:     /base/python_lib/versions/1/google/appengine/
> > runtime/apiproxy.py in CheckSuccess, line 189

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to