Patchwork breaks on Fedora 17

Ralf Baechle ralf at
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?

Here's one:

Date: Fri, 05 Oct 2012 07:35:06 -0000
From: root at localhost
To: ralf at
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/", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/var/www/", line 29, in patch
    context = PatchworkRequestContext(request)

  File "/var/www/", line 50, in __init__
    __init__(request, dict, processors);

  File "/usr/lib/python2.7/site-packages/django/template/", line 175, in __init__
    for processor in get_standard_processors() + processors:

  File "/usr/lib/python2.7/site-packages/django/template/", 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

GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
 'CSRF_COOKIE': 'xuHqlQyxqbU4Y38NLeoqV8o3RHqJHWDe',
 'HTTP_ACCEPT': '*/*',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'ru, uk;q=0.8, be;q=0.8, en;q=0.7, *;q=0.01',
 'HTTP_CONNECTION': 'Keep-Alive',
 'HTTP_FROM': 'support at',
 'HTTP_HOST': '',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; YandexBot/3.0; +',
 'PATH_INFO': u'/patch/1552/',
 'SERVER_SOFTWARE': 'mod_python'}>

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
>   ./ 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 mailing list