 Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/rest_framework/settings.py", line 183, in import_from_string

module = import_module(module_path)


 "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 665, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/usr/src/app/api/swagger.py", line 1, in <module>

from drf_yasg.inspectors import PaginatorInspector


 "/usr/lib/python3.6/site-packages/drf_yasg/inspectors/__init__.py", line 16, in <module>

ViewInspector.paginator_inspectors = swagger_settings.DEFAULT_PAGINATOR_INSPECTORS


 "/usr/lib/python3.6/site-packages/drf_yasg/app_settings.py", line 121, in __getattr__

val = perform_import(val, attr)


 "/usr/lib/python3.6/site-packages/rest_framework/settings.py", line 172, in perform_import

return [import_from_string(item, setting_name) for item in val]


 "/usr/lib/python3.6/site-packages/rest_framework/settings.py", line 172, in <listcomp>

return [import_from_string(item, setting_name) for item in val]


 "/usr/lib/python3.6/site-packages/rest_framework/settings.py", line 187, in import_from_string

raise ImportError(msg)
 ImportError: Could not import 'api.swagger.PageNumberPaginatorInspectorClass' for API setting 'DEFAULT_PAGINATOR_INSPECTORS'. AttributeError: module 'api.swagger' has no attribute 'PageNumberPaginatorInspectorClass'.

Traceback (most recent call last):

 "/Users/allanb/.virtualenvs/WORK/bin/bumpversion", line 9, in <module>
load_entry_point('bumpversion==0.3.5', 'console_scripts', 'bumpversion')()

 "build/bdist.macosx-10.8-x86_64/egg/bumpversion/__init__.py", line 376, in mainTypeError: coercing to Unicode: need string or buffer, NoneType found