An old problem but I can't find answer => populate() isn't reentrant

139 views
Skip to first unread message

kk domesote

unread,
Jul 16, 2019, 3:49:10 PM7/16/19
to Django users

Hi

I use IIS to hosting Django web site ! I always meet the below problem!!

----- log begin -----

Error occurred while reading WSGI handler:
Traceback (most recent call last):
  File "c:\program_files\anaconda3\lib\site-packages\wfastcgi.py", line 791, in main
    env, handler = read_wsgi_handler(response.physical_path)
  File "c:\program_files\anaconda3\lib\site-packages\wfastcgi.py", line 633, in read_wsgi_handler
    handler = get_wsgi_handler(os.getenv("WSGI_HANDLER"))
  File "c:\program_files\anaconda3\lib\site-packages\wfastcgi.py", line 605, in get_wsgi_handler
    handler = handler()
  File "c:\program_files\anaconda3\lib\site-packages\django\core\wsgi.py", line 12, in get_wsgi_application
    django.setup(set_prefix=True)
  File "c:\program_files\anaconda3\lib\site-packages\django\__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "c:\program_files\anaconda3\lib\site-packages\django\apps\registry.py", line 83, in populate
    raise RuntimeError("populate() isn't reentrant")
RuntimeError: populate() isn't reentrant

----- log end -------

My environment  :

Windows 10 專業版(1809)
IIS (Win10內建)
Python 3.7.3 (Anaconda)
Django 2.2.3

Very thanks !!!!!
Reply all
Reply to author
Forward
0 new messages