Closed Bug 582285 Opened 14 years ago Closed 14 years ago

Traceback on clusters/

Categories

(Input :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wenzel, Assigned: wenzel)

References

()

Details

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__'
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")
Depends on: 582299
As expected, works now.
Assignee: nobody → fwenzel
Status: NEW → RESOLVED
Closed: 14 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.