Project

Profile

Help

Issue #3420

closed

Not able to access documentation endpoint

Added by kersom over 6 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Sprint 34
Quarter:

Description

When attempting to HTTP GET '/api/v3/docs/' it is returning 'Server Error (500)'

'[02/Mar/2018 16:14:06] "GET /api/v3/docs/ HTTP/1.1" 500 27'

journalctl -xe

ar 02 11:14:06 localhost.localdomain pulp[6673]: django.request:ERROR: Internal Server Error: /api/v3/docs/
                                                  Traceback (most recent call last):
                                                    File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner
                                                      response = get_response(request)
                                                    File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
                                                      response = self._get_response(request)
                                                    File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response
                                                      response = self.process_exception_by_middleware(e, request)
                                                    File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response
                                                      response = wrapped_callback(request, *callback_args, **callback_kwargs)
                                                    File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
                                                      return view_func(*args, **kwargs)
                                                    File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/django/views/generic/base.py", line 68, in view
                                                      return self.dispatch(request, *args, **kwargs)
                                                    File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/rest_framework/views.py", line 494, in dispatch
                                                      response = self.handle_exception(exc)
                                                    File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/rest_framework/views.py", line 454, in handle_exception
                                                      self.raise_uncaught_exception(exc)
                                                    File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/rest_framework/views.py", line 491, in dispatch
                                                      response = handler(request, *args, **kwargs)
                                                    File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/pulpcore/apidocs/views.py", line 29, in get
                                                      return response.Response(generator.get_schema(request, public=True))
                                                    File "/home/pulp/pulpvenv/src/drf-openapi/drf_openapi/entities.py", line 96, in get_schema
                                                      links = self.get_links(None if public else request)
                                                    File "/home/pulp/pulpvenv/src/drf-openapi/drf_openapi/entities.py", line 137, in get_links
                                                      link = self.get_link(path, method, view, version=getattr(request, 'version', None))
                                                    File "/home/pulp/pulpvenv/src/drf-openapi/drf_openapi/entities.py", line 158, in get_link
                                                      fields += view.schema.get_pagination_fields(path, method)
                                                  AttributeError: 'ManualSchema' object has no attribute 'get_pagination_fields'

Pulp version:


pulp-file==0.0.1a16
pulpcore==3.0.0a24
pulpcore-common==3.0.0a14
pulpcore-plugin==0.0.1a19

Related issues

Blocks File Support - Issue #3351: The parameters in the api schema for the sync and publish endpoints are incorrectCLOSED - CURRENTRELEASEmilanActions

Also available in: Atom PDF