gpt4 book ai didi

php - Google App Engine PHP 突然停止在本地运行应用程序

转载 作者:太空宇宙 更新时间:2023-11-04 07:39:27 25 4
gpt4 key购买 nike

Google App Engine PHP 今天突然停止在本地运行我的应用程序。我曾尝试重新安装 Python(2.7.8) 和 GAE SDK (1.9.10),但没有成功。

App 引擎日志:

2014-09-12 19:01:29 Running command: "['C:\\Python27\\python.exe', 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', '--skip_sdk_update_check=yes', '--port=8080', '--admin_port=8000', 'C:\\raven3mil']"
INFO 2014-09-12 19:01:32,002 devappserver2.py:725] Skipping SDK update check.
WARNING 2014-09-12 19:01:32,010 api_server.py:383] Could not initialize images API; you are likely missing the Python "PIL" module.
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\google_appengine\dev_appserver.py", line 82, in <module>
_run_file(__file__, globals())
File "C:\Program Files (x86)\Google\google_appengine\dev_appserver.py", line 78, in _run_file
execfile(_PATHS.script_file(script_name), globals_)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 970, in <module>
main()
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 963, in main
dev_server.start(options)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 768, in start
request_data, storage_path, options, configuration)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 867, in _create_api_server
default_gcs_bucket_name=options.default_gcs_bucket_name)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\api_server.py", line 416, in setup_stubs
simple_search_stub.SearchServiceStub(index_file=search_index_path))
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\search\simple_search_stub.py", line 653, in __init__
self.Read()
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\search\simple_search_stub.py", line 1117, in Read
read_indexes = self._ReadFromFile()
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\search\simple_search_stub.py", line 1091, in _ReadFromFile
version, indexes = pickle.load(open(self.__index_file, 'rb'))
EOFError
2014-09-12 19:01:32 (Process exited with code 1)

关于发生了什么的任何想法?非常感谢!

最佳答案

尝试使用选项 --clear_search_indexes=yes 运行您的应用程序

在启动器中,选择应用程序,然后编辑 -> 应用程序设置.. 并将 --clear_search_indexes=yes 添加到额外的命令行标志字段。

或者,如果您使用控制台,您可以执行如下操作:dev_appserver.py -A your_app_id --clear_search_indexes=yes

希望对您有所帮助。

关于php - Google App Engine PHP 突然停止在本地运行应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25805755/

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