Re: post-review error: WindowsError: [Error 2] The system cannot find the file specified
Hi Akilesh, I tried doing this, adding the DIFF.exe under tha %PATH% however no luck,,, i have my directory structure with a space "C:\DEV SETPUP". could this be the reason.. if so please suggest a solution, i tried changing all the ENV variable to include double codes... Regards/- Safi On Saturday, November 7, 2009 4:27:28 AM UTC+5:30, Akhilesh wrote: > > I have setup Reviewboard on Windows and now setting up post-review on > client machine so that I can start creating review requests. > > I'm getting following error: > > C:\p4>post-review 25159 -d > >>> p4 info > >>> repository info: Path: ssb-sc.mimosasystems.com:1666, Base path: > None, Supports changesets: True > >>> p4 counters > >>> Generating diff for changenum 25159 > >>> p4 describe -s 25159 > >>> Processing edit of > //mimosa/dev/dev-EWS/Products/FDA/Components/MsiIndexer/DocumentIndexer/IndexDisposer.cs > > > >>> Writing > "//mimosa/dev/dev-EWS/Products/FDA/Components/MsiIndexer/DocumentIndexer/IndexDisposer.cs#4" > > to "c:\docume~1\admini~1.jam\locals~1\temp\tmp2gtu3-" > >>> p4 print -o c:\docume~1\admini~1.jam\locals~1\temp\tmp2gtu3- -q > //mimosa/dev/dev-EWS/Products/FDA/Components/MsiIndexer/DocumentIndexer/IndexDisposer.cs#4 > > > >>> Writing > "//mimosa/dev/dev-EWS/Products/FDA/Components/MsiIndexer/DocumentIndexer/IndexDisposer.cs#5" > > to "c:\docume~1\admini~1.jam\locals~1\temp\tmpxqneeh" > >>> p4 print -o c:\docume~1\admini~1.jam\locals~1\temp\tmpxqneeh -q > //mimosa/dev/dev-EWS/Products/FDA/Components/MsiIndexer/DocumentIndexer/IndexDisposer.cs#5 > > > >>> diff -urNp c:\docume~1\admini~1.jam\locals~1\temp\tmp2gtu3- > c:\docume~1\admini~1.jam\locals~1\temp\tmpxqneeh > Traceback (most recent call last): > File "C:\Python25\Scripts\post-review-script.py", line 8, in > > load_entry_point('RBTools==0.2beta2', 'console_scripts', 'post- > review')() > File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line > 2511, in main > File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line > 1358, in diff > File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line > 1609, in _changenum_diff > File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line > 1639, in _do_diff > File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line > 2112, in execute > File "C:\Python25\lib\subprocess.py", line 593, in __init__ > errread, errwrite) > File "C:\Python25\lib\subprocess.py", line 793, in _execute_child > startupinfo) > WindowsError: [Error 2] The system cannot find the file specified > > C:\p4> > > > Any ideas? > > -- 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/groups/opt_out.
Re: post-review error: WindowsError: [Error 2] The system cannot find the file specified
I ran in to the same thing and opened a bug to make a missing diff binary a friendlier message. Pv On Nov 6, 10:24 pm, Akhilesh wrote: > After a lot of troubleshooting I found the problem: diff.exe was not > present in the PATH. > > On Nov 6, 2:57 pm, Akhilesh wrote: > > > > > I have setup Reviewboard on Windows and now setting up post-review on > > client machine so that I can start creating review requests. > > > I'm getting following error: > > > C:\p4>post-review 25159 -d>>> p4 info > > >>> repository info: Path: ssb-sc.mimosasystems.com:1666, Base path: None, > > >>> Supports changesets: True > > >>> p4 counters > > >>> Generating diff for changenum 25159 > > >>> p4 describe -s 25159 > > >>> Processing edit of > > >>> //mimosa/dev/dev-EWS/Products/FDA/Components/MsiIndexer/DocumentIndexer/Ind > > >>> exDisposer.cs > > >>> Writing > > >>> "//mimosa/dev/dev-EWS/Products/FDA/Components/MsiIndexer/DocumentIndexer/In > > >>> dexDisposer.cs#4" to "c:\docume~1\admini~1.jam\locals~1\temp\tmp2gtu3-" > > >>> p4 print -o c:\docume~1\admini~1.jam\locals~1\temp\tmp2gtu3- -q > > >>> //mimosa/dev/dev-EWS/Products/FDA/Components/MsiIndexer/DocumentIndexer/Ind > > >>> exDisposer.cs#4 > > >>> Writing > > >>> "//mimosa/dev/dev-EWS/Products/FDA/Components/MsiIndexer/DocumentIndexer/In > > >>> dexDisposer.cs#5" to "c:\docume~1\admini~1.jam\locals~1\temp\tmpxqneeh" > > >>> p4 print -o c:\docume~1\admini~1.jam\locals~1\temp\tmpxqneeh -q > > >>> //mimosa/dev/dev-EWS/Products/FDA/Components/MsiIndexer/DocumentIndexer/Ind > > >>> exDisposer.cs#5 > > >>> diff -urNp c:\docume~1\admini~1.jam\locals~1\temp\tmp2gtu3- > > >>> c:\docume~1\admini~1.jam\locals~1\temp\tmpxqneeh > > > Traceback (most recent call last): > > File "C:\Python25\Scripts\post-review-script.py", line 8, in > > > > load_entry_point('RBTools==0.2beta2', 'console_scripts', 'post- > > review')() > > File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line > > 2511, in main > > File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line > > 1358, in diff > > File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line > > 1609, in _changenum_diff > > File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line > > 1639, in _do_diff > > File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line > > 2112, in execute > > File "C:\Python25\lib\subprocess.py", line 593, in __init__ > > errread, errwrite) > > File "C:\Python25\lib\subprocess.py", line 793, in _execute_child > > startupinfo) > > WindowsError: [Error 2] The system cannot find the file specified > > > C:\p4> > > > Any ideas? --~--~-~--~~~---~--~~ Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -~--~~~~--~~--~--~---