It might be something we can work around (though Python 2.7.5 *is* very old
and buggy -- I agree that you'll want to upgrade it to avoid a multitude of
problems they've fixed in subsequent releases).

Suresh, can you supply the full backtrace? I need to see what the call is
that's triggering this.

Christian

On Tue, Jul 23, 2019 at 12:49 PM David Trowbridge <[email protected]>
wrote:

> Something is messed up with your Python and/or openssl. This isn't a
> Review Board issue.
>
> Python 2.7.5 is quite old (over 6 years). I highly recommend upgrading to
> the latest 2.7.x if you can.
>
> -David
>
> On Tue, Jul 23, 2019 at 10:16 AM Suresh Burra <[email protected]>
> wrote:
>
>> Hi,
>>
>> I am trying to add a Perforce repository and am getting the following
>> trace when adding a password, using both ticket and password authentication.
>> Anything I am missing here ? Thanks in Advance for the help.
>>
>> Regards,
>> Suresh.
>>
>>
>> TypeError at /mscrb/admin/db/scmtools/repository/2/
>>
>> from_buffer() cannot return the address of the raw string within a str or 
>> unicode or bytearray object
>>
>> Request Method: POST
>> Request URL: http://surb604.na.com/mscrb/admin/db/scmtools/repository/2/
>> Django Version: 1.6.11
>> Exception Type: TypeError
>> Exception Value:
>>
>> from_buffer() cannot return the address of the raw string within a str or 
>> unicode or bytearray object
>>
>> Exception Location: 
>> /usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/ciphers.py
>> in __init__, line 62
>> Python Executable: /usr/local/bin/python
>> Python Version: 2.7.5
>> Python Path:
>>
>> ['/var/www/mscrb/conf',
>>  '/usr/lib/python2.7/site-packages/ReviewBoard-3.0.15-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/rbintegrations-1.0-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/pymdown_extensions-3.5-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/paramiko-2.6.0-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/mimeparse-0.1.3-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/Markdown-2.6.11-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/django_multiselectfield-0.1.8-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/django_haystack-2.4.1-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/django_cors_headers-1.1.0-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/Whoosh-2.7.4-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/Djblets-1.0.12-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/asana-0.8.2-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/bcrypt-3.1.7-py2.7-linux-x86_64.egg',
>>  '/usr/lib/python2.7/site-packages/dnspython-1.16.0-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/requests-2.22.0-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/requests_oauthlib-0.8.0-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/certifi-2019.6.16-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/urllib3-1.25.3-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/idna-2.8-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/chardet-3.0.4-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages',
>>  '/usr/lib64/python2.7/site-packages',
>>  '/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/gtk-2.0',
>>  '/usr/lib/python2.7/site-packages/pip-19.1.1-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/django_pipeline-1.3.23-py2.7.egg',
>>  '/usr/lib/python2.7/site-packages/mysql-0.0.2-py2.7.egg']
>>
>> --
>> 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/ff7b21cb-68f5-4983-bf7d-0c1c86197f31%40googlegroups.com
>> <https://groups.google.com/d/msgid/reviewboard/ff7b21cb-68f5-4983-bf7d-0c1c86197f31%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAFS3VNUwT5SXShzzjXmuji597pV_pdjpV7r5r_Kp64q3%2BO8Pxw%40mail.gmail.com
> <https://groups.google.com/d/msgid/reviewboard/CAFS3VNUwT5SXShzzjXmuji597pV_pdjpV7r5r_Kp64q3%2BO8Pxw%40mail.gmail.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/CAE7VndmLKepAn35FzsbbxX8oFd5mAZxaNgWOa1YMFaKq%2BBuzXQ%40mail.gmail.com.

Reply via email to