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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to