Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key Error #9

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

Key Error #9

skeet70 opened this issue Jun 1, 2012 · 0 comments

Comments

@skeet70
Copy link
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 as completed 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant