Just upgraded to RB 2.0.5 to RB 2.0.9, everything went smooth but during 
tests on this trial system, I noticed the following.

I can't add additional repos. I'm having an issue adding Bitbucket 'team' 
accounts. Here is the error I get (exception) emailed to me from RB. 
Whenever I try this I get a 500 error page and this emailed to me. 

How can I be of further help in submitting material to correct this issue 
(file a ticket? Upload logs? etc?)

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-
py2.7.egg/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-
py2.7.egg/django/contrib/admin/options.py", line 466, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-
py2.7.egg/django/utils/decorators.py", line 99, in _wrapped_view
    response = view_func(request, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-
py2.7.egg/django/views/decorators/cache.py", line 52, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-
py2.7.egg/django/contrib/admin/sites.py", line 198, in inner
    return view(request, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-
py2.7.egg/django/utils/decorators.py", line 29, in _wrapper
    return bound_func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-
py2.7.egg/django/utils/decorators.py", line 99, in _wrapped_view
    response = view_func(request, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-
py2.7.egg/django/utils/decorators.py", line 25, in bound_func
    return func(self, *args2, **kwargs2)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-
py2.7.egg/django/db/transaction.py", line 371, in inner
    return func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-
py2.7.egg/django/contrib/admin/options.py", line 1271, in change_view
    form = ModelForm(instance=obj)

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.
9-py2.7.egg/reviewboard/scmtools/forms.py", line 332, in __init__
    self._populate_repository_info_fields()

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.
9-py2.7.egg/reviewboard/scmtools/forms.py", line 378, in 
_populate_repository_info_fields
    self.fields['password'].initial = self.instance.password

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.
9-py2.7.egg/reviewboard/scmtools/models.py", line 210, in _get_password
    password[len(self.ENCRYPTED_PASSWORD_PREFIX):])

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.
9-py2.7.egg/reviewboard/scmtools/crypto_utils.py", line 51, in 
decrypt_password
    return decrypt(base64.b64decode(encrypted_password))

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.
9-py2.7.egg/reviewboard/scmtools/crypto_utils.py", line 32, in decrypt
    cipher = _create_cipher(data[:AES.block_size])

  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.9-py2.7.egg/reviewboard/scmtools/crypto_utils.py",
 
line 13, in _create_cipher
    return AES.new(settings.SECRET_KEY[:16], AES.MODE_CFB, iv)

ValueError: IV must be 16 bytes long


<WSGIRequest
path:/admin/db/scmtools/repository/2/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'csrftoken': 'eGeCeNxrLLFsQ7j8RXgU25rZnaKovNvm',
 'rbsessionid': 'yu29dflb8h0pdec2jp4crkbdw19768fn'},
META:{u'CSRF_COOKIE': u'eGeCeNxrLLFsQ7j8RXgU25rZnaKovNvm',
 'DOCUMENT_ROOT': '/var/www/reviewboard/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,
image/webp,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
 'HTTP_ACCEPT_LANGUAGE': 'en-CA,en;q=0.8,en-US;q=0.6',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'rbsessionid=yu29dflb8h0pdec2jp4crkbdw19768fn; 
csrftoken=eGeCeNxrLLFsQ7j8RXgU25rZnaKovNvm',
 'HTTP_HOST': 'reviews:81',
 'HTTP_REFERER': 'http://reviews:81/admin/db/scmtools/repository/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36',
 u'LOCAL_SITE': None,
 'PATH_INFO': u'/admin/db/scmtools/repository/2/',
 'PATH_TRANSLATED': 
'/var/www/reviewboard/htdocs/admin/db/scmtools/repository/2/',
 'QUERY_STRING': '',
 'REDIRECT_STATUS': '200',
 'REDIRECT_URI': '/reviewboard.fcgi/admin/db/scmtools/repository/2/',
 'REMOTE_ADDR': '10.25.0.183',
 'REMOTE_PORT': '56618',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/admin/db/scmtools/repository/2/',
 'SCRIPT_FILENAME': '/var/www/reviewboard/htdocs/reviewboard.fcgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '10.25.0.12',
 'SERVER_NAME': 'reviews',
 'SERVER_PORT': '81',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SOFTWARE': 'lighttpd/1.4.28',
 u'USERNAME': u'gjacobs',
 u'USER_EMAIL': ----removed to avoid spam---
 'wsgi.errors': <flup.server.fcgi_base.OutputStream object at 
0x7f9a04a7c990>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x7f9a04a7c150>,



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