Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3123 by [email protected]: rbt status crashes when run
outside of a versioned directory
http://code.google.com/p/reviewboard/issues/detail?id=3123
*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
rejected.
***
*** For customer support, please post to [email protected]
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this bug report!
What version are you running?
RBTools 0.5.2, ReviewBoard 1.7.16
What's the URL of the page containing the problem?
N/A
What steps will reproduce the problem?
1. from a non-versioned directory run "rbt status"
What is the expected output? What do you see instead?
Expected:
WARNING: The repository detected in the current directory was not found on
the Review Board server. Displaying review requests from all repositories.
and usual rbt status output
Actual:
CRITICAL:root:Values instance has no attribute 'repository_url'
With --debug
Traceback (most recent call last):
File "/usr/local/bin/rbt", line 9, in <module>
load_entry_point('RBTools==0.5.2', 'console_scripts', 'rbt')()
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/main.py",
line 106, in main
command.run_from_argv([RB_MAIN] + args)
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/__init__.py",
line 157, in run_from_argv
exit_code = self.main(*args) or 0
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/status.py",
line 85, in main
client_name=self.options.repository_type)
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/__init__.py",
line 185, in initialize_scm_tool
client_name=client_name)
File "/usr/local/lib/python2.7/dist-packages/RBTools-0.5.2-py2.7.egg/rbtools/clients/__init__.py",
line 234, in scan_usable_client
elif options.repository_url:
AttributeError: Values instance has no attribute 'repository_url'
What operating system are you using? What browser?
Ubuntu 13.10.
Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.