So just to check, show me what this returns:

    dir "C:\Program Files (x86)\VisualSVN Server\trac\python\Scripts"

In the hook script, you can also try:

POSTREVIEW_PATH = os.path.join('C:', 'Program Files (x86)', 'VisualSVN Server', 
'trac', 'python', 'Scripts')

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-----Original Message-----
From: Qa Qa <testing89...@gmail.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: January 20, 2015 at 12:09:43 AM
To: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Cc: testing89...@gmail.com <testing89...@gmail.com>>, christ...@beanbaginc.com 
<christ...@beanbaginc.com>>
Subject:  Re: Fwd: Error while executing SVN Post Commit hook

> Yes, i am able to execute 'rbt' command for the specified directory.
> I have installed RBTools using command *easy_install -U RBTools*
>  
>  
> On Tuesday, January 20, 2015 at 1:11:25 PM UTC+5:30, Christian Hammond
> wrote:
> >
> > Can you verify that 'rbt' exists in the directory you specified?
> >
> > How did you install RBTools?
> >
> > Christian
> >
> > --
> > Christian Hammond - chri...@beanbaginc.com  
> > Review Board - https://www.reviewboard.org
> > Beanbag, Inc. - https://www.beanbaginc.com
> >
> > -----Original Message-----
> > From: Qa Qa >
> > Reply: revie...@googlegroups.com > > >>
> > Date: January 19, 2015 at 11:38:58 PM
> > To: revie...@googlegroups.com > > >>
> > Cc: testin...@gmail.com >>,  
> > chri...@beanbaginc.com >>  
> >
> > Subject: Re: Fwd: Error while executing SVN Post Commit hook
> >
> > > I have downloaded and installed 32 bit MSI it
> > > from https://www.python.org/download/releases/2.7.7/
> > >
> > >
> > > On Tuesday, January 20, 2015 at 12:46:30 PM UTC+5:30, Christian Hammond
> > > wrote:
> > > >
> > > > How was Python installed on this system?
> > > >
> > > > Christian
> > > >
> > > > --
> > > > Christian Hammond - chri...@beanbaginc.com
> > > > Review Board - https://www.reviewboard.org
> > > > Beanbag, Inc. - https://www.beanbaginc.com
> > > >
> > > > -----Original Message-----
> > > > From: Qa Qa >
> > > > Reply: revie...@googlegroups.com > > >>
> > > > Date: January 19, 2015 at 11:14:08 PM
> > > > To: revie...@googlegroups.com > > >>
> > > > Cc: testin...@gmail.com >>,
> > > > chri...@beanbaginc.com >>
> > > >
> > > > Subject: Re: Fwd: Error while executing SVN Post Commit hook
> > > >
> > > > > Hi,
> > > > >
> > > > > The issue is still not resolved. Please look into it ASAP.
> > > > >
> > > > > On Thursday, January 15, 2015 at 5:43:07 PM UTC+5:30, Qa Qa wrote:
> > > > > >
> > > > > > The issue is still not resolved. I am getting the same error even
> > > > after
> > > > > > using two backslashes:
> > > > > >
> > > > > > POSTREVIEW_PATH = "C:\\Program Files
> > > > > > (x86)\\VisualSVN Server\\trac\\python\\Scripts"
> > > > > >
> > > > > > On Thursday, January 15, 2015 at 4:37:28 PM UTC+5:30, Christian
> > > > Hammond
> > > > > > wrote:
> > > > > >>
> > > > > >> Hi,
> > > > > >>
> > > > > >> (Make sure to CC revie...@googlegroups.com in your e-mails.)
> > > > > >>
> > > > > >> In Python, you'll need to escape the backslashes, like:
> > > > > >>
> > > > > >> POSTREVIEW_PATH = "C:\\Program Files (x86)\\Visual SVN\\....."
> > > > > >>
> > > > > >> Christian
> > > > > >>
> > > > > >> --
> > > > > >> Christian Hammond - chri...@beanbaginc.com
> > > > > >> Review Board - https://www.reviewboard.org
> > > > > >> Beanbag, Inc. - https://www.beanbaginc.com
> > > > > >>
> > > > > >> -----Original Message-----
> > > > > >> From: QA QA
> > > > > >> Reply: QA QA >
> > > > > >> Date: January 15, 2015 at 3:05:13 AM
> > > > > >> To: Christian Hammond >
> > > > > >> Subject: Re: Fwd: Error while executing SVN Post Commit hook
> > > > > >>
> > > > > >> > Hi,
> > > > > >> >
> > > > > >> > I have set POSTREVIEW_PATH = "C:\Program Files (x86)\VisualSVN
> > > > > >> > Server\trac\python\Scripts" . This folder contains both rbt.exe
> > and
> > > > > >> > rbt-script.py files
> > > > > >> >
> > > > > >> > On Thu, Jan 15, 2015 at 4:30 PM, Christian Hammond > > wrote:
> > > > > >> >
> > > > > >> > > Can you show exactly what POSTREVIEW_PATH is set to on there?
> > It
> > > > > >> doesn't
> > > > > >> > > appear to be valid in this case. The error says that it
> > couldn't
> > > > be
> > > > > >> found.
> > > > > >> > >
> > > > > >> > > Christian
> > > > > >> > >
> > > > > >> > > --
> > > > > >> > > Christian Hammond - chri...@beanbaginc.com
> > > > > >> > > Review Board - https://www.reviewboard.org
> > > > > >> > > Beanbag, Inc. - https://www.beanbaginc.com
> > > > > >> > >
> > > > > >> > > -----Original Message-----
> > > > > >> > > From: testin...@gmail.com
> > > > > >> > > Reply: testin...@gmail.com >
> > > > > >> > > Date: January 15, 2015 at 2:53:24 AM
> > > > > >> > > To: chri...@beanbaginc.com >
> > > > > >> > > Subject: Fwd: Error while executing SVN Post Commit hook
> > > > > >> > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > On Thursday, January 15, 2015 at 4:21:01 PM UTC+5:30,
> > > > > >> > > testin...@gmail.com
> > > > > >> > > > wrote:
> > > > > >> > > > >
> > > > > >> > > > > 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
> > > > > >> > > > > 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.
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > > >>
> > > > >
> > > > > --
> > > > > 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...@googlegroups.com .
> > > > > For more options, visit https://groups.google.com/d/optout.
> > > > >
> > > >
> > > >
> > >
> > > --
> > > 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...@googlegroups.com .
> > > For more options, visit https://groups.google.com/d/optout.
> > >
> >
> >
>  
> --
> 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.
>  

-- 
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.

Reply via email to