AnonSolutions / django-indy-community

Django wrapper for a cloud-base Hyperledger Indy Agent
Other
3 stars 6 forks source link

Error when send invite to organization #39

Open guilherme-funchal opened 4 years ago

guilherme-funchal commented 4 years ago

Error when a normal user tries to send a invite to an organization.

Request Method: POST

http://localhost:8000/send_invitation/ 3.0.2 DoesNotExist IndyOrganization matching query does not exist. /usr/local/lib/python3.6/dist-packages/django/db/models/query.py in get, line 417 /usr/bin/python3.6 3.6.9 ['/home/45637962049/testes/django-indy-community/indy_community_demo', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/dist-packages', '/home/45637962049/testes/src/django-modeltranslation', '/usr/lib/python3/dist-packages'] Wed, 22 Jan 2020 15:33:16 +0000

Traceback Switch to copy-and-paste view

/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py in inner

                response = get_response(request)

     …
▶ Local vars
/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py in _get_response

                    response = self.process_exception_by_middleware(e, request)

     …
▶ Local vars
/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py in _get_response

                    response = wrapped_callback(request, *callback_args, **callback_kwargs)

     …
▶ Local vars
/home/45637962049/testes/django-indy-community/indy_community_demo/indy_community/views.py in handle_connection_request

                    if my_connection.wallet.wallet_org.get():

     …
▶ Local vars
/usr/local/lib/python3.6/dist-packages/django/db/models/manager.py in manager_method

                    return getattr(self.get_queryset(), name)(*args, **kwargs)

     …
▶ Local vars
/usr/local/lib/python3.6/dist-packages/django/db/models/query.py in get

                    self.model._meta.object_name

     …
▶ Local vars