Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pulp: django.request:ERROR: Internal Server Error: /pulp/api/v3/docs/api.json
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
- response = get_response(request)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/drf_yasg/views.py", line 35, in _wrapped_view_func
- response = view_func(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/utils/decorators.py", line 142, in _wrapped_view
- response = view_func(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/decorators/vary.py", line 20, in inner_func
- response = func(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/generic/base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 495, in dispatch
- response = self.handle_exception(exc)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 455, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 466, in raise_uncaught_exception
- raise exc
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 492, in dispatch
- response = handler(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/drf_yasg/views.py", line 95, in get
- schema = generator.get_schema(request, self.public)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pulpcore/app/openapigenerator.py", line 235, in get_schema
- schema = super().get_schema(request=request, public=public)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/drf_yasg/generators.py", line 244, in get_schema
- paths, prefix = self.get_paths(endpoints, components, request, public)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pulpcore/app/openapigenerator.py", line 96, in get_paths
- resource_model = endpoints[resource_other_path][0].queryset.model
- AttributeError: 'NoneType' object has no attribute 'model'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement