Hi Everyone,

I am using App Engine 1.4.2 (1.4.2.1041) in Python.

I noticed a new error message in my logs.  It shows up every hour at
26 minutes past the hour.  Also, when I got into my App Engine
dashboard, the "Datastore Admin" section doesn't work (it's just
blank).

I tried re-installing App Engine but it didn't seem to help.  Has
anyone else seen this error before?

The logs say:

2011-03-11 14:26:16.196
'NoneType' object has no attribute 'active_jobs'
Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/__init__.py", line 517, in __call__
    handler.post(*groups)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/datastore_admin/utils.py", line 349, in post
    db.run_in_transaction(tx)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 1977, in RunInTransaction
    DEFAULT_TRANSACTION_RETRIES, function, *args, **kwargs)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 2063, in RunInTransactionCustomRetries
    ok, result = _DoOneTry(new_connection, function, args, kwargs)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 2084, in _DoOneTry
    result = function(*args, **kwargs)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/datastore_admin/utils.py", line 342, in tx
    operation.active_jobs -= 1
AttributeError: 'NoneType' object has no attribute 'active_jobs'

When I do a grep within the Google App Engine installation folder I
see:

$ grep -R "active_job" *
Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/ext/datastore_admin/templates/
list_actions.html:              {{operation.active_jobs}} active)
Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/ext/datastore_admin/
utils.py:          operation.active_jobs -= 1
Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/ext/datastore_admin/
utils.py:          if not operation.active_jobs:
Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/ext/datastore_admin/utils.py:
active_jobs = db.IntegerProperty(default=0)
Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/ext/datastore_admin/utils.py:
operation.active_jobs += 1
Binary file Contents/Resources/GoogleAppEngine-default.bundle/Contents/
Resources/google_appengine/google/appengine/ext/datastore_admin/
utils.pyc matches

-- 
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