Opened 17 years ago

Closed 17 years ago

#4716 closed (invalid)

Devserver crashes randomly, mostly in admin

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

Description

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 http://terrasque.mine.nu/svn/ptttd/trunk/ptttd/

This is the usual traceback :

Traceback (most recent call last):
File "/usr/lib/python2.4/django/core/handlers/base.py" in get_response
  86. raise
File "/usr/lib/python2.4/django/core/handlers/base.py" in get_response
  77. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.4/django/contrib/admin/views/decorators.py" in _checklogin
  55. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.4/django/views/decorators/cache.py" in _wrapped_view_func
  39. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.4/django/contrib/admin/views/main.py" 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/context_processors.py" 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 by Paul Bx <pb@…>, 17 years ago

Resolution: invalid
Status: newclosed

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