Google App Engine PHP今天突然停止在本地运行我的应用程序。我尝试重新安装Python(2.7.8)和GAE SDK(1.9.10),但没有运气。
App Engine日志:
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)
关于发生了什么的任何想法?非常感谢!
答案 0 :(得分:7)
尝试使用选项--clear_search_indexes=yes
在启动器中,选择应用,然后编辑 - >应用设置..并将--clear_search_indexes=yes
添加到额外的命令行标记字段。
或者,如果您使用控制台,则可以执行以下操作:dev_appserver.py -A your_app_id --clear_search_indexes=yes
希望它有所帮助。