Found the problem!  My app was using task queues after all, to send
out email messages.  The first line in my module was:

from google.appengine.api.taskqueue import *

Once I changed it to read:

from google.appengine.api.taskqueue import Task

then everything started working again.  Apparently there is a new bug
in the taskqueue module that causes a problem if you import
everything.  It seems to have been introduced in the last week.

Thanks to Peter for his assistance in diagnosing this!


On Jul 14, 4:04 pm, Iron Mountain Foundry <[email protected]>
wrote:
> Some more information: The page request waits for about five seconds
> before it displays the error message.  This is probably the source of
> the TaskLeaseExpiredError, which I think is covering up the underlying
> error.  How can I find out what is really holding up the page
> delivery?
>
> On Jul 14, 2:04 pm, Iron Mountain Foundry <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > My application was working fine until today, when the pages started
> > returning the message "There was an error while handling your
> > request."  The logs show every single request has this error:
> > "ViewDoesNotExist: Tried yyy in module xxx.views. Error was: 'module'
> > object has no attribute 'TaskLeaseExpiredError'"  What changed from
> > yesterday?
>
> > The app configuration is Python/Django 1.1 with AppEngine Patch and
> > the ragendja utilities.  The code still works fine on my development
> > server.
>
> > The full log message is below:
>
> > Exception in request:
> > Traceback (most recent call last):
> >   File "/base/data/home/apps/zzz/1.351829111215765616/zip-packages/
> > django-1.1.zip/django/core/handlers/base.py", line 83, in get_response
> >     request.path_info)
> >   File "/base/data/home/apps/zzz/1.351829111215765616/zip-packages/
> > django-1.1.zip/django/core/urlresolvers.py", line 218, in resolve
> >     sub_match = pattern.resolve(new_path)
> >   File "/base/data/home/apps/zzz/1.351829111215765616/zip-packages/
> > django-1.1.zip/django/core/urlresolvers.py", line 125, in resolve
> >     return self.callback, args, kwargs
> >   File "/base/data/home/apps/zzz/1.351829111215765616/zip-packages/
> > django-1.1.zip/django/core/urlresolvers.py", line 137, in
> > _get_callback
> >     raise ViewDoesNotExist, "Tried %s in module %s. Error was: %s" %
> > (func_name, mod_name, str(e))
> > ViewDoesNotExist: Tried yyy in module xxx.views. Error was: 'module'
> > object has no attribute 'TaskLeaseExpiredError'
>
> > This is strange because I bundle my own Django 1.1 as a zip file.
> > Something else is causing the problem, and the app does not use any
> > tasks!

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