rbt post command not working

2,005 views
Skip to first unread message

Panikera Raj

unread,
Jan 31, 2015, 6:54:29 AM1/31/15
to revie...@googlegroups.com
Hi All,

I am new to this ReviewBoard tool.

We are integrated ReviewBoard with SVN. So I need to learn about this. Please provide some information which can be help full. And I am working on Linux machine

Actually I am expecting more into Command line interface with RBT is better to do if possible. For that I have tried some thing like this:

1. I checked out code from svn branch
2. rbt setup-repo : it was asking Review Board Server URL. I gave as expected.
3. .reviewboardrc file got generated in the same directory
4. I tried rbt post command

Here rbt post command is not working. I am getting exception like:

CRITICAL: 'Working Copy Root Path'

what was issue I am not able to find out. Is this write way which I am doing?
Please suggest me on this. your help will be highly appreciated.

Thanks In Advance
Panikera

David Trowbridge

unread,
Jan 31, 2015, 1:46:53 PM1/31/15
to revie...@googlegroups.com
Hi,

Can you run `rbt post --debug` and send the output here?

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

Jeethan Menezes

unread,
Feb 2, 2015, 2:11:34 AM2/2/15
to revie...@googlegroups.com
Hi David,


Pls find the output of rbt --debug


[root@reviews ui]# rbt post

CRITICAL: 'Working Copy Root Path'
[root@reviews ui]# rbt post --debug
>>> RBTools 0.7
>>> Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]
>>> Running on Linux-2.6.32-358.el6.x86_64-x86_64-with-redhat-6.4-Santiago
>>> Home = /root
>>> Current directory = /root/svncheckout/HTMLPoCClient/Android_POC_Client/src/com/kodiak/ui
>>> Checking for a Subversion repository...
>>> Running: svn info --non-interactive
>>> Running: diff --version
>>> repository info: Path: http://172.27.4.96:3690/svn/Handset, Base path: /branches/Kodiak_Android_PoC_Client_7_4/Product/HTMLPoCClient/Android_POC_Client/src/com/kodiak/ui, Supports changesets: False
>>> Making HTTP GET request to http://172.27.4.96:80/reviews/api/
>>> Cached response for HTTP GET http://172.27.4.96:80/reviews/api/ expired and was not modified
>>> Making HTTP GET request to http://172.27.4.96:80/reviews/api/repositories/
>>> Cached response for HTTP GET http://172.27.4.96:80/reviews/api/repositories/ expired and was modified
>>> Running: svn info --non-interactive
>>> Running: diff --version
>>> repository info: Path: http://172.27.4.96:3690/svn/Handset, Base path: /branches/Kodiak_Android_PoC_Client_7_4/Product/HTMLPoCClient/Android_POC_Client/src/com/kodiak/ui, Supports changesets: False
>>> Running: svn status --ignore-externals
>>> Running: svn info .
Traceback (most recent call last):
  File "/usr/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.7', 'console_scripts', 'rbt')()
  File "/usr/lib/python2.6/site-packages/RBTools-0.7-py2.6.egg/rbtools/commands/main.py", line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "/usr/lib/python2.6/site-packages/RBTools-0.7-py2.6.egg/rbtools/commands/__init__.py", line 538, in run_from_argv
    exit_code = self.main(*args) or 0
  File "/usr/lib/python2.6/site-packages/RBTools-0.7-py2.6.egg/rbtools/commands/post.py", line 631, in main
    extra_args=extra_args)
  File "/usr/lib/python2.6/site-packages/RBTools-0.7-py2.6.egg/rbtools/clients/svn.py", line 298, in diff
    os.chdir(self.svn_info('.')['Working Copy Root Path'])
KeyError: 'Working Copy Root Path'

Regards,
Jeethan

David Trowbridge

unread,
Feb 3, 2015, 10:23:15 PM2/3/15
to revie...@googlegroups.com
Thanks,

This will be fixed in RBTools 0.7.1, which should be coming within the next few days.

-David
--

Panikera Raj

unread,
Feb 3, 2015, 11:13:23 PM2/3/15
to revie...@googlegroups.com
Hi David,

Thanks for great support.

Pls post reminder mail once you released new version... Thanks.


Regards,
Panikera

Christian Hammond

unread,
Feb 3, 2015, 11:14:38 PM2/3/15
to revie...@googlegroups.com, Panikera Raj
Hi Panikera,

You can subscribe to the announcements list at https://www.reviewboard.org/mailing-lists/. You'll then get e-mails any time there's a new release.

Christian

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

-----Original Message-----
From: Panikera Raj <paniker...@gmail.com>
Reply: revie...@googlegroups.com <revie...@googlegroups.com>>
Date: February 3, 2015 at 8:13:27 PM
To: revie...@googlegroups.com <revie...@googlegroups.com>>
Subject:  Re: rbt post command not working

