learning-unlimited/ESP-Website — Issue #186: Deleting a navbar causes 500's
Author: dehnert
Created: 2011-11-28 07:39:55+00:00
State: open

AFAICT, if you visit a page, delete it and/or QSD that refer to it, and then try to load the page again, you'll get an error.
I believe this is because cached navbars aren't deleted and contain some sort of reference to the now non-existent something-or-other.

See also https://diswww.mit.edu/menelaus/esp-admin/7419 and the mail to serverlog@esp.mit.edu at 2011-11-28 2:32AM, with subject line "[Serverlog] [ ESP ERROR ] Error (EXTERNAL IP): /about/Constitution.html" for some further details.

The full(ish) error message is::

PicklingError at /about/Constitution.html

Can't pickle : attribute lookup esp.web.views.navBar.LazyNavBar failed

Request Method: GET
Request URL: http://esp.mit.edu/about/Constitution.html
Django Version: 1.3
Exception Type: PicklingError
Exception Value:

Can't pickle : attribute lookup esp.web.views.navBar.LazyNavBar failed

Exception Location: /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/core/cache/backends/memcached.py in set, line 65