自从我升级到 1.8.2 开发服务器后,我在尝试使用搜索 API 进行索引时遇到错误......这是带有相关数据的 Traceback:
search.Index( 'something' ).put( self.document() )
File "C:\Dev\GAE\google\appengine\api\search\search.py", line 2485, in put
response)
File "C:\Dev\GAE\google\appengine\api\apiproxy_stub_map.py", line 94, in MakeSyncCall
return stubmap.MakeSyncCall(service, call, request, response)
File "C:\Dev\GAE\google\appengine\api\apiproxy_stub_map.py", line 328, in MakeSyncCall
rpc.CheckSuccess()
File "C:\Dev\GAE\google\appengine\api\apiproxy_rpc.py", line 156, in _WaitImpl
self.request, self.response)
File "C:\Dev\GAE\google\appengine\ext\remote_api\remote_api_stub.py", line 200, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
File "C:\Dev\GAE\google\appengine\ext\remote_api\remote_api_stub.py", line 234, in _MakeRealSyncCall
raise pickle.loads(response_pb.exception())
AttributeError: 'dict' object has no attribute 'AddFieldType'
任何人都知道为什么会这样?在 1.8.1 上工作...