I will give that a try. Dug up the Review Board log settings and set them 
to debug, though the output is much the same as what was in the server logs

2016-06-24 20:05:46,027 - ERROR -  - Unknown error linking hosting account 
ID=None for hosting service='gitlab', username=u'reviewboard', 
LocalSite=None
Traceback (most recent call last):
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/hostingsvcs/forms.py",
 
line 344, in save
    **extra_authorize_kwargs)
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/hostingsvcs/gitlab.py",
 
line 147, in authorize
    logging.exception('Unexpected HTTP error when linking GitLab '
NameError: global name 'logging' is not defined
2016-06-24 20:05:46,029 - ERROR -  - Unexpected error when linking hosting 
service account on gitlab: global name 'logging' is not defined
Traceback (most recent call last):
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/scmtools/forms.py",
 
line 612, in _clean_hosting_info
    extra_authorize_kwargs=repository_extra_data)
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/hostingsvcs/forms.py",
 
line 344, in save
    **extra_authorize_kwargs)
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/hostingsvcs/gitlab.py",
 
line 147, in authorize
    logging.exception('Unexpected HTTP error when linking GitLab '
NameError: global name 'logging' is not defined
2016-06-24 20:05:46,511 - INFO -  - Reloading logging settings
2016-06-24 20:05:52,608 - INFO -  - Reloading logging settings
2016-06-24 20:05:52,620 - INFO -  - Reloading logging settings
2016-06-24 20:05:52,628 - INFO -  - Reloading logging settings
2016-06-24 20:05:52,744 - INFO -  - Reloading logging settings
2016-06-24 20:05:52,803 - INFO -  - Reloading logging settings
2016-06-24 20:07:39,039 - INFO -  - Reloading logging settings
2016-06-24 20:07:39,292 - INFO -  - Reloading logging settings

Thanks for the fast response, I'll let you know how things go after 
updating.

On Friday, June 24, 2016 at 2:58:41 PM UTC-5, Christian Hammond wrote:
>
> Hi,
>
> Looks like we have a logging import missing, which we'll have to fix. For 
> now, you can edit /usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-
> py2.6.egg/reviewboard/hostingsvcs/forms.py, and put the following near 
> the top of the file:
>
>     import logging
>
> (Note that it must go after the "from __future__ import unicode_literals".)
>
> Then restart Apache and try again. You should get better information in 
> the Review Board log. If you can locate that and paste it here, I'll be 
> able to look into it further, and will have other questions for you at that 
> time.
>
> Thanks!
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Fri, Jun 24, 2016 at 12:03 PM, <cris...@gmail.com <javascript:>> wrote:
>
>> Trying to hook Review Board 2.5.6.1 up to my GitLab server and it 
>> responds with:
>>
>>
>>
>> *Unexpected error when linking hosting service account on gitlab: global 
>> name 'logging' is not defined*
>> Dug into the web server logs and found the following:
>>
>> [Fri Jun 24 18:26:24 2016] [error] ERROR:root:Unknown error linking 
>> hosting account ID=None for hosting service='gitlab', 
>> username=u'reviewboard', LocalSite=None
>> [Fri Jun 24 18:26:24 2016] [error] Traceback (most recent call last):
>> [Fri Jun 24 18:26:24 2016] [error]   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/hostingsvcs/forms.py",
>>  
>> line 344, in save
>> [Fri Jun 24 18:26:24 2016] [error]     **extra_authorize_kwargs)
>> [Fri Jun 24 18:26:24 2016] [error]   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/hostingsvcs/gitlab.py",
>>  
>> line 147, in authorize
>> [Fri Jun 24 18:26:24 2016] [error]     logging.exception('Unexpected HTTP 
>> error when linking GitLab '
>> [Fri Jun 24 18:26:24 2016] [error] NameError: global name 'logging' is 
>> not defined
>> [Fri Jun 24 18:26:24 2016] [error] ERROR:root:Unexpected error when 
>> linking hosting service account on gitlab: global name 'logging' is not 
>> defined
>> [Fri Jun 24 18:26:24 2016] [error] Traceback (most recent call last):
>> [Fri Jun 24 18:26:24 2016] [error]   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/scmtools/forms.py",
>>  
>> line 612, in _clean_hosting_info
>> [Fri Jun 24 18:26:24 2016] [error]     
>> extra_authorize_kwargs=repository_extra_data)
>> [Fri Jun 24 18:26:24 2016] [error]   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/hostingsvcs/forms.py",
>>  
>> line 344, in save
>> [Fri Jun 24 18:26:24 2016] [error]     **extra_authorize_kwargs)
>> [Fri Jun 24 18:26:24 2016] [error]   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/hostingsvcs/gitlab.py",
>>  
>> line 147, in authorize
>> [Fri Jun 24 18:26:24 2016] [error]     logging.exception('Unexpected HTTP 
>> error when linking GitLab '
>> [Fri Jun 24 18:26:24 2016] [error] NameError: global name 'logging' is 
>> not defined
>>
>> Any thoughts on how I could fix this error would be appreciated
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://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...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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