问题描述
Google App Engine PHP今天突然停止在本地运行我的应用程序.我尝试重新安装Python(2.7.8)和GAE SDK(1.9.10),但没有成功.
Google App Engine PHP suddenly stopped running my app locally today. I have tried re installing Python(2.7.8) and GAE SDK (1.9.10) with no luck.
App Engine日志:
App Engine Log:
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)
关于发生了什么的任何想法?非常感谢!
Any ideas as to what's going on? Thanks a lot!
推荐答案
尝试使用选项-clear_search_indexes = yes
在启动器中,选择应用程序,然后编辑->应用程序设置..并将-clear_search_indexes = yes
添加到额外的命令行标志字段中.
In the launcher, select the app, then edit->application settings.. and add --clear_search_indexes=yes
to the extra command line flags field.
或者,如果您使用控制台,则可以执行以下操作: dev_appserver.py -A your_app_id --clear_search_indexes = yes
Or if you use the console you can do something like: dev_appserver.py -A your_app_id --clear_search_indexes=yes
希望有帮助.
这篇关于Google App Engine PHP突然停止在本地运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!