Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/django/views/generic/base.py", line 103, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/django/utils/decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/django/utils/decorators.py", line 133, in _wrapped_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphene_django/views.py", line 169, in dispatch
responses = [self.get_response(request, entry) for entry in data]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphene_django/views.py", line 169, in <listcomp>
responses = [self.get_response(request, entry) for entry in data]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphene_django/views.py", line 196, in get_response
execution_result = self.execute_graphql_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/aleksis/core/views.py", line 1556, in execute_graphql_request
raise error
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 540, in execute_field
completed = self.complete_value(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 632, in complete_value
return self.complete_list_value(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 744, in complete_list_value
self.handle_field_error(error, item_type)
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 569, in handle_field_error
raise error
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 726, in complete_list_value
completed_item = self.complete_value(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 612, in complete_value
completed = self.complete_value(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 650, in complete_value
return self.complete_object_value(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 927, in complete_object_value
return self.execute_fields(return_type, result, path, sub_field_nodes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 431, in execute_fields
result = self.execute_field(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 558, in execute_field
self.handle_field_error(error, return_type)
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 569, in handle_field_error
raise error
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 540, in execute_field
completed = self.complete_value(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 612, in complete_value
completed = self.complete_value(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 632, in complete_value
return self.complete_list_value(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 744, in complete_list_value
self.handle_field_error(error, item_type)
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 569, in handle_field_error
raise error
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 726, in complete_list_value
completed_item = self.complete_value(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 612, in complete_value
completed = self.complete_value(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 650, in complete_value
return self.complete_object_value(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 927, in complete_object_value
return self.execute_fields(return_type, result, path, sub_field_nodes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 431, in execute_fields
result = self.execute_field(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 558, in execute_field
self.handle_field_error(error, return_type)
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 569, in handle_field_error
raise error
File "/usr/local/lib/python3.11/dist-packages/graphql/execution/execute.py", line 521, in execute_field
result = resolve_fn(source, info, **args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/graphene_django/fields.py", line 55, in list_resolver
queryset = maybe_queryset(resolver(root, info, **args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/aleksis/core/schema/group.py", line 51, in resolve_owners
persons = (persons | Person.objects.get(pk=info.context.user.person.pk)).distinct()
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File "/usr/local/lib/python3.11/dist-packages/django/db/models/query.py", line 464, in __or__
self._check_operator_queryset(other, "|")
File "/usr/local/lib/python3.11/dist-packages/django/db/models/query.py", line 1952, in _check_operator_queryset
if self.query.combinator or other.query.combinator:
^^^^^^^^^^^
graphql.error.graphql_error.GraphQLError: 'Person' object has no attribute 'query'