Opened 7 years ago

Closed 7 years ago

#28955 closed Bug (invalid)

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

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 (last modified by Tim Graham)

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 (1)

comment:1 by Tim Graham, 7 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

This ticket tracker is for reporting bugs. See TicketClosingReasons/UseSupportChannels for ways to get help.

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