562: post-review does not handle error code 206 : The repository path specified is not in the list of known repositories

cstej*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Sept. 21, 2008
What's the URL of the page containing the problem?


What steps will reproduce the problem?
1. setup review board with some subversion URL
2. use a different name for the repository URL in the checkout (ie. fully qualified host name)
3. try to submit a review

What is the expected output? What do you see instead?

I'm expecting a sane error message that lets me know what the problem might be. Instead I see 

Traceback (most recent call last):
  File "/usr/bin/pdb", line 1213, in main
    pdb._runscript(mainpyfile)
  File "/usr/bin/pdb", line 1138, in _runscript
    self.run(statement, globals=globals_, locals=locals_)
  File "/usr/lib/python2.5/bdb.py", line 366, in run
    exec cmd in globals, locals
  File "<string>", line 1, in <module>
  File "/home/cstejerean/bin/post-review", line 1561, in <module>
    main(sys.argv[1:])
  File "/home/cstejerean/bin/post-review", line 1543, in main
    submit_as=options.submit_as)
  File "/home/cstejerean/bin/post-review", line 1327, in tempt_fate
    review_request = server.new_review_request(changenum, submit_as)
  File "/home/cstejerean/bin/post-review", line 250, in new_review_request
    return rsp['review_request']
KeyError: 'review_request'


Please provide any additional information below.

Running under PDB I saw that rsp is {u'repository_path': 
u'svn+ssh://dev.leapfrogonline.com/vol2/svn', u'stat': u'fail', u'err': {u'msg': u'The repository 
path specified is not in the list of known repositories', u'code': 206}
chipx86
#1 chipx86
  • +Component-Scripts
    +EasyFix
    +Milestone-Release1.0
david
#2 david
I think this is fixed now. This error message shows up in a
slightly-more-human-readable way.
  • +Fixed