Advertisement
wjlroe

spam_riak output

Jul 5th, 2011
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. (crawler)will% python spam-riak.py
  2. Obj has 159 links
  3. Obj has 248 links
  4. Traceback (most recent call last):
  5. File "spam-riak.py", line 29, in <module>
  6. single_obj.store()
  7. File "/Users/will/.venvs/crawler/lib/python2.6/site-packages/riak/riak_object.py", line 296, in store
  8. Result = t.put(self, w, dw, return_body)
  9. File "/Users/will/.venvs/crawler/lib/python2.6/site-packages/riak/transports/http.py", line 127, in put
  10. return self.parse_body(response, [200, 201, 300])
  11. File "/Users/will/.venvs/crawler/lib/python2.6/site-packages/riak/transports/http.py", line 238, in parse_body
  12. self.check_http_code(response, expected_statuses)
  13. File "/Users/will/.venvs/crawler/lib/python2.6/site-packages/riak/transports/http.py", line 224, in check_http_code
  14. raise Exception(m)
  15. Exception: Expected status [200, 201, 300], received 400
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement