This site is an archive; learn more about 8 years of OpenHatch.

[Devel] [Kaboom at OH] Error (EXTERNAL IP): /+projects/xorg-x11-drv-intel

mr_website at linode.openhatch.org mr_website at linode.openhatch.org
Sun Feb 21 05:41:45 UTC 2010


Traceback (most recent call last):

  File "/home/deploy/milestone-a.buildout/parts/production/django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "<string>", line 2, in project

  File "/home/deploy/milestone-a.buildout/mysite/base/decorators.py", line 13, in view
    request, template, view_data = func(*args, **kw)

  File "/home/deploy/milestone-a.buildout/mysite/project/views.py", line 17, in project
    p = get_object_or_404(Project, name=project__name)

  File "/home/deploy/milestone-a.buildout/parts/production/django/shortcuts/__init__.py", line 85, in get_object_or_404
    return queryset.get(*args, **kwargs)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/query.py", line 307, in get
    % (self.model._meta.object_name, num, kwargs))

MultipleObjectsReturned: get() returned more than one Project -- it returned 5! Lookup parameters were {'name': u'xorg-x11-drv-intel'}


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'DOCUMENT_ROOT': '/var/www/',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTPS': '1',
 'HTTP_ACCEPT': '*/*',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_CONNECTION': 'Keep-alive',
 'HTTP_FROM': 'googlebot(at)googlebot.com',
 'HTTP_HOST': 'openhatch.org',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/+projects/xorg-x11-drv-intel',
 'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/+projects/xorg-x11-drv-intel',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '66.249.71.151',
 'REMOTE_PORT': '50766',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/+projects/xorg-x11-drv-intel',
 'SCRIPT_FILENAME': '/home/deploy/milestone-a.buildout/bin/production.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '74.207.229.254',
 'SERVER_ADMIN': 'webmaster at localhost',
 'SERVER_NAME': 'openhatch.org',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Debian) Server at openhatch.org Port 443</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.14 (Debian)',
 'mod_wsgi.application_group': 'openhatch.org|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.listener_host': '',
 'mod_wsgi.listener_port': '443',
 'mod_wsgi.process_group': 'live',
 'mod_wsgi.reload_mechanism': '1',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (2, 5),
 'wsgi.errors': <mod_wsgi.Log object at 0x983b7e8>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x9850da0>,
 'wsgi.input': <mod_wsgi.Input object at 0x987da98>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>


More information about the Devel mailing list