This is an rbtools bug which will be fixed in the 0.6.1 release.

-David


On Fri, May 30, 2014 at 2:48 PM, suraj thakkar <surajjthak...@gmail.com>
wrote:

> Hello,
>
> I have the following RBTools version on a windows 7 machine and while
> doing rbt setup-repo I get the following error
>
> C:\Users\suthakka\workspace\asdm\depot\asdm\dc>rbt setup-repo
> Enter the Review Board server URL: http://kingart.cisco.com
> CRITICAL: 'Namespace' object has no attribute 'p4_client'
>
> Upon using the -d option I get the following
>
>
> >>> RBTools 0.6
> >>> Python 2.7 (r27:82525, Jul  4 2010, 09:01:59) [MSC v.1500 32 bit
> (Intel)]
> >>> Running on Windows-7-6.1.7601-SP1
> >>> Home = C:\Users\suthakka\AppData\Roaming
> >>> Current directory = C:\Users\suthakka\workspace\asdm\depot\asdm\dc
> Enter the Review Board server URL: http://kingart.cisco.com
> >>> Checking for a Subversion repository...
> >>> Unable to execute "svn help": skipping SVN
> >>> Checking for a Git repository...
> >>> Unable to execute "git --help" or "git.cmd --help": skipping Git
> >>> Checking for a Mercurial repository...
> >>> Unable to execute "hg --help": skipping Mercurial
> >>> Checking for a CVS repository...
> >>> Checking for a Perforce repository...
> Traceback (most recent call last):
>   File "C:\Python27\Scripts\rbt-script.py", line 9, in <module>
>     load_entry_point('RBTools==0.6', 'console_scripts', 'rbt')()
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\mai
> n.py", line 134, in main
>     command.run_from_argv([RB_MAIN, command_name] + args)
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\__i
> nit__.py", line 422, in run_from_argv
>     exit_code = self.main(*args) or 0
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\set
> up_repo.py", line 95, in main
>     repository_info, tool = self.initialize_scm_tool()
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\__i
> nit__.py", line 450, in initialize_scm_tool
>     client_name=client_name)
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\clients\__in
> it__.py", line 298, in scan_usable_client
>     repository_info = tool.get_repository_info()
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\clients\perf
> orce.py", line 183, in get_repository_info
>     p4_info = self.p4.info()
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\clients\perf
> orce.py", line 73, in info
>     split_lines=True)
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\clients\perf
> orce.py", line 101, in run_p4
>     if self.options.p4_client:
> AttributeError: 'Namespace' object has no attribute 'p4_client'
>
>
>
> Is this a perforce problem, a config problem or a rbt tools problem
>
>
> Thanks
> Suraj
>
> --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to