Sounds like something is wrong or missing from your Python cryptography package. Make sure that you don't have a RPM/Debian/etc. package installed for this alongside the Python package. You'll want the Python version only. If you have both, there may be an issue looking up certain modules from the wrong copy.
Christian On Fri, May 1, 2020 at 8:13 AM 'Srinivasulu Bhupal Laxmi' via Review Board Community <[email protected]> wrote: > Hello, > I've upgraded review board from 2.5.4 to 3.0.17 ReviewBoard on my Cent OS > 7 machine. Following steps in > https://www.reviewboard.org/docs/manual/3.0/admin/upgrading/upgrading-reviewboard/ > . > The site is up and running. > > But when i try to add a git lab repo. I' m facing below issue. Can anybody > help me. > > > ImportError at /admin/db/scmtools/repository/add/ > > cannot import name aead > > Request Method: POST > Request URL: http://xxxxxxxxxx.xx.xx.net/admin/db/scmtools/repository/add/ > Django Version: 1.6.11 > Exception Type: ImportError > Exception Value: > > cannot import name aead > > Exception Location: > /usr/lib/python2.7/site-packages/cryptography-2.9.2-py2.7-linux-x86_64.egg/cryptography/hazmat/backends/openssl/backend.py > in <module>, line 26 > Python Executable: /usr/bin/python > Python Version: 2.7.5 > Python Path: > > ['/var/www/reviewboard.com/conf', > '/usr/lib/python2.7/site-packages/recaptcha_client-1.0.6-py2.7.egg', > '/usr/lib/python2.7/site-packages/Pygments-2.1.3-py2.7.egg', > '/usr/lib/python2.7/site-packages/paramiko-2.0.0-py2.7.egg', > '/usr/lib/python2.7/site-packages/mimeparse-0.1.3-py2.7.egg', > '/usr/lib/python2.7/site-packages/docutils-0.12-py2.7.egg', > '/usr/lib/python2.7/site-packages/pyasn1-0.1.9-py2.7.egg', > '/usr/lib/python2.7/site-packages/PIL-1.1.6-py2.7-linux-x86_64.egg', > '/usr/lib/python2.7/site-packages/feedparser-5.2.1-py2.7.egg', > '/usr/lib/python2.7/site-packages/ipaddress-1.0.16-py2.7.egg', > '/usr/lib/python2.7/site-packages/setuptools-21.0.0-py2.7.egg', > '/usr/lib/python2.7/site-packages/Whoosh-2.7.4-py2.7.egg', > '/usr/lib/python2.7/site-packages/pycrypto-2.6.1-py2.7-linux-x86_64.egg', > '/usr/lib/python2.7/site-packages/django_haystack-2.4.1-py2.7.egg', > '/usr/lib/python2.7/site-packages/pillowfight-0.2-py2.7.egg', > '/usr/lib/python2.7/site-packages/futures-3.0.5-py2.7.egg', > '/usr/lib/python2.7/site-packages/django_multiselectfield-0.1.3-py2.7.egg', > '/usr/lib/python2.7/site-packages/rbintegrations-1.0.1-py2.7.egg', > '/usr/lib/python2.7/site-packages/pytz-2020.1-py2.7.egg', > '/usr/lib/python2.7/site-packages/pymdown_extensions-3.5-py2.7.egg', > '/usr/lib/python2.7/site-packages/Markdown-2.6.11-py2.7.egg', > '/usr/lib/python2.7/site-packages/Djblets-1.0.12-py2.7.egg', > '/usr/lib/python2.7/site-packages/django_evolution-0.7.8-py2.7.egg', > '/usr/lib/python2.7/site-packages/django_oauth_toolkit-0.9.0-py2.7.egg', > '/usr/lib/python2.7/site-packages/django_cors_headers-1.1.0-py2.7.egg', > '/usr/lib/python2.7/site-packages/cryptography-2.9.2-py2.7-linux-x86_64.egg', > '/usr/lib/python2.7/site-packages/PyYAML-5.3.1-py2.7-linux-x86_64.egg', > '/usr/lib/python2.7/site-packages/asana-0.10.0-py2.7.egg', > '/usr/lib/python2.7/site-packages/django_pipeline-1.6.14-py2.7.egg', > '/usr/lib/python2.7/site-packages/dnspython-1.16.0-py2.7.egg', > '/usr/lib/python2.7/site-packages/publicsuffix-1.1.1-py2.7.egg', > '/usr/lib/python2.7/site-packages/oauthlib-1.0.1-py2.7.egg', > '/usr/lib/python2.7/site-packages/cffi-1.14.0-py2.7-linux-x86_64.egg', > '/usr/lib/python2.7/site-packages/requests-2.23.0-py2.7.egg', > '/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg', > '/usr/lib/python2.7/site-packages/ReviewBoard-3.0.17-py2.7.egg', > '/usr/lib/python2.7/site-packages/requests_oauthlib-1.0.0-py2.7.egg', > '/usr/lib/python2.7/site-packages/django_braces-1.13.0-py2.7.egg', > '/usr/lib/python2.7/site-packages/certifi-2020.4.5.1-py2.7.egg', > '/usr/lib/python2.7/site-packages/urllib3-1.25.9-py2.7.egg', > '/usr/lib/python2.7/site-packages/idna-2.9-py2.7.egg', > '/usr/lib/python2.7/site-packages/chardet-3.0.4-py2.7.egg', > '/usr/lib64/python27.zip', > '/usr/lib64/python2.7', > '/usr/lib64/python2.7/plat-linux2', > '/usr/lib64/python2.7/lib-tk', > '/usr/lib64/python2.7/lib-old', > '/usr/lib64/python2.7/lib-dynload', > '/usr/lib64/python2.7/site-packages', > '/usr/lib64/python2.7/site-packages/gtk-2.0', > '/usr/lib/python2.7/site-packages'] > > Server time: Fri, 1 May 2020 13:23:49 +0000 > > -- > 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 > "Review Board Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/reviewboard/d2436226-4a15-4836-a21b-29acef615fe5%40googlegroups.com > <https://groups.google.com/d/msgid/reviewboard/d2436226-4a15-4836-a21b-29acef615fe5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Christian Hammond President/CEO of Beanbag <https://www.beanbaginc.com/> Makers of Review Board <https://www.reviewboard.org/> -- 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 "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/CAE7VndketOqcneg-zptF_OSGojMXx9Q2RhpVBwXXN34tCoJ8_Q%40mail.gmail.com.