> Hi David,
>
> Thanks for great support.
>
> Pls post reminder mail once you released new version... Thanks.
>
>
> Regards,
> Panikera
>
>
>
>
> On Wednesday, February 4, 2015 at 8:53:15 AM UTC+5:30, David Trowbridge
> wrote:
> >
> > Thanks,
> >
> > This will be fixed in RBTools 0.7.1, which should be coming within the
> > next few days.
> >
> > -David

Panikera Raj

unread,
Feb 12, 2015, 4:29:42 AM2/12/15
to revie...@googlegroups.com
Hi David,

My setup is working fine with 0.7.1. thanks

Now I am facing some new issue like:

For the first time When I ran rbt post command it worked fine. But later on I have checked out code from different branch, I set setup-repo path and generated .reviewboardrc file, after that I have executed rbt post command.

Now this time it is getting error as:

ERROR: There don't seem to be any diffs!


What could be the reason. Please suggest me on this.

I am using SVN with reviewboard tool


Regards,
Sunny

Panikera Raj

unread,
Feb 12, 2015, 5:49:39 AM2/12/15
to revie...@googlegroups.com
Hi David,

You can see debug info below:

rbt post --debug

[kodiak@reviews Android_POC_Client]$ rbt post --debug
>>> RBTools 0.7.1

>>> Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]
>>> Running on Linux-2.6.32-358.el6.x86_64-x86_64-with-redhat-6.4-Santiago
>>> Home = /home/kodiak
>>> Current directory = /home/kodiak/PLTCODE/Android_POC_Client

>>> Checking for a Subversion repository...
>>> Running: svn info --non-interactive
>>> Running: diff --version
>>> repository info: Path: http://172.27.4.96:3690/svn/Handset, Base path: /branches/Kodiak_Android_PoC_Client_7_8/Product/HTMLPoCClient/Android_POC_Client, Supports changesets: False
>>> Making HTTP GET request to http://172.27.4.96/reviewboard/api/
>>> Making HTTP GET request to http://172.27.4.96/reviewboard/api/repositories/

>>> Running: svn info --non-interactive
>>> Running: diff --version
>>> repository info: Path: http://172.27.4.96:3690/svn/Handset, Base path: /branches/Kodiak_Android_PoC_Client_7_8/Product/HTMLPoCClient/Android_POC_Client, Supports changesets: False
>>> Running: svn status --ignore-externals
>>> Running: svn diff --diff-cmd=diff --notice-ancestry -r BASE
>>> Running: svn diff --diff-cmd=diff --notice-ancestry -r BASE --no-diff-deleted

Traceback (most recent call last):
  File "/usr/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.7.1', 'console_scripts', 'rbt')()
  File "/usr/lib/python2.6/site-packages/RBTools-0.7.1-py2.6.egg/rbtools/commands/main.py", line 133, in main

    command.run_from_argv([RB_MAIN, command_name] + args)
  File "/usr/lib/python2.6/site-packages/RBTools-0.7.1-py2.6.egg/rbtools/commands/__init__.py", line 538, in run_from_argv

    exit_code = self.main(*args) or 0
  File "/usr/lib/python2.6/site-packages/RBTools-0.7.1-py2.6.egg/rbtools/commands/post.py", line 654, in main
    raise CommandError("There don't seem to be any diffs!")
rbtools.commands.CommandError: There don't seem to be any diffs!

Thanks In Advance



Regards,
Panikera



You received this message because you are subscribed to a topic in the Google Groups "reviewboard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/WYgpNZXWn2o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to reviewboard...@googlegroups.com.

Panikera Raj

unread,
Feb 12, 2015, 10:40:50 PM2/12/15
to revie...@googlegroups.com
Hi David,

Any updated on this.


Regards,
Panikera
To unsubscribe from this group and all its topics, send an email to reviewboard+unsubscribe@googlegroups.com.

Christian Hammond

unread,
Feb 12, 2015, 11:25:30 PM2/12/15
to revie...@googlegroups.com, Panikera Raj
Hi,

It sounds like there aren't any changes to any files in your tree. What does 'svn diff' say?

Christian

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

-----Original Message-----
From: Panikera Raj <paniker...@gmail.com>
Reply: revie...@googlegroups.com <revie...@googlegroups.com>>
Date: February 12, 2015 at 7:40:53 PM
To: revie...@googlegroups.com <revie...@googlegroups.com>>
Subject:  Re: rbt post command not working

