3642: Server error 500 attempting to edit a repository configuration

donaldr*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Oct. 28, 2014
I am running version 2.0.1 from an AMI image provided. 
Here is the stack trace. The repo config is just a git repo

'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File "/opt/bitnami/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/bitnami/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/admin/options.py", line 432, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/opt/bitnami/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/utils/decorators.py", line 99, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/opt/bitnami/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/views/decorators/cache.py", line 52, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/opt/bitnami/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/admin/sites.py", line 198, in inner
    return view(request, *args, **kwargs)
  File "/opt/bitnami/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/utils/decorators.py", line 29, in _wrapper
    return bound_func(*args, **kwargs)
  File "/opt/bitnami/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/utils/decorators.py", line 99, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/opt/bitnami/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/utils/decorators.py", line 25, in bound_func
    return func(self, *args2, **kwargs2)
  File "/opt/bitnami/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/db/transaction.py", line 371, in inner
    return func(*args, **kwargs)
  File "/opt/bitnami/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/admin/options.py", line 1237, in change_view
    form = ModelForm(instance=obj)
  File "/opt/bitnami/apps/reviewboard/lib/ReviewBoard-2.0.1-py2.7.egg/reviewboard/scmtools/forms.py", line 253, in __init__
    if account.service_name == hosting_service_id
  File "/opt/bitnami/apps/reviewboard/lib/ReviewBoard-2.0.1-py2.7.egg/reviewboard/hostingsvcs/models.py", line 48, in is_authorized
    return service.is_authorized()
  File "/opt/bitnami/apps/reviewboard/lib/ReviewBoard-2.0.1-py2.7.egg/reviewboard/hostingsvcs/bitbucket.py", line 152, in is_authorized
    return self.account.data.get('password', None) is not None
AttributeError: 'NoneType' object has no attribute 'get'
#1 donaldr*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Sorry you can close. After checking the stack trace more closely I had a bad service config. Deleted the config and I am now all set. 
david
#2 david
  • +SetupIssue