Re: What is the correct arguments for rb-site manage?

2014-03-05 Thread Tamer Afify

>
> I was getting error "error: cannot convert argument to integer" emailed 
>> to me.
>>
>

-- 
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.


Re: What is the correct arguments for rb-site manage?

2014-03-05 Thread Tamer Afify
oh and of course in 2.0 Beta 3 if set that flag, I wasn't able to log in 
even with admin account.

On Wednesday, March 5, 2014 2:58:47 AM UTC-6, Tamer Afify wrote:
>
> I figured it out:
>
> rb-site manage /var/www/html/reviewboard.searshc.com/ set-siteconfig -- 
> --key=auth_ad_find_dc_from_dns --value=0
> rb-site manage /var/www/html/reviewboard.searshc.com/ get-siteconfig -- 
> --key=auth_ad_domain_name
>
> but
>
> rb-site manage /var/www/html/reviewboard.searshc.com/ get-siteconfig -- 
> --key=auth_ad_find_dc_from_dns
> Traceback (most recent call last):
>   File "/bin/rb-site", line 9, in 
> load_entry_point('ReviewBoard==2.0beta3', 'console_scripts', 
> 'rb-site')()
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.0beta3-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 2111, in main
> command.run()
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.0beta3-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 2030, in run
> site.run_manage_command(args[0], args[1:])
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.0beta3-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 605, in run_manage_command
> execute_from_command_line([__file__, cmd] + params)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/__init__.py",
>  
> line 399, in execute_from_command_line
> utility.execute()
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/__init__.py",
>  
> line 392, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/base.py",
>  
> line 242, in run_from_argv
> self.execute(*args, **options.__dict__)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/base.py",
>  
> line 285, in execute
> output = self.handle(*args, **options)
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/base.py",
>  
> line 415, in handle
> return self.handle_noargs(**options)
>   File 
> "/usr/lib/python2.7/site-packages/Djblets-0.8beta2-py2.7.egg/djblets/siteconfig/management/commands/get-siteconfig.py",
>  
> line 45, in handle_noargs
> self.stdout.write(node[key_basename])
>   File 
> "/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/base.py",
>  
> line 65, in write
> if ending and not msg.endswith(ending):
> AttributeError: 'bool' object has no attribute 'endswith'
>
>

-- 
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.


Re: What is the correct arguments for rb-site manage?

2014-03-05 Thread Tamer Afify
I figured it out:

rb-site manage /var/www/html/reviewboard.searshc.com/ set-siteconfig -- 
--key=auth_ad_find_dc_from_dns --value=0
rb-site manage /var/www/html/reviewboard.searshc.com/ get-siteconfig -- 
--key=auth_ad_domain_name

but

rb-site manage /var/www/html/reviewboard.searshc.com/ get-siteconfig -- 
--key=auth_ad_find_dc_from_dns
Traceback (most recent call last):
  File "/bin/rb-site", line 9, in 
load_entry_point('ReviewBoard==2.0beta3', 'console_scripts', 
'rb-site')()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.0beta3-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 2111, in main
command.run()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.0beta3-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 2030, in run
site.run_manage_command(args[0], args[1:])
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.0beta3-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 605, in run_manage_command
execute_from_command_line([__file__, cmd] + params)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/__init__.py",
 
line 399, in execute_from_command_line
utility.execute()
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/__init__.py",
 
line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/base.py",
 
line 242, in run_from_argv
self.execute(*args, **options.__dict__)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/base.py",
 
line 285, in execute
output = self.handle(*args, **options)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/base.py",
 
line 415, in handle
return self.handle_noargs(**options)
  File 
"/usr/lib/python2.7/site-packages/Djblets-0.8beta2-py2.7.egg/djblets/siteconfig/management/commands/get-siteconfig.py",
 
line 45, in handle_noargs
self.stdout.write(node[key_basename])
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/management/base.py",
 
line 65, in write
if ending and not msg.endswith(ending):
AttributeError: 'bool' object has no attribute 'endswith'

-- 
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.


What is the correct arguments for rb-site manage?

2014-03-05 Thread Tamer Afify
Hi All,

[root@reviewboard ~]# rb-site manage /var/www/html/reviewboard.searshc.com/ 
get-siteconfig auth_ad_domain_name
CommandError: Command doesn't accept any arguments
[root@reviewboard ~]# rb-site manage /var/www/html/reviewboard.searshc.com/ 
get-siteconfig
CommandError: --key must be provided

how can I use get-siteconfig & set-siteconfig?

After installing 2.0 beta 3 and setting AD authentication and use DNS to 
get DC I'm not able to login to reviewboard anymore.

-- 
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.