您好,我在使用 python 运行 google app engine 时遇到了这个问题(在 Udacity 类(class)中工作)
C:\Program Files (x86)\Google\google_appengine>dev_appserver.py D:\gcloud\hw_templates
INFO 2016-09-09 17:26:44,811 sdk_update_checker.py:229] Checking for updates to the SDK.
INFO 2016-09-09 17:26:45,924 sdk_update_checker.py:257] The SDK is up to date.
WARNING 2016-09-09 17:26:46,247 simple_search_stub.py:1146] Could not read search indexes from c:\users\cheun\appdata\local\temp\appengine.udacity-cs253\search_indexes
INFO 2016-09-09 17:26:46,259 api_server.py:205] Starting API server at: http://localhost:64506
INFO 2016-09-09 17:26:46,266 dispatcher.py:197] Starting module "default" running at: http://localhost:8080
INFO 2016-09-09 17:26:46,272 admin_server.py:116] Starting admin server at: http://localhost:8000
似乎找不到搜索索引文件,我读到他可能是因为 chrome://flags 中的某些参数 -BuiltInDnsClient 设置为禁用,
但是这个toogle参数似乎不再出现在标志中......你能帮忙解决这个问题吗?
非常感谢大家!
最佳答案
为了子孙后代,
尝试使用以管理员身份运行
来运行您的Google Cloud SDK Shell
(或使用的任何程序)。
至少我就是这样修复我的。
关于python - 无法读取搜索索引,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39415354/