Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Key Error #9

Closed
skeet70 opened this Issue Jun 1, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

skeet70 commented Jun 1, 2012

Events don't appear to be registering properly. If you do a check for the existence of the event beforehand, this doesn't come up, but the event then never gets caught.

Traceback:
File "/env/pfenv/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/env/pfenv/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  23.                 return view_func(request, *args, **kwargs)
File "/Users/Murph/Documents/dev/product/src/Product/crowd/views/owner.py" in createStep2
  226.         project.save()
File "/env/pfenv/lib/python2.7/site-packages/django/db/models/base.py" in save
  460.         self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/env/pfenv/lib/python2.7/site-packages/django/db/models/base.py" in save_base
  570.                 created=(not record_exists), raw=raw, using=using)
File "/env/pfenv/lib/python2.7/site-packages/django/dispatch/dispatcher.py" in send
  172.             response = receiver(signal=self, sender=sender, **named)
File "/Users/Murph/Documents/dev/product/src/Product/crowd/logging.py" in project_save_logger
  26.          badges.possibly_award_badge("project_created", user=instance.owner, profile=instance.owner.get_profile())
File "/env/pfenv/lib/python2.7/site-packages/brabeion/internals.py" in possibly_award_badge
  39.         for badge in self._event_registry[event]:

Exception Type: KeyError at /create/start/step2
Exception Value: 'project_created'

Python 2.7 and Django 1.3

@skeet70 skeet70 closed this Jun 1, 2012

paltman added a commit that referenced this issue Jul 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment