Hi, I am also facing the same error, my POSTREVIEW_PATH is also correct. I am using rbtTool 0.6.3 and Reviewboard 2.0.12. I have installed svn-hook-postcommit-review file on server 2008 machine with python 2.7.7
Error: post-commit hook failed (exit code 1) with output: Error: Traceback (most recent call last): Error: File "D:\SVNReviewBoardHook\svn-hook-postcommit-review", line 242, in <module> Error: main() Error: File "D:\SVNReviewBoardHook\svn-hook-postcommit-review", line 236, in main Error: data = execute([os.path.join(POSTREVIEW_PATH, 'rbt'), 'post'] + args, env = {'LANG': 'en_US.UTF-8'}) Error: File "D:\SVNReviewBoardHook\svn-hook-postcommit-review", line 105, in execute Error: env = env) Error: File "C:\Program Files (x86)\VisualSVN Server\trac\python\lib\subprocess.py", line 710, in __init__ Error: errread, errwrite) Error: File "C:\Program Files (x86)\VisualSVN Server\trac\python\lib\subprocess.py", line 958, in _execute_child Error: startupinfo) Error: WindowsError: [Error 2] The system cannot find the file specified Please help me fix this issue ASAP. On Monday, November 23, 2009 at 5:49:23 PM UTC+5:30, passatijy wrote: > > I fixed it. It was wrong POSTREIVEW_PATH . > > On 23 ноя, 11:38, passatijy <l...@mail.ru> wrote: > > Good day everybody. > > I'm still trying to authomate posting reviews and put my hands on post- > > commit hook from "ReviewBoard-1.1alpha1/contrib/tools/" > > > > And when I try to execute the script I'm getting error: > > > > [server:~]:1040$ /usr/bin/python /home/username/myrepo/hooks/svn-hook- > > postcommit-review "/home/username/myrepo" "3" Traceback (most recent > > call last): > > File "/home/username/myrepo/hooks/svn-hook-postcommit-review", line > > 237, in ? > > main() > > File "/home/username/myrepo/hooks/svn-hook-postcommit-review", line > > 231, in main > > env = {'LANG': 'en_US.UTF-8'}) > > File "/home/username/myrepo/hooks/svn-hook-postcommit-review", line > > 106, in execute > > env = env) > > File "/usr/lib/python2.4/subprocess.py", line 550, in __init__ > > errread, errwrite) > > File "/usr/lib/python2.4/subprocess.py", line 993, in _execute_child > > raise child_exception > > OSError: [Errno 2] No such file or directory > > > > What the file is missing ? > > How to fix it ? > -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.