1201: Post-review yeilds OSError: [Errno 2] No such file or directory

steven.*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 22, 2009
What version are you running?
Reviewboard 1.0 final, RBTools 0.2beta1

What's the URL of the page containing the problem?
<email gears@umich.edu for URL and login>

What steps will reproduce the problem?
1. Install Review Board 1.0 but do not add any repositories
2. Go to command line
3. Create empty new directory (anywhere) and cd into it
4. "post-review"

What is the expected output? 
Graceful error message that a repository must be added, or more options are
required.


What do you see instead?
Traceback (most recent call last):
  File "/usr/bin/post-review", line 5, in ?
    pkg_resources.run_script('RBTools==0.2beta1', 'post-review')
  File
"/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
line 448, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File
"/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
line 1173, in run_script
    exec script_code in namespace, namespace
  File "/usr/bin/post-review", line 2313, in ?

  File "/usr/bin/post-review", line 2254, in main

  File "/usr/bin/post-review", line 2206, in determine_client

  File "/usr/bin/post-review", line 744, in get_repository_info

  File "/usr/bin/post-review", line 1898, in execute

  File "/usr/lib64/python2.4/subprocess.py", line 542, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.4/subprocess.py", line 975, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

What operating system are you using? What browser?
Red Hat Enterprise Linux 5.3
python-2.4.3-24.el5
python-setuptools-0.6c7-1.el5
mod_python-3.2.8-3.1
httpd-2.2.3-22.el5
memcached-1.2.5-2.el5
mysql-5.0.45-7.el5
patch-2.5.4-29.2.3.el5
subversion-1.5.5-0.1.el5.rf
pysvn-1.6.2-1.el5

Please provide any additional information below:
For quicker response, please contact gears@umich.edu regarding this bug
report.
david
#1 david
This has since been fixed and will get into the next release. Thanks!
  • +Fixed