I've been noticing lately a lot of errors like this when trying to update
several entities at once via db.put(entities). Here is the full stack trace.
There is a strange warning at the bottom regarding exceptions during
initialization but I can't find any exception, etc in the logs. I've started to
observe this problem lately, but can't reproduce it all the time. Any clues?
In this particular instance, 5 entities got updated
01-20 06:57AM 16.909
Put accepted 6 entities but returned 0 keys.
Traceback (most recent call last):
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py",
line 515, in __call__
handler.get(*groups)
File
"/base/data/home/apps/askaro-prod/1981.347767548440122639/util/authorization.py",
line 54, in check_login
handler_method(self, *args, **kwargs)
File
"/base/data/home/apps/askaro-prod/1981.347767548440122639/handlers/askaro/admin.py",
line 110, in get
Topic.send_new_question_email_notifications(topic.user_lang, topic.key())
File
"/base/data/home/apps/askaro-prod/1981.347767548440122639/models/askaro.py",
line 893, in send_new_question_email_notifications
db.put(scores)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py",
line 1354, in put
keys = datastore.Put(entities, config=config)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py",
line 404, in Put
return _GetConnection().async_put(config, entities, extra_hook).get_result()
File
"/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 613, in get_result
results = self.__extra_hook(results)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py",
line 392, in extra_hook
(num_entities, num_keys))
InternalError: Put accepted 6 entities but returned 0 keys.
E 01-20 06:57AM 17.031
Traceback (most recent call last):
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py",
line 515, in __call__
handler.get(*groups)
File
"/base/data/home/apps/askaro-prod/1981.347767548440122639/util/authorization.py",
line 54, in check_login
handler_method(self, *args, **kwargs)
File
"/base/data/home/apps/askaro-prod/1981.347767548440122639/handlers/askaro/admin.py",
line 110, in get
Topic.send_new_question_email_notifications(topic.user_lang, topic.key())
File
"/base/data/home/apps/askaro-prod/1981.347767548440122639/models/askaro.py",
line 893, in send_new_question_email_notifications
db.put(scores)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py",
line 1354, in put
keys = datastore.Put(entities, config=config)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py",
line 404, in Put
return _GetConnection().async_put(config, entities, extra_hook).get_result()
File
"/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 613, in get_result
results = self.__extra_hook(results)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py",
line 392, in extra_hook
(num_entities, num_keys))
InternalError: Put accepted 6 entities but returned 0 keys.
D 01-20 06:57AM 17.090
Using template at
/base/data/home/apps/askaro-prod/1981.347767548440122639/template/sources/askaro/misc/error.html
I 01-20 06:57AM 17.291
Saved; key: __appstats__:007600, part: 259 bytes, full: 108924 bytes, overhead:
0.003 + 0.007; link: http://www.askaro.com/stats/details?time=1295535407687
W 01-20 06:57AM 17.298
A serious problem was encountered with the process that handled this request,
causing it to exit. This is likely to cause a new process to be used for the
next request to your application. If you see this message frequently, you may
be throwing exceptions during the initialization of your application. (Error
code 104)
--
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.