getoryk
unread,Sep 20, 2010, 8:23:42 AM9/20/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
I'm using django 1.1 via use_library and today I'm getting lot of
DedadlineExcedded Errors (or simply Server error without any
traceback). Not always, only from time to time - there are periods of
good work. Here is the example of traceback - not sure what to do
about this:
<class 'google.appengine.runtime.DeadlineExceededError'>:
Traceback (most recent call last):
File "/base/data/home/apps/bike-reg/230.344933350703321288/
djangomain.py", line 71, in <module>
main()
File "/base/data/home/apps/bike-reg/230.344933350703321288/
djangomain.py", line 68, in main
util.run_wsgi_app(application)
File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/util.py", line 97, in run_wsgi_app
run_bare_wsgi_app(add_wsgi_middleware(application))
File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/util.py", line 115, in run_bare_wsgi_app
result = application(env, _start_response)
File "/base/python_runtime/python_lib/versions/third_party/
django-1.1/django/core/handlers/wsgi.py", line 241, in __call__
response = self.get_response(request)
File "/base/python_runtime/python_lib/versions/third_party/
django-1.1/django/core/handlers/base.py", line 133, in get_response
receivers =
signals.got_request_exception.send(sender=self.__class__,
request=request)
File "/base/python_runtime/python_lib/versions/third_party/
django-1.1/django/dispatch/dispatcher.py", line 166, in send
response = receiver(signal=self, sender=sender, **named)
File "/base/data/home/apps/bike-reg/230.344933350703321288/
djangomain.py", line 58, in log_exception
logging.exception('Exception in request: %s: %s', cls.__name__,
err)
File "/base/python_runtime/python_dist/lib/python2.5/logging/
__init__.py", line 1301, in exception
apply(error, (msg,)+args, {'exc_info': 1})
File "/base/python_runtime/python_dist/lib/python2.5/logging/
__init__.py", line 1294, in error
apply(root.error, (msg,)+args, kwargs)
File "/base/python_runtime/python_dist/lib/python2.5/logging/
__init__.py", line 1015, in error
apply(self._log, (ERROR, msg, args), kwargs)
File "/base/python_runtime/python_dist/lib/python2.5/logging/
__init__.py", line 1101, in _log
self.handle(record)
File "/base/python_runtime/python_dist/lib/python2.5/logging/
__init__.py", line 1111, in handle
self.callHandlers(record)
File "/base/python_runtime/python_dist/lib/python2.5/logging/
__init__.py", line 1148, in callHandlers
hdlr.handle(record)
File "/base/python_runtime/python_dist/lib/python2.5/logging/
__init__.py", line 655, in handle
self.emit(record)
File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/app_logging.py", line 70, in emit
message = self._AppLogsMessage(record)
File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/app_logging.py", line 83, in _AppLogsMessage
message = self.format(record).replace("\n", NEWLINE_REPLACEMENT)
File "/base/python_runtime/python_dist/lib/python2.5/logging/
__init__.py", line 630, in format
return fmt.format(record)
File "/base/python_runtime/python_dist/lib/python2.5/logging/
__init__.py", line 426, in format
record.exc_text = self.formatException(record.exc_info)
File "/base/python_runtime/python_dist/lib/python2.5/logging/
__init__.py", line 398, in formatException
traceback.print_exception(ei[0], ei[1], ei[2], None, sio)
File "/base/python_runtime/python_dist/lib/python2.5/traceback.py",
line 125, in print_exception
print_tb(tb, limit, file)
File "/base/python_runtime/python_dist/lib/python2.5/traceback.py",
line 69, in print_tb
line = linecache.getline(filename, lineno, f.f_globals)
File "/base/python_runtime/python_dist/lib/python2.5/linecache.py",
line 14, in getline
lines = getlines(filename, module_globals)
File "/base/python_runtime/python_dist/lib/python2.5/linecache.py",
line 40, in getlines
return updatecache(filename, module_globals)
File "/base/python_runtime/python_dist/lib/python2.5/linecache.py",
line 129, in updatecache
lines = fp.readlines()