Thursday, November 20, 2008

Mystery Fix?

Go2.me was crashing today. It seems to be more stable now, but unfortunately, I haven't been able to determine the cause. A review of the server logs on Google App Engine show that the error is deep inside Google's code, not mine.

I updated Go2.me today, with what I think is an unrelated bug fix (and a new feature). It seems to be up for now, so I'm not sure if I resolved the problem or not.

In case any developers who read this blog might have seen a similar problem, here are a couple of backtraces from my error logs that seems to be related to the problem:


<class 'django.core.exceptions.ImproperlyConfigured'>: Error importing middleware util: "cannot import name signals" Traceback (most recent call last): File "/base/data/home/apps/g02me/7.329407303040602751/main.py", line 39, in main() File "/base/data/home/apps/g02me/7.329407303040602751/main.py", line 36, in main util.run_wsgi_app(application) File "/base/python_lib/versions/1/google/appengine/ext/webapp/util.py", line 76, in run_wsgi_app result = application(env, _start_response) File "/base/python_lib/versions/1/django/core/handlers/wsgi.py", line 184, in __call__ self.load_middleware() File "/base/python_lib/versions/1/django/core/handlers/base.py", line 31, in load_middleware raise exceptions.ImproperlyConfigured, 'Error importing middleware %s: "%s"' % (mw_module, e)
<class 'google.appengine.runtime.DeadlineExceededError'>: Traceback (most recent call last): File "/base/data/home/apps/g02me/7.329407303040602751/main.py", line 39, in main() File "/base/data/home/apps/g02me/7.329407303040602751/main.py", line 36, in main util.run_wsgi_app(application) File "/base/python_lib/versions/1/google/appengine/ext/webapp/util.py", line 76, in run_wsgi_app result = application(env, _start_response) File "/base/python_lib/versions/1/django/core/handlers/wsgi.py", line 184, in __call__ self.load_middleware() File "/base/python_lib/versions/1/django/core/handlers/base.py", line 29, in load_middleware mod = __import__(mw_module, {}, {}, ['']) File "/base/data/home/apps/g02me/7.329407303040602751/util.py", line 6, in from django.shortcuts import render_to_response File "/base/python_lib/versions/1/django/shortcuts/__init__.py", line 7, in from django.db.models.manager import Manager File "/base/python_lib/versions/1/django/db/models/__init__.py", line 8, in from django.db.models.base import Model, AdminOptions File "/base/python_lib/versions/1/django/db/models/base.py", line 1, in import django.db.models.manipulators

No comments: