The first request is the warmup request, and in my case it only has 3 lines to import ndb, db, and one other module. So it shouldn't take a long time at all. I can't verify right now since I already killed the instance, but I think a DeadlineExceededError is very unlikely in this case.
On Mon, Sep 24, 2012 at 10:41 PM, Anand Mistry <[email protected]> wrote: > Is a DeadlineExceededError exception raised on the first request to the > instance? > > > On Tuesday, 25 September 2012 13:00:00 UTC+10, Waleed wrote: >> >> Hi all, >> I'm getting random import errors from time to time. They start on one >> of the instances, and then that instance keeps generating those errors >> until I shut it down. >> >> I tried putting a _ah/warmup request, and in that request I do the >> import: >> >> * from google.appengine.ext import ndb* >> >> But that doesn't seem to solve the problem. What am I missing? I'm >> including the stack trace below. >> >> Thanks >> Waleed >> >> >> ---- >> >> 2012-09-24 13:28:32.968 /panorama/blogger?&stream_** >> suffix=__blogger&last_visit_**date=1348495705&view=manage&** >> offset=0&limit=5&parent_page_**name=panorama 500 291ms 0kb Mozilla/5.0 >> (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1 >> AlexaToolbar/alxf-2.15 >> 80.87.92.2 - - [24/Sep/2012:13:28:32 -0700] "GET >> /panorama/blogger?&stream_**suffix=__blogger&last_visit_** >> date=1348495705&view=manage&**offset=0&limit=5&parent_page_**name=panorama >> HTTP/1.1" 500 0 >> "http://www.networkedblogs.**com/panorama<http://www.networkedblogs.com/panorama>" >> "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1 >> AlexaToolbar/alxf-2.15" "www.networkedblogs.com" ms=291 cpu_ms=238 >> instance=**00c61b117c7c127a4e5e1415265fc6**70470c >> E 2012-09-24 13:28:32.788 >> Traceback (most recent call last): >> File "/base/python27_runtime/**python27_lib/versions/1/** >> google/appengine/runtime/wsgi.**py", line 195, in Handle >> handler = _config_handle.add_wsgi_**middleware(self._LoadHandler()**) >> File "/base/python27_runtime/**python27_lib/versions/1/** >> google/appengine/runtime/wsgi.**py", line 250, in _LoadHandler >> __import__(cumulative_path) >> File "/base/data/home/apps/s~**networkedblogshr/live.** >> 361951794551741701/website/**panorama_page.py", line 9, in <module> >> from google.appengine.ext import ndb >> File "/base/python27_runtime/**python27_lib/versions/1/** >> google/appengine/ext/ndb/__**init__.py", line 7, in <module> >> from tasklets import * >> File "/base/python27_runtime/**python27_lib/versions/1/** >> google/appengine/ext/ndb/**tasklets.py", line 68, in <module> >> from .google_imports import apiproxy_stub_map >> File "/base/python27_runtime/**python27_lib/versions/1/** >> google/appengine/ext/ndb/**google_imports.py", line 23, in <module> >> from google.appengine.api import prospective_search >> File "/base/python27_runtime/**python27_lib/versions/1/** >> google/appengine/api/**prospective_search/__init__.**py", line 24, in >> <module> >> from prospective_search import * >> File "/base/python27_runtime/**python27_lib/versions/1/** >> google/appengine/api/**prospective_search/**prospective_search.py", line >> 75, in <module> >> from google.appengine.api.**prospective_search import error_pb >> ImportError: cannot import name error_pb >> >> -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/0rcUU4U_gOIJ. > 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. > -- 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.
