﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4716	Devserver crashes randomly, mostly in admin	terrasque@…	Jacob	"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'
}}}"		closed	Uncategorized	dev		invalid	admin crash		Unreviewed	0	0	0	0	0	0
