-
-
Save C0DK/12df9ec3ab67fd238e27b0a949a05fc8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-06-04T15:03:11.8404434Z File "/home/runner/work/mysystem/mysystem/backend/utils/tests.py", line 115, in assert_permission | |
2020-06-04T15:03:11.8404568Z c.get(endpoint).status_code, | |
2020-06-04T15:03:11.8404979Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/test/client.py", line 518, in get | |
2020-06-04T15:03:11.8405137Z response = super().get(path, data=data, secure=secure, **extra) | |
2020-06-04T15:03:11.8405531Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/test/client.py", line 344, in get | |
2020-06-04T15:03:11.8405833Z return self.generic('GET', path, secure=secure, **{ | |
2020-06-04T15:03:11.8406324Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/test/client.py", line 421, in generic | |
2020-06-04T15:03:11.8406466Z return self.request(**r) | |
2020-06-04T15:03:11.8406852Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/test/client.py", line 496, in request | |
2020-06-04T15:03:11.8407001Z raise exc_value | |
2020-06-04T15:03:11.8407379Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner | |
2020-06-04T15:03:11.8407525Z response = get_response(request) | |
2020-06-04T15:03:11.8407937Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response | |
2020-06-04T15:03:11.8408088Z response = self.process_exception_by_middleware(e, request) | |
2020-06-04T15:03:11.8408503Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response | |
2020-06-04T15:03:11.8408655Z response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
2020-06-04T15:03:11.8409075Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view | |
2020-06-04T15:03:11.8409209Z return view_func(*args, **kwargs) | |
2020-06-04T15:03:11.8409601Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/rest_framework/viewsets.py", line 114, in view | |
2020-06-04T15:03:11.8410005Z return self.dispatch(request, *args, **kwargs) | |
2020-06-04T15:03:11.8410431Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/rest_framework/views.py", line 505, in dispatch | |
2020-06-04T15:03:11.8410577Z response = self.handle_exception(exc) | |
2020-06-04T15:03:11.8410985Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/rest_framework/views.py", line 465, in handle_exception | |
2020-06-04T15:03:11.8411111Z self.raise_uncaught_exception(exc) | |
2020-06-04T15:03:11.8411671Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception | |
2020-06-04T15:03:11.8411820Z raise exc | |
2020-06-04T15:03:11.8412432Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/rest_framework/views.py", line 502, in dispatch | |
2020-06-04T15:03:11.8412579Z response = handler(request, *args, **kwargs) | |
2020-06-04T15:03:11.8412962Z File "/home/runner/work/investor-suite/investor-suite/backend/accounts/views.py", line 213, in new_leads | |
2020-06-04T15:03:11.8413102Z return Response(serializer.data) | |
2020-06-04T15:03:11.8413481Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/rest_framework/serializers.py", line 760, in data | |
2020-06-04T15:03:11.8413623Z ret = super().data | |
2020-06-04T15:03:11.8414013Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/rest_framework/serializers.py", line 260, in data | |
2020-06-04T15:03:11.8414162Z self._data = self.to_representation(self.instance) | |
2020-06-04T15:03:11.8414588Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/rest_framework/serializers.py", line 677, in to_representation | |
2020-06-04T15:03:11.8414728Z return [ | |
2020-06-04T15:03:11.8415106Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/db/models/query.py", line 276, in __iter__ | |
2020-06-04T15:03:11.8415242Z self._fetch_all() | |
2020-06-04T15:03:11.8415648Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/db/models/query.py", line 1261, in _fetch_all | |
2020-06-04T15:03:11.8415793Z self._result_cache = list(self._iterable_class(self)) | |
2020-06-04T15:03:11.8416190Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/db/models/query.py", line 57, in __iter__ | |
2020-06-04T15:03:11.8416339Z results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size) | |
2020-06-04T15:03:11.8416774Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1139, in execute_sql | |
2020-06-04T15:03:11.8416901Z sql, params = self.as_sql() | |
2020-06-04T15:03:11.8417299Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 491, in as_sql | |
2020-06-04T15:03:11.8417448Z extra_select, order_by, group_by = self.pre_sql_setup() | |
2020-06-04T15:03:11.8417865Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 56, in pre_sql_setup | |
2020-06-04T15:03:11.8418013Z group_by = self.get_group_by(self.select + extra_select, order_by) | |
2020-06-04T15:03:11.8418426Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 138, in get_group_by | |
2020-06-04T15:03:11.8418571Z sql, params = expr.select_format(self, sql, params) | |
2020-06-04T15:03:11.8418977Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/django/db/models/expressions.py", line 383, in select_format | |
2020-06-04T15:03:11.8419113Z return self.output_field.select_format(compiler, sql, params) | |
2020-06-04T15:03:11.8419410Z AttributeError: 'ManyToOneRel' object has no attribute 'select_format' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment