Patchwork breaks on Fedora 17
ralf at linux-mips.org
Mon Oct 22 18:29:22 EST 2012
On Mon, Oct 22, 2012 at 02:40:06PM +0800, Jeremy Kerr wrote:
> Hi Ralf,
> > Receiving an occasional error email from patchwork got me to revisit
> > the topic a few minutes ago.
> Could you forward me one of these emails?
Date: Fri, 05 Oct 2012 07:35:06 -0000
From: root at localhost
To: ralf at linux-mips.org
Subject: [Django] ERROR (EXTERNAL IP): Internal Server Error: /patch/1552/
Content-Type: text/plain; charset="utf-8"
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/www/patchwork.linux-mips.org/patchwork/apps/patchwork/views/patch.py", line 29, in patch
context = PatchworkRequestContext(request)
File "/var/www/patchwork.linux-mips.org/patchwork/apps/patchwork/requestcontext.py", line 50, in __init__
__init__(request, dict, processors);
File "/usr/lib/python2.7/site-packages/django/template/context.py", line 175, in __init__
for processor in get_standard_processors() + processors:
File "/usr/lib/python2.7/site-packages/django/template/context.py", line 155, in get_standard_processors
raise ImproperlyConfigured('Module "%s" does not define a "%s" callable request processor' % (module, attr))
ImproperlyConfigured: Module "django.core.context_processors" does not define a "auth" callable request processor
'HTTP_ACCEPT_LANGUAGE': 'ru, uk;q=0.8, be;q=0.8, en;q=0.7, *;q=0.01',
'HTTP_FROM': 'support at search.yandex.ru',
'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)',
This one was triggered when I was still running the django-1.4 branch.
> I've recently fixed a bug where duplicate bundle creation with an
> Internal Server Error (+ bug mail) instead of returning a nice message
> to the user. If there's another source of error mails, it's probably
> something I should fix.
> > Running it for a few minutes is hardly any kind of proper testing. So
> > I'll drop you an email if something odd should happen.
> It may be useful to run the included testsuite:
> cd apps
> ./manage.py test patchwork
> This should give you fairly decent coverage.
Just tried that and got:
Got an error creating the test database: (1044, "Access denied for user 'www-data'@'localhost' to database 'test_patchwork'")
I'm going to look into that later - right now I need to hit the road.
More information about the Patchwork