> > load_entry_point('RBTools==0.7.1', 'console_scripts', 'rbt')()
> > File
> > "/usr/lib/python2.6/site-packages/RBTools-0.7.1-py2.6.egg/rbtools/commands/main.py",
> > line 133, in main
> > command.run_from_argv([RB_MAIN, command_name] + args)
> > File
> > "/usr/lib/python2.6/site-packages/RBTools-0.7.1-py2.6.egg/rbtools/commands/__init__.py",
> > line 538, in run_from_argv
> > exit_code = self.main(*args) or 0
> > File
> > "/usr/lib/python2.6/site-packages/RBTools-0.7.1-py2.6.egg/rbtools/commands/post.py",
> > line 654, in main
> > raise CommandError("There don't seem to be any diffs!")
> > rbtools.commands.CommandError: There don't seem to be any diffs!
> >
> > Thanks In Advance
> >
> >
> >
> > Regards,
> > Panikera
> >
> >
> >
> > On Thu, Feb 12, 2015 at 2:59 PM, Panikera Raj
> >>>> wrote:
> >>>>
> >>>>> Hi David,
> >>>>>
> >>>>>
> >>>>> Pls find the output of rbt --debug
> >>>>>
> >>>>>
> >>>>> [root@reviews ui]# rbt post
> >>>>>
> >>>>> CRITICAL: 'Working Copy Root Path'
> >>>>> [root@reviews ui]# rbt post --debug
> >>>>> >>> RBTools 0.7
> >>>>> >>> Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
> >>>>> [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]
> >>>>> >>> Running on Linux-2.6.32-358.el6.x86_64-x86_64-with-redhat-6.4-
> >>>>> Santiago
> >>>>> >>> Home = /root
> >>>>> >>> Current directory = /root/svncheckout/HTMLPoCClient/Android_POC_
> >>>>> Client/src/com/kodiak/ui
> >>>>> >>> Checking for a Subversion repository...
> >>>>> >>> Running: svn info --non-interactive
> >>>>> >>> Running: diff --version
> >>>>> >>> repository info: Path: http://172.27.4.96:3690/svn/Handset, Base
> >>>>> path: /branches/Kodiak_Android_PoC_Client_7_4/Product/
> >>>>> HTMLPoCClient/Android_POC_Client/src/com/kodiak/ui, Supports
> >>>>> changesets: False
> >>>>> >>> Making HTTP GET request to http://172.27.4.96:80/reviews/api/
> >>>>> >>> Cached response for HTTP GET http://172.27.4.96:80/reviews/api/
> >>>>> expired and was not modified
> >>>>> >>> Making HTTP GET request to http://172.27.4.96:80/reviews/
> >>>>> api/repositories/
> >>>>> >>> Cached response for HTTP GET http://172.27.4.96:80/reviews/
> >>>>> api/repositories/ expired and was modified
> >>>>> >>> Running: svn info --non-interactive
> >>>>> >>> Running: diff --version
> >>>>> >>> repository info: Path: http://172.27.4.96:3690/svn/Handset, Base
> >>>>> path: /branches/Kodiak_Android_PoC_Client_7_4/Product/
> >>>>> HTMLPoCClient/Android_POC_Client/src/com/kodiak/ui, Supports
> >>>>> changesets: False
> >>>>> >>> Running: svn status --ignore-externals
> >>>>> >>> Running: svn info .
> >>>>> Traceback (most recent call last):
> >>>>> File "/usr/bin/rbt", line 9, in

Panikera Raj

unread,
Feb 13, 2015, 3:30:52 AM2/13/15
to revie...@googlegroups.com, paniker...@gmail.com, chri...@beanbaginc.com, revie...@googlegroups.com
Hi Chrisian Hammond,

when I tried with svn diff it not printing any thing. But if I use "svn diff -c 45274" then it is showing proper difference.

even I tried rbt diff. for this it is not printing any thing.

But if I try with rbt post then it is showing ERROR: There don't seem to be any diffs


Regards,
Panikera

Christian Hammond

unread,
Feb 13, 2015, 3:32:16 AM2/13/15
to revie...@googlegroups.com, Panikera Raj, revie...@googlegroups.com, paniker...@gmail.com
Okay, if you're looking to post a specific commit for review, you'll need to pass that revision to rbt post, just like how you post it do 'svn diff -c':

    $ rbt post 45274

See if that works for you.

Christian

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

-----Original Message-----
From: Panikera Raj <paniker...@gmail.com>
Reply: Panikera Raj <paniker...@gmail.com>>
Date: February 13, 2015 at 12:30:55 AM
To: revie...@googlegroups.com <revie...@googlegroups.com>>
Cc: paniker...@gmail.com <paniker...@gmail.com>>, chri...@beanbaginc.com <chri...@beanbaginc.com>>, revie...@googlegroups.com <revie...@googlegroups.com>>
Subject:  Re: rbt post command not working

> Hi Chrisian Hammond,
>
> when I tried with *svn diff* it not printing any thing. But if I use "svn

Panikera Raj

unread,
Feb 13, 2015, 4:21:43 AM2/13/15
to revie...@googlegroups.com, paniker...@gmail.com, chri...@beanbaginc.com
Thanks for you great support Christian,

It's working perfectly.

even I am able to do diff for in between two revisions.


Regards,
Panikera
Reply all
Reply to author
Forward
0 new messages