Status

Input
General
VERIFIED FIXED
8 years ago
7 years ago

People

(Reporter: wenzel, Assigned: wenzel)

Tracking

Details

(URL)

(Assignee)

Description

8 years ago
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 24, in wrap
    @cache_page_with_prefix(cache_timeout, key_prefix)

  File "/usr/lib/python2.6/functools.py", line 33, in update_wrapper
    setattr(wrapper, attr, getattr(wrapped, attr))

AttributeError: 'WSGIRequest' object has no attribute '__name__'
(Assignee)

Comment 1

8 years ago
The cache_page decorator was used without parentheses. I changed it so it can handle both syntaxes.

http://github.com/fwenzel/reporter/commit/40d19d4


The error is now:

DatabaseError: (1146, "Table 'input_stage_mozilla_com.feedback_clustertype' doesn't exist")
(Assignee)

Updated

8 years ago
Depends on: 582299
(Assignee)

Comment 2

8 years ago
As expected, works now.
Assignee: nobody → fwenzel
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Verified; no longer triggering the Ooopsie!
Status: RESOLVED → VERIFIED
Component: Input → General
Product: Webtools → Input
You need to log in before you can comment on or make changes to this bug.