Hi,
We have just upgraded the ReviewBoard from 2.0.19 to 2.0.24. One of the developers reported the following error after the upgrade - he had RBTools 0.7.2 installed at the time:
>>> Running: svn propget reviewboard:url <SVN URL>
>>> Making HTTP GET request to http://<RBHOST>/api/
>>> Making HTTP GET request to http://<RBHOST>/api/repositories/
>>> Cached response for HTTP GET http://<RBHOST>/api/repositories/ expired and was modified
>>> Making HTTP GET request to http://<RBHOST>/api/repositories/1/info/
>>> Got API Error 210 (HTTP code 500): There was an error fetching extended information for this repository.
>>> Error data: {u'stat': u'fail', u'err': {u'msg': u'There was an error fetching extended information for this repository.', u'code': 210}}
Traceback (most recent call last):
File "/usr/bin/rbt", line 9, in <module>
load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
File "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/commands/main.py", line 133, in main
command.run_from_argv([RB_MAIN, command_name] + args)
File "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/commands/__init__.py", line 555, in run_from_argv
exit_code = self.main(*args) or 0
File "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/commands/post.py", line 603, in main
repository_info = repository_info.find_server_repository_info(api_root)
File "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/clients/svn.py", line 762, in find_server_repository_info
info = repository.get_info()
File "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/api/resource.py", line 146, in <lambda>
self._get_url(url, **kwargs)))
File "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/api/decorators.py", line 27, in request_method
*args, **kwargs)
File "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/api/transport/sync.py", line 65, in execute_request_method
return self._execute_request(request)
File "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/api/transport/sync.py", line 74, in _execute_request
rsp = self.server.make_request(request)
File "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/api/request.py", line 536, in make_request
self.process_error(e.code, e.read())
File "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/api/request.py", line 509, in process_error
rsp['err']['msg'])
rbtools.api.errors.APIError: There was an error fetching extended information for this repository. (HTTP 500, API Error 210)
I noted that 0.7.5 (that I had installed) does not even make a GET request to http://<RBHOST>/api/repositories/1/info/ (only http://<RBHOST>/api/repositories/) - so it looks like the implementation of that request (needed for older clients) was broken somewhere between 2.0.19 and 2.0.24.
Upgrading to 0.7.5 solved his issue (0.7.6 had another issue, will report in a separate thread).
Regards,
Alexey.