rbt post error message

1,405 views
Skip to first unread message

Jungwhan Kim

unread,
Mar 22, 2016, 5:57:27 PM3/22/16
to reviewboard
Hi.

I am trying to set up the reviewboard with Perforce. So I installed review board in the apache in Linux and configured it with mysql. Now I am trying to set up a client tool so that I can generate/upload a diff into the review board server.

So I checked out one file for testing and created a change list in p4.  When I run rbt post <p4 change number>, I am getting the following error.  I already created .reviewboardrc file (under 
D:\code\brand123) with a reviewboard url, repository and p4 information.

D:\code\brand123>rbt post
ERROR: The current directory does not contain a checkout from a supported source code repository.

I am using 0.7.4 rbtool and windows.

Is there any configuration that I need to check?

Thanks.

David Trowbridge

unread,
Mar 22, 2016, 6:07:28 PM3/22/16
to reviewboard
Can you run with --debug and send the output?

-David

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://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.
--
-David

Caesar

unread,
Mar 22, 2016, 6:30:28 PM3/22/16
to reviewboard
I ran it with rbt post --debug. Here is the output.

>>> RBTools 0.7.1 alpha 0 (dev)
>>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)]
>>> Running on Windows-7-6.1.7601-SP1
>>> Home = C:\Users\<user>\AppData\Roaming
>>> Current directory = D:\code\branch123
>>> Checking for a Subversion repository...
>>> Unable to execute "svn help": skipping SVN
>>> Checking for a Git repository...
>>> Unable to execute "git --help" or "git.cmd --help": skipping Git
>>> Checking for a Mercurial repository...
>>> Unable to execute "hg --help": skipping Mercurial
>>> Checking for a CVS repository...
>>> Unable to execute "cvs": skipping CVS
>>> Checking for a Perforce repository...
>>> Running: p4 info
>>> Checking for a Plastic repository...
>>> Unable to execute "cm version": skipping Plastic
>>> Checking for a ClearCase repository...
>>> Unable to execute "cleartool help": skipping ClearCase
>>> Checking for a Bazaar repository...
>>> Unable to execute "bzr help": skipping Bazaar
>>> Checking for a TFS repository...
>>> Unable to execute "tf help": skipping TFS
ERROR: The current directory does not contain a checkout from a supported source code repository.

David Trowbridge

unread,
Mar 22, 2016, 7:30:14 PM3/22/16
to reviewboard
I think what's happening is it's unable to run "p4 info". Do you have the p4 command-line tool installed?

-David

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://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.
--
-David

Caesar

unread,
Mar 22, 2016, 7:50:45 PM3/22/16
to reviewboard
I have p4 client installed. How is p4 command-line tool different from p4 client?

Anyway, I googled p4 command-line tool and found this https://www.perforce.com/downloads/helix#product-6 and installed it.

I am still getting the same error.  I see the new installation directory in the path environment variable. 

But when I just run 'p4 info' in the command line, I see some output, such as client name, host, current directory and p4 server information and license.

I am not sure what the issue is.

Thanks.

David Trowbridge

unread,
Mar 30, 2016, 9:36:28 PM3/30/16
to reviewboard
If you can run "p4 info" from the command-line, then I'm not sure what's going on. Something is different from when you run it and when rbt is trying to run it.

-David
Reply all
Reply to author
Forward
0 new messages