自1.8.2更新以来收到错误

时间:2013-07-17 20:26:02

标签: python google-app-engine

我尝试使用搜索API进行索引时遇到错误,因为我已升级到1.8.2开发服务器...这是带有相关数据的回溯:

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 ......

1 个答案:

答案 0 :(得分:4)

删除您的搜索索引并重新索引您的实体。
这解决了我。