Closed Bug 648614 Opened 14 years ago Closed 14 years ago

ISE - DoesNotExist: Comment matching query does not exist.

Categories

(Input :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 606504

People

(Reporter: mbrandt, Unassigned)

References

()

Details

I can't reproduce this but wanted to make sure it was vetted by the group. /en-US/release/site/http/facebook.com Note the traceback is from prod ================================ Traceback (most recent call last): File "/data/www/django/input.mozilla.com/reporter/vendor/packages/Django/django/core/handlers/base.py", line 100, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/django/input.mozilla.com/reporter/vendor/packages/Django/django/utils/decorators.py", line 76, in _wrapped_view response = view_func(request, *args, **kwargs) File "/data/www/django/input.mozilla.com/reporter/apps/input/decorators.py", line 43, in cached_view return f(request, *args, **kwargs) File "/data/www/django/input.mozilla.com/reporter/apps/website_issues/views.py", line 126, in single_site return jingo.render(request, 'website_issues/sites.html', data) File "/data/www/django/input.mozilla.com/reporter/vendor/src/jingo/jingo/__init__.py", line 78, in render rendered = render_to_string(request, template, context) File "/data/www/django/input.mozilla.com/reporter/vendor/src/jingo/jingo/__init__.py", line 96, in render_to_string return template.render(**get_context()) File "/data/www/django/input.mozilla.com/reporter/vendor/packages/jinja2/jinja2/environment.py", line 891, in render return self.environment.handle_exception(exc_info, True) File "/data/www/django/input.mozilla.com/reporter/apps/website_issues/templates/website_issues/sites.html", line 13, in top-level template code href="{{ sites_url(form,**{name: value}) }}">{{ label }}</a> File "/data/www/django/input.mozilla.com/reporter/templates/base.html", line 65, in top-level template code {% block content %}{% endblock %} File "/data/www/django/input.mozilla.com/reporter/apps/website_issues/templates/website_issues/sites.html", line 63, in block "content" {% include "website_issues/includes/single_site.html" %} File "/data/www/django/input.mozilla.com/reporter/apps/website_issues/templates/website_issues/includes/single_site.html", line 30, in top-level template code {% for comment in cluster.secondary_comments[:4] %} File "/data/www/django/input.mozilla.com/reporter/vendor/packages/jinja2/jinja2/environment.py", line 371, in getattr return getattr(obj, attribute) File "/data/www/django/input.mozilla.com/reporter/apps/input/decorators.py", line 79, in __get__ value = self.func(obj) File "/data/www/django/input.mozilla.com/reporter/apps/website_issues/models.py", line 39, in secondary_comments qs = self.comments.exclude(pk=self.primary_comment.pk) File "/data/www/django/input.mozilla.com/reporter/vendor/packages/Django/django/db/models/fields/related.py", line 300, in __get__ rel_obj = rel_mgr.using(db).get(**params) File "/data/www/django/input.mozilla.com/reporter/vendor/packages/Django/django/db/models/query.py", line 341, in get % self.model._meta.object_name) DoesNotExist: Comment matching query does not exist. <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'WT_FPC': 'id=196.15.16.20-2750087184.30135121:lv=1302211520339:ss=1302211358295', 'intro_seen': 'true'}, META:{'CSRF_COOKIE': '85534bb8d7605167548d60d317962cfd', 'DOCUMENT_ROOT': '/data/www/django/input.mozilla.com/reporter', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'WT_FPC=id=196.15.16.20-2750087184.30135121:lv=1302211520339:ss=1302211358295; intro_seen=true', 'HTTP_HOST': 'input.mozilla.com', 'HTTP_REFERER': 'http://input.mozilla.com/en-US/release/sites', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0', 'HTTP_X_CLUSTER_CLIENT_IP': '196.15.16.20', 'PATH_INFO': u'/en-US/release/site/http/facebook.com', 'PATH_TRANSLATED': '/data/www/django/input.mozilla.com/reporter/wsgi/reporter.wsgi/en-US/release/site/http/facebook.com', 'QUERY_STRING': '', 'REMOTE_ADDR': '10.8.81.200', 'REMOTE_PORT': '43747', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/en-US/release/site/http/facebook.com', 'SCRIPT_FILENAME': '/data/www/django/input.mozilla.com/reporter/wsgi/reporter.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '10.8.81.19', 'SERVER_ADMIN': 'webmaster@mozilla.com', 'SERVER_NAME': 'input.mozilla.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache', 'mod_wsgi.application_group': 'input.mozilla.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'input', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x2b41f21ac230>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2b41f1b97210>, 'wsgi.input': <mod_wsgi.Input object at 0x2b41f21b3870>, 'wsgi.loaded': datetime.datetime(2011, 4, 8, 3, 36, 36, 429260), 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Component: Input → General
Product: Webtools → Input
You need to log in before you can comment on or make changes to this bug.