Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (crawler)will% python spam-riak.py
- Obj has 159 links
- Obj has 248 links
- Traceback (most recent call last):
- File "spam-riak.py", line 29, in <module>
- single_obj.store()
- File "/Users/will/.venvs/crawler/lib/python2.6/site-packages/riak/riak_object.py", line 296, in store
- Result = t.put(self, w, dw, return_body)
- File "/Users/will/.venvs/crawler/lib/python2.6/site-packages/riak/transports/http.py", line 127, in put
- return self.parse_body(response, [200, 201, 300])
- File "/Users/will/.venvs/crawler/lib/python2.6/site-packages/riak/transports/http.py", line 238, in parse_body
- self.check_http_code(response, expected_statuses)
- File "/Users/will/.venvs/crawler/lib/python2.6/site-packages/riak/transports/http.py", line 224, in check_http_code
- raise Exception(m)
- Exception: Expected status [200, 201, 300], received 400
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement