Closed Bug 709827 Opened 13 years ago Closed 11 years ago

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

Categories

(Input Graveyard :: Backend, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mbrandt, Unassigned)

References

()

Details

(Whiteboard: [prod])

Traceback (most recent call last):

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/data/www/django/input.mozilla.com/reporter/apps/input/decorators.py", line 102, in wrapped
   return f(request, *args, **kwargs)

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/utils/decorators.py", line 93, 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/search/views.py", line 215, in index
   request, meta=meta)

 File "/data/www/django/input.mozilla.com/reporter/apps/search/views.py", line 38, in _get_results
   search_opts = _get_results_opts(request, data, product, meta)

 File "/data/www/django/input.mozilla.com/reporter/apps/search/views.py", line 62, in _get_results_opts
   search_opts['offset'] = ((data.get('page', 1) - 1) *

TypeError: unsupported operand type(s) for -: 'str' and 'int'
Reopen if this still happens with new input rewrite.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Product: Input → Input Graveyard
You need to log in before you can comment on or make changes to this bug.