gpt4 book ai didi

google-app-engine - EOFError : EOF read where object expected 错误

转载 作者:太空宇宙 更新时间:2023-11-03 15:31:05 32 4
gpt4 key购买 nike

最近在GAE上出现了奇怪的错误,比如这个:

Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _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 _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 96, in LoadObject
__import__(cumulative_path)
EOFError: EOF read where object expected

不确定故障是在我的应用程序中还是在 GAE 上。还有其他人看到这个吗?

最佳答案

当 3 个或更多 Python 进程读/写同一个 pyc 文件时,很可能是竞争条件。已在 Python 3.3 中修复:http://bugs.python.org/issue13146

关于google-app-engine - EOFError : EOF read where object expected 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28890754/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com