Opened 7 years ago

Last modified 7 years ago

#28955 closed Bug

RuntimeError: populate() isn't reentrant getting this error with python3, django1.11, — at Initial Version

Reported by: testerankush Owned by: nobody
Component: Core (Management commands) Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello,
Please send me urgent help.

I configured code djangoresrframework for bakcend APIs and Angular2 for front-end. I uses docker, celery, postgres with in it.
When I run the command "python3 manage.py runserver 0.0.0.0:8000" with define port than It shows me the following error message :-

Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7f6891032268>
Traceback (most recent call last):

File "/home/test/.local/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper

fn(*args, kwargs)

File "/home/test/.local/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 112, in inner_run

autoreload.raise_last_exception()

File "/home/test/.local/lib/python3.6/site-packages/django/utils/autoreload.py", line 248, in raise_last_exception

raise _exception[1]

File "/home/test/.local/lib/python3.6/site-packages/django/core/management/init.py", line 327, in execute

autoreload.check_errors(django.setup)()

File "/home/test/.local/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper

fn(*args, kwargs)

File "/home/test/.local/lib/python3.6/site-packages/django/init.py", line 24, in setup

apps.populate(settings.INSTALLED_APPS)

File "/home/test/.local/lib/python3.6/site-packages/django/apps/registry.py", line 81, in populate

raise RuntimeError("populate() isn't reentrant")

RuntimeError: populate() isn't reentrant

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top