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

Deleting group gives Vikundi matching query does not exist. #29

Open
IanLawrence opened this issue May 8, 2012 · 0 comments
Open

Deleting group gives Vikundi matching query does not exist. #29

IanLawrence opened this issue May 8, 2012 · 0 comments
Assignees
Milestone

Comments

@IanLawrence
Copy link
Member

Environment:

Request Method: POST
Request URL: http://tangaza.nrcc.noklab.com/admin/Tangaza/vikundi/3/delete/

Django Version: 1.3.1
Python Version: 2.7.3
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'tangaza.Tangaza',
'django.contrib.admin']
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.transaction.TransactionMiddleware',
'tangaza.Tangaza.forms.ThreadLocals')

Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response

  1.                     response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/usr/lib/python2.7/dist-packages/django/contrib/admin/options.py" in wrapper
  2.             return self.admin_site.admin_view(view)(_args, *_kwargs)
    
    File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view
  3.                 response = view_func(request, _args, *_kwargs)
    
    File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func
  4.     response = view_func(request, _args, *_kwargs)
    
    File "/usr/lib/python2.7/dist-packages/django/contrib/admin/sites.py" in inner
  5.         return view(request, _args, *_kwargs)
    
    File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapper
  6.         return bound_func(_args, *_kwargs)
    
    File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view
  7.                 response = view_func(request, _args, *_kwargs)
    
    File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py" in bound_func
  8.             return func(self, _args2, *_kwargs2)
    
    File "/usr/lib/python2.7/dist-packages/django/db/transaction.py" in inner
  9.             res = func(_args, *_kwargs)
    
    File "/usr/lib/python2.7/dist-packages/django/contrib/admin/options.py" in delete_view
  10.         self.delete_model(request, obj)
    
    File "/usr/lib/python2.7/dist-packages/django/contrib/admin/options.py" in delete_model
  11.     obj.delete()
    
    File "/usr/lib/python2.7/dist-packages/django/db/models/base.py" in delete
  12.     collector.delete()
    
    File "/usr/lib/python2.7/dist-packages/django/db/models/deletion.py" in decorated
  13.         func(self, _args, *_kwargs)
    
    File "/usr/lib/python2.7/dist-packages/django/db/models/deletion.py" in delete
  14.                 sender=model, instance=obj, using=self.using
    
    File "/usr/lib/python2.7/dist-packages/django/dispatch/dispatcher.py" in send
  15.         response = receiver(signal=self, sender=sender, **named)
    
    File "/usr/share/tangaza/django/tangaza/apache/../../tangaza/Tangaza/signals.py" in user_left_group
  16. logger.debug("Deleting user group %s" % kwargs)
    
    File "/usr/lib/python2.7/dist-packages/django/db/models/base.py" in repr
  17.         u = unicode(self)
    
    File "/usr/share/tangaza/django/tangaza/apache/../../tangaza/Tangaza/models.py" in unicode
  18.     return "Group: %s, User: %s, Slot: %d" % (self.group.group_name, self.user.name_text, self.slot)
    
    File "/usr/lib/python2.7/dist-packages/django/db/models/fields/related.py" in get
  19.             rel_obj = QuerySet(self.field.rel.to).using(db).get(**params)
    
    File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in get
  20.                 % self.model._meta.object_name)
    

Exception Type: DoesNotExist at /admin/Tangaza/vikundi/3/delete/
Exception Value: Vikundi matching query does not exist.

@ghost ghost assigned IanLawrence May 11, 2012
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