Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3864 by "rbt post //depot/path/...@r1,@r2" throws an exception in 0.7.2 and no review request gets created

*** You must complete this form in its entirety, or your bug report will be
*** rejected.
*** If you have a security issue to report, please send it confidentially
*** Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
*** For customer support, please post to
*** If you have a patch, please submit it to
*** This bug tracker is public. Please check that any logs or other
*** that you include has been stripped of confidential information.

What version are you running?

RBTools 0.7.2
RB 1.7.28 and 2.0.15

What's the URL of the page containing the problem?


What steps will reproduce the problem?

$  rbt --version
RBTools 0.6.3

$ rbt post  //depot/Jam/MAIN/src/...@813,@823
Review request #11 posted.


I discarded that review and then ran the same exact command against the same
repo using RBTools 0.7.2. I had to add the debug option to get any useful

$  rbt --version
RBTools 0.7.2

$ rbt post  -d  //depot/Jam/MAIN/src/...@813,@823


+Test submitting a review with a shelve and no ship its.
Writing "//depot/Jam/MAIN/src/RELNOTES#77" to "/tmp/tmpQNewPu"
Running: p4 print -o /tmp/tmpQNewPu -q //depot/Jam/MAIN/src/RELNOTES#77
Writing "//depot/Jam/MAIN/src/RELNOTES#78" to "/tmp/tmpUJo72G"
Running: p4 print -o /tmp/tmpUJo72G -q //depot/Jam/MAIN/src/RELNOTES#78
Running: diff -urNp /tmp/tmpQNewPu /tmp/tmpUJo72G
Command exited with rc 1: [u'diff', u'-urNp', '/tmp/tmpQNewPu', '/tmp/tmpUJo72G']
--- /tmp/tmpQNewPu      2015-05-05 17:54:57.889010010 -0700
+++ /tmp/tmpUJo72G      2015-05-05 17:54:57.893009847 -0700
@@ -548,3 +548,4 @@ Release notes for Jam 2.0.

        A poorly set $(JAMSHELL) is likely to result in silent
+Test creating with 2 jobs.
Making HTTP GET request to http://localhost/api/validation/diffs/
Cached response for HTTP GET http://localhost/api/validation/diffs/ expired and was modified
Making HTTP POST request to http://localhost/api/validation/diffs/
Traceback (most recent call last):
  File "/home/sallan/envs/rbtools-0.7.2/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
File "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/", line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
File "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/", line 555, in run_from_argv
    exit_code = self.main(*args) or 0
File "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/", line 714, in main
File "/home/sallan/envs/rbtools-0.7.2/local/lib/python2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/", line 553, in check_guess_fields
    assert self.revisions

When I ran it under a debugger, I found that it was trying to run

p4 change  //depot/Jam/MAIN/src/...@813,@823

What is the expected output? What do you see instead?

A new review request

What operating system are you using? What browser?

CentOS 6 and Ubuntu

Please provide any additional information below.

Chris correctly assessed the problem:

This looks like a bug with the commit message guessing feature and Perforce revision ranges. Can you try running the same command with '-g no' ?

That does in fact get past the error.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to