#28955: RuntimeError: populate() isn't reentrant getting this error with
python3,
django1.11,
-------------------------------------+-------------------------------------
Reporter: testerankush | Owner: nobody
Type: Bug | Status: closed
Component: Core (Management | Version: 2.0
commands) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* status: new => closed
* resolution: => invalid
Old 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
New 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
}}}
--
Comment:
This ticket tracker is for reporting bugs. See
TicketClosingReasons/UseSupportChannels for ways to get help.
--
Ticket URL: <https://code.djangoproject.com/ticket/28955#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.a24ab3f0b5e447d08a2913205e8f0acb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.