Hi Walt,

You'll need this patch:

https://github.com/reviewboard/reviewboard/commit/05f0e4eeba86b953b662549194b880de8e68965a

This will be part of RC 2.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Tue, Mar 11, 2014 at 3:57 PM, Javins, Walt <walt.jav...@isilon.com>wrote:

>  I just did a sandboxed upgrade from 1.7.21 to 2.0 RC1.  After running
> the easy_install and rb-site upgrade, I’m unable to login as my regular
> user.  When I check the logs, I see the below traceback.  This repros even
> when I try to login as the ‘admin’ account I have set up that traditionally
> validated through a local DB password instead of ldap auth.
>
>
>
> Thoughts?  Additional info that I should gather?
>
>
>
> Thanks,
>
> Walt
>
>
>
> 2014-03-12 05:46:33,614 - ERROR -  - Exception thrown for user
> AnonymousUser at http://reviewboard-beta/account/login/
>
>
>
> 'Settings' object has no attribute 'LDAP_UID'
>
> Traceback (most recent call last):
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/core/handlers/base.py",
> line 114, in get_response
>
>     response = wrapped_callback(request, *callback_args, **callback_kwargs)
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/views/decorators/debug.py",
> line 75, in sensitive_post_parameters_wrapper
>
>     return view(request, *args, **kwargs)
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/utils/decorators.py",
> line 99, in _wrapped_view
>
>     response = view_func(request, *args, **kwargs)
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/views/decorators/cache.py",
> line 52, in _wrapped_view_func
>
>     response = view_func(request, *args, **kwargs)
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/auth/views.py",
> line 36, in login
>
>     if form.is_valid():
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/forms/forms.py",
> line 129, in is_valid
>
>     return self.is_bound and not bool(self.errors)
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/forms/forms.py",
> line 121, in errors
>
>     self.full_clean()
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/forms/forms.py",
> line 274, in full_clean
>
>     self._clean_form()
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/forms/forms.py",
> line 300, in _clean_form
>
>     self.cleaned_data = self.clean()
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/auth/forms.py",
> line 189, in clean
>
>     password=password)
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/auth/__init__.py",
> line 49, in authenticate
>
>     user = backend.authenticate(**credentials)
>
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0rc1-py2.6.egg/reviewboard/accounts/backends.py",
> line 323, in authenticate
>
>     'userattr': settings.LDAP_UID,
>
>   File
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/conf/__init__.py",
> line 55, in __getattr__
>
>     return getattr(self._wrapped, name)
>
> AttributeError: 'Settings' object has no attribute 'LDAP_UID'
>
>
>
> --
> 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