Skip to content

Instantly share code, notes, and snippets.

@alsoicode
Created February 16, 2015 23:17
Show Gist options
  • Save alsoicode/a55cc0e835401846486c to your computer and use it in GitHub Desktop.
Save alsoicode/a55cc0e835401846486c to your computer and use it in GitHub Desktop.
RuntimeError: populate() isn't reentrant
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/apps/registry.py", line 78, in populate
raise RuntimeError("populate() isn't reentrant")
RuntimeError: populate() isn't reentrant
(cassie_cropping)btaylor@btaylor-Wild-Dog-Performance:~/django-projects/cassie_app$ python manage.py validate
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/apps/registry.py", line 78, in populate
raise RuntimeError("populate() isn't reentrant")
RuntimeError: populate() isn't reentrant
(cassie_cropping)btaylor@btaylor-Wild-Dog-Performance:~/django-projects/cassie_app$ python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/btaylor/python-virtualenvs/cassie_cropping/lib/python3.4/site-packages/django/apps/registry.py", line 78, in populate
raise RuntimeError("populate() isn't reentrant")
@wangyuan00
Copy link

is it solved now? I have same problem.

@nithin69
Copy link

i too had the same problem can u help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment