I am trying to post a review from perforce to ReviewBoard using rbt diff, 
but I am getting an error: AttributeError: Values instance has no attribute 

My p4config file is as follows:


I'm pretty sure that this is correct because I can do "p4 diff" on the 
commandline and get a meaningful diff. Unfortunately, perforce does not 
create the diff in GNU format, so I have to use rbt.

My .reviewboardrc contains the following entry, which is the location of 
the reviewboard server that I have setup:


When run "rbt diff -d" I get the following output:

DEBUG:root:Checking for a Subversion repository...
DEBUG:root:Checking for a Git repository...
DEBUG:root:Checking for a Mercurial repository...
DEBUG:root:Checking for a CVS repository...
DEBUG:root:Checking for a Perforce repository...
DEBUG:root:Running: p4 info
DEBUG:root:Running: diff --version
DEBUG:root:repository info: Path: stork.questercorp.local:1666, Base path: 
None, Supports changesets: True
DEBUG:root:Making HTTP GET request to
DEBUG:root:Making HTTP GET request to
Traceback (most recent call last):
  File "C:\Python27\Scripts\rbt-script.py", line 9, in <module>
    load_entry_point('RBTools==0.5.5', 'console_scripts', 'rbt')()
line 127, in main
    command.run_from_argv([RB_MAIN] + args)
line 158, in run_from_argv
    exit_code = self.main(*args) or 0
line 95, in main
line 17, in get_diff
    diff_info = scmtool.diff(files)
line 293, in diff
    if self.options.p4_client:
AttributeError: Values instance has no attribute 'p4_client'

Is there an existing solution to this problem? If so, please give me enough 
info to fix it.

Is this a bug in RBTools code?

Thanks in advance for your help,

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.

Reply via email to