Closed Bug 683246 Opened 14 years ago Closed 12 years ago

[traceback] [dev] [prod] unsupported operand type(s) for -: 'str' and 'int'

Categories

(Input Graveyard :: Code Quality, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: stephend, Unassigned)

References

()

Details

(Whiteboard: [fuzzer] [prod])

http://input.allizom.org/en-US/search/atom?q=automated&product=firefox&version=--&page=%22%26%20ping%20-n%2026%20127.0.0.1%20%26 yields: Message Wrap unsupported operand type(s) for -: 'str' and 'int' Traceback Unwrap File "/data/www/input.stage.mozilla.com/reporter/vendor/packages/Django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/input.stage.mozilla.com/reporter/apps/input/decorators.py", line 102, in wrapped return f(request, *args, **kwargs) File "/data/www/input.stage.mozilla.com/reporter/vendor/packages/Django/django/utils/decorators.py", line 93, 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 202, in index request, meta=meta) File "/data/www/input.stage.mozilla.com/reporter/apps/search/views.py", line 36, in _get_results search_opts = _get_results_opts(request, data, product, meta) File "/data/www/input.stage.mozilla.com/reporter/apps/search/views.py", line 60, in _get_results_opts search_opts['offset'] = ((data.get('page', 1) - 1) *
Is this a regression?
(In reply to Nigel Babu [:nigelb] from comment #2) > Is this a regression? Which are you asking about: the original URL or the one in comment 1? AFAIC, they're the same stack, so not a recent regression, at least.
Summary: [traceback] unsupported operand type(s) for -: 'str' and 'int' → [traceback] [dev] [prod] unsupported operand type(s) for -: 'str' and 'int'
Whiteboard: [fuzzer] → [fuzzer] [prod]
Dave: is this something you wouldn't mind fixing? :-)
Assignee: nobody → dd
Assignee: dd → nobody
Probably fixed by rewrite of Input, file new if you see issues.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Product: Input → Input Graveyard
You need to log in before you can comment on or make changes to this bug.