- I am trying to upgrade to Tryton 4.4 from Tryton 4
- Have aws ubuntu 14.04 cloud computer
- Did pip install tryton AND pip install trytond in a virtual environment
- trytond works fine but tryton gives following error when I click "Manage Profile" button to enter in my database
- File "/home/ubuntu/Envs/tryton1/local/lib/python2.7/site-packages/tryton/jsonrpc.py", line 184, in make_connection
- ssl_ctx = ssl.create_default_context(cafile=self.__ca_certs)
- AttributeError: 'module' object has no attribute 'create_default_context'
- Noticed that Tryton 4.4 requires python >= 2.7.9
- on apt-get install python - it installs only python 2.7.6
- But Tryton 4.4 requires python >= 2.7.9
- How does one proceed from here?
- Is python version the problem for the above tryton error?
- Or is the reason different?
2017-05-27 13:19 GMT-03:00 Dr. Praveen Bhatia <praveen...@sumpurn.com>:Hello,Hi,
- I am trying to upgrade to Tryton 4.4 from Tryton 4
- Have aws ubuntu 14.04 cloud computer
- Did pip install tryton AND pip install trytond in a virtual environment
- trytond works fine but tryton gives following error when I click "Manage Profile" button to enter in my database
- File "/home/ubuntu/Envs/tryton1/local/lib/python2.7/site-packages/tryton/jsonrpc.py", line 184, in make_connection
- ssl_ctx = ssl.create_default_context(cafile=self.__ca_certs)
- AttributeError: 'module' object has no attribute 'create_default_context'
- Noticed that Tryton 4.4 requires python >= 2.7.9
- on apt-get install python - it installs only python 2.7.6
- But Tryton 4.4 requires python >= 2.7.9
- How does one proceed from here?
You need Ubuntu support here to get a system with the right version of python. Googling a bit about how to upgrade python in it gives some results, but all of them come with warnings, so be cautious that other python depending packages could give you issues. After that disclaimer, I found this [1] that can be useful to you, however evaluate your risks depending on what your system serves. There is also a lot of info here [2]
- Is python version the problem for the above tryton error?
likely yes
- Or is the reason different?
No, this is why there is a dependency on python >= 2.7.9
2017-06-03 15:34 GMT+02:00 Dominique Chabord <dominiqu...@sisalp.org>:
> 2017-06-03 14:49 GMT+02:00 Dr. Praveen Bhatia <praveen...@sumpurn.com>:
>>
>>
>> On Sunday, May 28, 2017 at 2:16:18 AM UTC+9, Karla Stenger wrote:
>
>>>> Noticed that Tryton 4.4 requires python >= 2.7.9
>>>> on apt-get install python - it installs only python 2.7.6
>>>> But Tryton 4.4 requires python >= 2.7.9
>>>> How does one proceed from here?
>
>>>
>>> No, this is why there is a dependency on python >= 2.7.9
>>>
>
> Do you know where is this specification ?
About SSL and CA:
https://bugs.tryton.org/issue6270
Regards,
Raimon
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/CAN2HbXW57o%3D4AKwcObLGgRFFEoaKCksDb3D_%3DJpxD779Gx6ihg%40mail.gmail.com.