Re: [KORG] Announcement: patchwork.kernel.org

J.H.
2009-01-01T19:34:26Z

Site does not exist errors should be fixed now.

- John 'Warthog9' Hawley

Kyle Moffett wrote:
> On Thu, Jan 1, 2009 at 11:42 AM, Kyle Moffett <kyle@moffetthome.net> wrote:
>
>> On Thu, Jan 1, 2009 at 9:26 AM, Sitsofe Wheeler <sitsofe@yahoo.com> wrote:
>>
>>> J.H. wrote:
>>>
>>>> If you have problems, concerns or issues please e-mail
>>>> ftpadmin@kernel.org.
>>>>
>>> I get a python error when I try and do a search:
>>> http://patchwork.kernel.org/project/LKML/list/?q=lzma
>>>
>> It looks like there is some kind of caching-related bug... I just
>> tried several pages and got a python error "Site does not exist" the
>> *first* time I tried to load any given page. After it had displayed
>> once as "Site does not exist", a simple reload would display the
>> actual page.
>>
>
> Ok, appended is the copy-paste of the Django error text.
>
> Cheers,
> Kyle Moffett
>
>
>
>
> Environment:
>
> Request Method: GET
> Request URL: http://patchwork.kernel.org/project/linux-acpi/list/
> Django Version: 1.0-final-SVN-unknown
> Python Version: 2.5.1
> Installed Applications:
> ['django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.sites',
> 'django.contrib.admin',
> 'patchwork',
> 'registration']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.middleware.doc.XViewMiddleware')
>
>
> Traceback:
> File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py"
> in get_response
> 86. response = callback(request, *callback_args,
> **callback_kwargs)
> File "/var/www/patchwork/apps/patchwork/views/patch.py" in list
> 128. view_args = {'project_id': project.linkname})
> File "/var/www/patchwork/apps/patchwork/views/__init__.py" in generic_list
> 31. list_view_params = view_args)
> File "/var/www/patchwork/apps/patchwork/requestcontext.py" in __init__
> 70. 'site': Site.objects.get_current(),
> File "/usr/lib/python2.5/site-packages/django/contrib/sites/models.py"
> in get_current
> 22. current_site = self.get(pk=sid)
> File "/usr/lib/python2.5/site-packages/django/db/models/manager.py" in get
> 93. return self.get_query_set().get(*args, **kwargs)
> File "/usr/lib/python2.5/site-packages/django/db/models/query.py" in get
> 303. % self.model._meta.object_name)
>
> Exception Type: DoesNotExist at /project/linux-acpi/list/
> Exception Value: Site matching query does not exist.
>