Advertisement
Guest User

Untitled

a guest
Oct 14th, 2013
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.38 KB | None | 0 0
  1. ---------------------------------------------------------------------------
  2. RiakError                                 Traceback (most recent call last)
  3. <ipython-input-17-5aa4102ccce7> in <module>()
  4. ----> 1 Device.get_multiple_by_search('udid:"3456"')
  5.  
  6. /Users/dave/code/flyclops/multiplayer_api/riakclops/_documents.pyc in get_multiple_by_search(cls, query, params)
  7.     143
  8.     144         o = cls()
  9. --> 145         return o._get_multiple_by_search(query, params)
  10.     146
  11.     147
  12.  
  13. /Users/dave/code/flyclops/multiplayer_api/riakclops/_documents.pyc in _get_multiple_by_search(self, query, params)
  14.     310         print self._get_search_index_by_bucket()
  15.     311         print params
  16. --> 312         results = self._riak_client.fulltext_search(self._get_search_index_by_bucket(), query, params=params)
  17.     313         print results
  18.     314         arr = []
  19.  
  20. /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/client/transport.pyc in wrapper(self, *args, **kwargs)
  21.     125             return fn(self, transport, *args, **kwargs)
  22.     126
  23. --> 127         return self._with_retries(pool, thunk)
  24.     128
  25.     129     wrapper.__doc__ = fn.__doc__
  26.  
  27. /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/client/transport.pyc in _with_retries(self, pool, fn)
  28.      67                 with pool.take(_filter=_skip_bad_nodes) as transport:
  29.      68                     try:
  30. ---> 69                         return fn(transport)
  31.      70                     except (IOError, httplib.HTTPException) as e:
  32.      71                         if _is_retryable(e):
  33.  
  34. /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/client/transport.pyc in thunk(transport)
  35.     123
  36.     124         def thunk(transport):
  37. --> 125             return fn(self, transport, *args, **kwargs)
  38.     126
  39.     127         return self._with_retries(pool, thunk)
  40.  
  41. /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/client/operations.pyc in fulltext_search(self, transport, index, query, **params)
  42.     487         :type params: dict
  43.     488         """
  44. --> 489         return transport.search(index, query, **params)
  45.    490
  46.    491     @retryableHttpOnly
  47.  
  48. /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/transports/pbc/transport.pyc in search(self, index, query, **params)
  49.    521
  50.    522         msg_code, resp = self._request(MSG_CODE_SEARCH_QUERY_REQ, req,
  51. --> 523                                        MSG_CODE_SEARCH_QUERY_RESP)
  52.    524
  53.    525         result = {}
  54.  
  55. /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/transports/pbc/connection.pyc in _request(self, msg_code, msg, expect)
  56.     41     def _request(self, msg_code, msg=None, expect=None):
  57.     42         self._send_msg(msg_code, msg)
  58. ---> 43         return self._recv_msg(expect)
  59.     44
  60.     45     def _send_msg(self, msg_code, msg):
  61.  
  62. /Users/dave/code/flyclops/multiplayer_api/env/lib/python2.7/site-packages/riak/transports/pbc/connection.pyc in _recv_msg(self, expect)
  63.     53         if msg_code is MSG_CODE_ERROR_RESP:
  64.     54             err = self._parse_msg(msg_code, self._inbuf[1:])
  65. ---> 55             raise RiakError(err.errmsg)
  66.     56         elif msg_code in MESSAGE_CLASSES:
  67.     57             msg = self._parse_msg(msg_code, self._inbuf[1:])
  68.  
  69. RiakError: 'Query unsuccessful check the logs.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement