vintasoftware / django-react-boilerplate

Django 5, React, Bootstrap 5 with Python 3 and Webpack project boilerplate
MIT License
1.97k stars 479 forks source link

Project not working on docker or local #513

Closed nearbody closed 3 years ago

nearbody commented 4 years ago

Describe the bug I am running this command and I am getting the error. docker-compose run --rm backend python manage.py makemigrations

File "/usr/local/lib/python3.6/site-packages/django/urls/resolvers.py", line 400, in check messages.extend(check_resolver(pattern)) File "/usr/local/lib/python3.6/site-packages/django/core/checks/urls.py", line 23, in check_resolver return check_method() File "/usr/local/lib/python3.6/site-packages/django/urls/resolvers.py", line 401, in check messages.extend(self._check_custom_error_handlers()) File "/usr/local/lib/python3.6/site-packages/django/urls/resolvers.py", line 418, in _check_custom_error_handlers signature = inspect.signature(handler) File "/usr/local/lib/python3.6/inspect.py", line 3065, in signature return Signature.from_callable(obj, follow_wrapped=follow_wrapped) File "/usr/local/lib/python3.6/inspect.py", line 2815, in from_callable follow_wrapper_chains=follow_wrapped) File "/usr/local/lib/python3.6/inspect.py", line 2269, in _signature_from_callable return _signature_from_function(sigcls, obj) File "/usr/local/lib/python3.6/inspect.py", line 2139, in _signature_from_function kind=_POSITIONAL_OR_KEYWORD)) File "/usr/local/lib/python3.6/inspect.py", line 2454, in __init__ self._kind = _ParameterKind(kind) File "/usr/local/lib/python3.6/enum.py", line 293, in __call__ return cls.__new__(cls, value) File "/usr/local/lib/python3.6/enum.py", line 521, in __new__ if type(value) is cls: RecursionError: maximum recursion depth exceeded while calling a Python object

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

rvlb commented 3 years ago

I wasn't able to reproduce this issue on a recently created project, but I've updated the documentation on how to run using Docker here. Closing this for now, but please feel free to re-open if the issue persists for you.