Closed
Bug 639863
Opened 14 years ago
Closed 14 years ago
ISE - AssertionError
Categories
(Input :: General, defect, P2)
Input
General
Tracking
(Not tracked)
VERIFIED
FIXED
3.3
People
(Reporter: mbrandt, Assigned: wenzel)
References
()
Details
(Whiteboard: [stage][prod])
Traceback (most recent call last):
File "/data/www/input.stage.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/input.stage.mozilla.com/reporter/apps/input/decorators.py", line 127, in negotiated
return release(request, *args, **kwargs)
File "/data/www/input.stage.mozilla.com/reporter/vendor/packages/Django/django/utils/decorators.py", line 76, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/data/www/input.stage.mozilla.com/reporter/apps/input/decorators.py", line 43, in cached_view
return f(request, *args, **kwargs)
File "/data/www/input.stage.mozilla.com/reporter/apps/search/views.py", line 278, in release
client=c)
File "/data/www/input.stage.mozilla.com/reporter/apps/search/views.py", line 58, in _get_results
opinions = c.query(query, **search_opts)
File "/data/www/input.stage.mozilla.com/reporter/apps/search/client.py", line 183, in query
sc.SetFilterRange(filter, *value)
File "/data/www/input.stage.mozilla.com/reporter/apps/search/sphinxapi.py", line 390, in SetFilterRange
AssertionError
<WSGIRequest
GET:<QueryDict: {u'product': [u'firefox'], u'version': [u'3.6.15'], u'date_start': [u'03/08/2011'], u'date_end': [u'']}>,
POST:<QueryDict: {}>,
COOKIES:{'WT_FPC': 'id=63.245.220.240-399914960.30133615:lv=1299571691027:ss=1299571674846',
'csrftoken': 'f0d3cdefa91c0df542e4be74f24dd48a',
'intro_seen': 'true',
's_vi': '',
'wtspl': '602215'},
META:{'CSRF_COOKIE': 'f0d3cdefa91c0df542e4be74f24dd48a',
'DOCUMENT_ROOT': '/data/www/input.stage.mozilla.com',
'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': 's_vi=[CS]v1|26A46D4805163AFD-600001820037051D[CE]; WT_FPC=id=63.245.220.240-399914960.30133615:lv=1299571691027:ss=1299571674846; csrftoken=f0d3cdefa91c0df542e4be74f24dd48a; wtspl=602215; intro_seen=true',
'HTTP_HOST': 'input.stage.mozilla.com',
'HTTP_KEEP_ALIVE': '115',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b10) Gecko/20100101 Firefox/4.0',
'HTTP_X_CLUSTER_CLIENT_IP': '63.245.220.240',
'HTTP_X_FORWARDED_FOR': '63.245.220.240',
'HTTP_X_MOZ_PLATFORM': 'other',
'PATH_INFO': u'/pt-PT/release/',
'PATH_TRANSLATED': '/data/www/input.stage.mozilla.com/reporter/wsgi/reporter.wsgi/pt-PT/release/',
'QUERY_STRING': 'product=firefox&version=3.6.15&date_start=03%2F08%2F2011&date_end=',
'REMOTE_ADDR': '10.2.81.103',
'REMOTE_PORT': '18425',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/pt-PT/release/?product=firefox&version=3.6.15&date_start=03%2F08%2F2011&date_end=',
'SCRIPT_FILENAME': '/data/www/input.stage.mozilla.com/reporter/wsgi/reporter.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.2.81.29',
'SERVER_ADMIN': 'webmaster@mozilla.com',
'SERVER_NAME': 'input.stage.mozilla.com',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Red Hat) Server at input.stage.mozilla.com Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.3 (Red Hat)',
'mod_wsgi.application_group': 'input.stage.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': '',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 2),
'wsgi.errors': <mod_wsgi.Log object at 0xb357570>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xb562ad0>,
'wsgi.input': <mod_wsgi.Input object at 0xb3349d0>,
'wsgi.loaded': datetime.datetime(2011, 3, 8, 8, 59, 17, 662866),
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 1)}>
| Assignee | ||
Comment 1•14 years ago
|
||
At first I thought this was a regression but it's not. I can reproduce it all the same on production. :(
Severity: normal → major
Priority: -- → P2
Whiteboard: [stage] → [stage][prod]
Target Milestone: --- → 3.3
| Reporter | ||
Comment 2•14 years ago
|
||
cshields said that the phx issue has been resolved but I'm still able to reproduce this error in both production and stage.
| Assignee | ||
Comment 3•14 years ago
|
||
I'll take a look and try to reproduce this locally.
Assignee: nobody → fwenzel
| Assignee | ||
Comment 4•14 years ago
|
||
I found the error, and I *believe* this is a regression, anyhow, here's a test and a fix:
http://github.com/fwenzel/reporter/commit/c47ee5e
If you picked date_start to be > today and left date_end empty, the form code would not default the end date to today, and thus, the start > end "flipping" would not occur. The search (Sphinx) client would then default the end date to today, and send it off to Sphinx, which would rightly complain. Fail fail fail! :)
This is the same problem space as bug 639998, but unfortunately not a dupe.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•14 years ago
|
||
Thanks Fred. This looks quite good again, QA Verified working.
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Component: Input → General
Product: Webtools → Input
You need to log in
before you can comment on or make changes to this bug.
Description
•