grapesmoker / qems2

A new implementation of the QEMS submission system for quizbowl questions.
GNU General Public License v2.0
9 stars 4 forks source link

NotImplementedError on cache clear when submitting questions #289

Closed mbentley00 closed 8 years ago

mbentley00 commented 8 years ago

Doesn't happen all of the time, but I've seen it every once in a while:

NotImplementedError at /complete_upload/ subclasses of BaseCache must provide a clear() method

/home/grapesmoker/public/qems2.grapesmoker.net/lib/python2.7/site-packages/django/core/cache/backends/base.py in clear, line 207

Line 2274: /home/grapesmoker/public/qems2.grapesmoker.net/qems2/qems2/qsub/views.py in complete_upload cache.clear()

mbentley00 commented 8 years ago

Actually it's happening deterministically. I think the implementation of this method was changed recently.

mbentley00 commented 8 years ago

This only happens when the debug toolbar is enabled.