Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3450 by Successful delete calls made through API throw ValueError

*** You must complete this form in its entirety, or your bug report will be
*** rejected.
*** If you have a security issue to report, please send it confidentially
*** Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
*** For customer support, please post to
*** If you have a patch, please submit it to
*** This bug tracker is public. Please check that any logs or other
*** that you include has been stripped of confidential information.

What version are you running?
ReviewBoard 1.5, RBTools 0.6

What's the URL of the page containing the problem?
Confidential, cannot disclose

What steps will reproduce the problem?
1. Start up a python repl
2. Run the code below
rom rbtools.api.client import RBClient
# withholding server, username, and password for security reasons
client = RBClient('**************', username='******************', password='**************')
root = client.get_root()
repo_to_delete = root.get_repository(repository_id = ******)

What is the expected output? What do you see instead?
Expected: HTTP response confirming deletion
File "<stdin>", line 1, in <module>
File "/opt/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/RBTools-0.6.1-py2.7.egg/rbtools/api/", line 130, in <lambda>
    meth(resource, **kwargs)))
File "/opt/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/RBTools-0.6.1-py2.7.egg/rbtools/api/", line 24, in request_method
    *args, **kwargs)
File "/opt/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/RBTools-0.6.1-py2.7.egg/rbtools/api/transport/", line 61, in execute_request_method
    return self._execute_request(request)
File "/opt/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/RBTools-0.6.1-py2.7.egg/rbtools/api/transport/", line 75, in _execute_request
    payload = decode_response(payload, mime_type)
File "/opt/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/RBTools-0.6.1-py2.7.egg/rbtools/api/", line 49, in decode_response
    return decoder(payload)
File "/opt/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/RBTools-0.6.1-py2.7.egg/rbtools/api/", line 29, in JsonDecoder
    return json.loads(payload)
File "/opt/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/", line 338, in loads
    return _default_decoder.decode(s)
File "/opt/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/opt/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
What operating system are you using? What browser?
Mac OS X, Chrome

Please provide any additional information below.
The deletion is successful, but ValueError is thrown.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to