First time here? Check out the FAQ!

Revision history  [back]

KeyError when modifying badges

(I can't publish links due to Karma, so I've shortened them in the code below)..... I am trying to modify a few badges from the 'admin' portal and when I click 'Save', I get the following:

KeyError at /admin/askbot/badgedata/34/
u'admin_guru'
Request Method: POST
Request URL ../admin/askbot/badgedata/34/
Django Version: 1.5.12
Exception Type: KeyError
Exception Value:    
u'admin_guru'
Exception Location: /usr/lib/python2.7/site-packages/askbot/models/badges.py in get_badge, line 981
Python Executable:  /usr/bin/python
Python Version: 2.7.5
Python Path:    
['/var/www/html/SpillBot',
 '/var/www/html/SpillBot/src/markdown2/lib',
 '/usr/lib64/python27.zip',
 '/usr/lib64/python2.7',
 '/usr/lib64/python2.7/plat-linux2',
 '/usr/lib64/python2.7/lib-tk',
 '/usr/lib64/python2.7/lib-old',
 '/usr/lib64/python2.7/lib-dynload',
 '/usr/lib64/python2.7/site-packages',
 '/usr/lib64/python2.7/site-packages/gtk-2.0',
 '/usr/lib/python2.7/site-packages',
 '/usr/lib/python2.7/site-packages/askbot/deps']
Server time:    Wed, 29 Jul 2015 10:50:32 -0600

This also happens when I try to ADD a new one.