Opened 9 years ago

Closed 9 years ago

#4716 closed (invalid)

Devserver crashes randomly, mostly in admin

Reported by: terrasque@… Owned by: jacob
Component: Uncategorized Version: master
Severity: Keywords: admin crash
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Sometimes a page wont load, usually in admin, with a traceback. Refreshing that page (or any other admin page) will make the devserver quit with no error. I have now tried on two different computers (one a vmware machine), django svn and 0.96, and python 2.5 and 2.4 in ubuntu feisty, and python 2.4 in ubuntu edgy.

It happens randomly, and seems like it can happen with any page using the database (but in 9 of 10 cases its a page in the admin interface).

Source code can be browsed at

This is the usual traceback :

Traceback (most recent call last):
File "/usr/lib/python2.4/django/core/handlers/" in get_response
  86. raise
File "/usr/lib/python2.4/django/core/handlers/" in get_response
  77. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.4/django/contrib/admin/views/" in _checklogin
  55. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.4/django/views/decorators/" in _wrapped_view_func
  39. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.4/django/contrib/admin/views/" in change_list
  779. c.update({'has_add_permission': c['perms'][app_label][cl.opts.get_add_permission()]}),
File "/usr/lib/python2.4/django/core/" in __getitem__
  66. return self.user.has_perm("%s.%s" % (self.module_name, perm_name))

  AttributeError at /admin/torrent/tag/
  'RegexURLResolver' object has no attribute 'has_perm'

Change History (1)

comment:1 Changed 9 years ago by Paul Bx <pb@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Sorry, this looks like a request for help with troubleshooting rather than a bug report. Try the django-users mailing list or the IRC channel for help in either solving it, or providing a reduced case that more clearly highlights a problem in the Django codebase.

Note: See TracTickets for help on using tickets.
Back to Top