Traceback (most recent call last): file "/base/data/home/runtimes/python27/python27_lib/versions/1/Google/appengine/runtime/wsgi.py",line 240,in Handlehandler = _config_handle.add_wsgi_mIDdleware(self._LoadHandler()) file "/base/data/home/runtimes/python27/python27_lib/versions/1/Google/appengine/runtime/wsgi.py",line 299,in _LoadHandlerhandler,path,err = Loadobject(self._handler) file "/base/data/home/runtimes/python27/python27_lib/versions/1/Google/appengine/runtime/wsgi.py",line 85,in Loadobjectobj = __import__(path[0]) file "/base/data/home/apps/s~trac-us/1.392706776803493304/main.py",line 25,in <module>application = django.core.wsgi.get_wsgi_application() file "/base/data/home/apps/s~trac-us/1.392706776803493304/libs/django/core/wsgi.py",line 14,in get_wsgi_applicationdjango.setup() file "/base/data/home/apps/s~trac-us/1.392706776803493304/libs/django/__init__.py",line 18,in setupapps.populate(settings.INSTALLED_APPS) file "/base/data/home/apps/s~trac-us/1.392706776803493304/libs/django/apps/registry.py",line 78,in populateraise RuntimeError("populate() isn't reentrant") RuntimeError: populate() isn't reentrant
许多其他解决方案建议更改wsgi.py文件,因为django会在部署之前安装在requirements.txt文件中.
最终这会导致服务器声明:“错误:服务器错误
服务器遇到错误,无法完成您的请求.
请在30秒后再试一次.“我该如何解决这个问题?
但是,根据我登陆的谷歌群组线程,错误:
raise RuntimeError("populate() isn't reentrant") RuntimeError: populate() isn't reentrant
当您尝试加载的某个应用程序导致内部错误时,会导致此错误.我将在这里提供一个指向该主题的链接,虽然它与您的问题不同(您可能已经解决了它),但您仍可能发现它很有用:
Link到组线程
The answer我在谈论
希望你觉得它有用.
@H_404_44@ 总结以上是内存溢出为你收集整理的python – Populate()不是可重入的Django Google App Engine全部内容,希望文章能够帮你解决python – Populate()不是可重入的Django Google App Engine所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)