Mysteriously my site is occasionally throwing errors. When I go check the URL (not logged in) there is no such error.
Last night the suddenly site went down for many hours, throwing the errors below on every response. Actually I'm not sure if its every response or perhaps one misguided process. WSGIDaemonProcess crucial-systems.com processes=2 threads=15 maximum-requests=1000 inactivity-timeout=10000 Restarted and everything works fine again. File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 77, in get_response request.path_info) File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py", line 178, in resolve for pattern in self.urlconf_module.urlpatterns: File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py", line 197, in _get_urlconf_module self._urlconf_module = __import__(self.urlconf_name, {}, {}, ['']) File "/home/crucial/crucial-stack/crucial/urls.py", line 39, in <module> admin.autodiscover() File "/usr/lib/python2.5/site-packages/django/contrib/admin/__init__.py", line 40, in autodiscover __import__("%s.admin" % app) File "/home/crucial/crucial-stack/crucial/website/admin.py", line 3, in <module> from crucial.website.models import * File "/home/crucial/crucial-stack/crucial/../crucial/website/models.py", line 113, in <module> permissions.register() AttributeError: 'module' object has no attribute 'register' It looks like this is the first time urls.py is being loaded, right ? Is this a process starting up ? I get the following once every few days. NoReverseMatch: Reverse for 'crucial.default_rss' with arguments '()' and keyword arguments '{}' not found. I always use named urls {% url default_rss %} That its searching for 'crucial.default_rss' is some kind of clue. Any help or direction of where to investigate much appreciated. felix : crucial-systems.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---