Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------------------------------------
- RiakError Traceback (most recent call last)
- <ipython-input-17-5aa4102ccce7> in <module>()
- ----> 1 Device.get_multiple_by_search('udid:"3456"')
- /Users/dave/code/flyclops/multiplayer_api/riakclops/_documents.pyc in get_multiple_by_search(cls, query, params)
- 143
- 144 o = cls()
- --> 145 return o._get_multiple_by_search(query, params)
- 146
- 147
- /Users/dave/code/flyclops/multiplayer_api/riakclops/_documents.pyc in _get_multiple_by_search(self, query, params)
- 310 print self._get_search_index_by_bucket()
- 311 print params
- --> 312 results = self._riak_client.fulltext_search(self._get_search_index_by_bucket(), query, params=params)
- 313 print results
- 314 arr = []
- /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/client/transport.pyc in wrapper(self, *args, **kwargs)
- 125 return fn(self, transport, *args, **kwargs)
- 126
- --> 127 return self._with_retries(pool, thunk)
- 128
- 129 wrapper.__doc__ = fn.__doc__
- /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/client/transport.pyc in _with_retries(self, pool, fn)
- 67 with pool.take(_filter=_skip_bad_nodes) as transport:
- 68 try:
- ---> 69 return fn(transport)
- 70 except (IOError, httplib.HTTPException) as e:
- 71 if _is_retryable(e):
- /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/client/transport.pyc in thunk(transport)
- 123
- 124 def thunk(transport):
- --> 125 return fn(self, transport, *args, **kwargs)
- 126
- 127 return self._with_retries(pool, thunk)
- /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/client/operations.pyc in fulltext_search(self, transport, index, query, **params)
- 487 :type params: dict
- 488 """
- --> 489 return transport.search(index, query, **params)
- 490
- 491 @retryableHttpOnly
- /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/transports/pbc/transport.pyc in search(self, index, query, **params)
- 521
- 522 msg_code, resp = self._request(MSG_CODE_SEARCH_QUERY_REQ, req,
- --> 523 MSG_CODE_SEARCH_QUERY_RESP)
- 524
- 525 result = {}
- /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/transports/pbc/connection.pyc in _request(self, msg_code, msg, expect)
- 41 def _request(self, msg_code, msg=None, expect=None):
- 42 self._send_msg(msg_code, msg)
- ---> 43 return self._recv_msg(expect)
- 44
- 45 def _send_msg(self, msg_code, msg):
- /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/transports/pbc/connection.pyc in _recv_msg(self, expect)
- 53 if msg_code is MSG_CODE_ERROR_RESP:
- 54 err = self._parse_msg(msg_code, self._inbuf[1:])
- ---> 55 raise RiakError(err.errmsg)
- 56 elif msg_code in MESSAGE_CLASSES:
- 57 msg = self._parse_msg(msg_code, self._inbuf[1:])
- RiakError: 'Query unsuccessful check the logs.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement