I see it in 0.5.2 on CentOS 6 and in 0.5.2.dev on my Mac. Our ReviewBoard
server is 1.7.14. Here's the debug output:
DEBUG:root:Checking for a Perforce repository...
DEBUG:root:Running: p4 info
DEBUG:root:Running: diff --version
DEBUG:root:repository info: Path: ['redacted'], Base path: None, Supports
changesets: True
Traceback (most recent call last):
File "/Users/sallan/envs/rbtools-master-2.6/bin/rbt", line 8, in <module>
load_entry_point('RBTools==0.5.2.dev', 'console_scripts', 'rbt')()
File "/Users/sallan/PycharmProjects/rbtools/rbtools/commands/main.py",
line 113, in main
command.run_from_argv([RB_MAIN] + args)
File
"/Users/sallan/PycharmProjects/rbtools/rbtools/commands/__init__.py", line
157, in run_from_argv
exit_code = self.main(*args) or 0
File "/Users/sallan/PycharmProjects/rbtools/rbtools/commands/status.py",
line 60, in main
client_name=self.options.repository_type)
File
"/Users/sallan/PycharmProjects/rbtools/rbtools/commands/__init__.py", line
188, in initialize_scm_tool
tool.check_options()
File "/Users/sallan/PycharmProjects/rbtools/rbtools/clients/perforce.py",
line 298, in check_options
if self.options.revision_range:
AttributeError: Values instance has no attribute 'revision_range'
--Steve
On Friday, December 27, 2013 12:17:10 PM UTC-8, David Trowbridge wrote:
>
> I don't think we've seen this particular issue before. What version of
> rbtools are you using?
>
> -David
>
>
> On Fri, Dec 27, 2013 at 12:13 PM, Steve <[email protected]
> <javascript:>>wrote:
>
>> I didn't see an issue for this in buzilla, but before I post a bug I
>> thought I'd check here. I'm using perforce, and when I run 'rbt status' I
>> get an error. If I simply create an empty git repository, it choses that
>> instead of perforce, and then it returns the expected results:
>>
>>
>> % rbt status
>> CRITICAL:root:Values instance has no attribute 'revision_range'
>>
>> % git init
>> Initialized empty Git repository in /home/sallan/cmscripts/.git/
>>
>> % rbt status
>> WARNING:root:The repository detected in the current directory was not
>> found on
>> the Review Board server. Displaying review requests from all repositories.
>> r/79412 - Try with a smaller set of files.
>> <snip remaining list>
>>
>>
>> Is this already a know issue?
>>
>>
>> --Steve
>>
>>
>>
>> --
>> 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 [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.