Eder Agreda Posted March 19, 2020 Report Share Posted March 19, 2020 Hello guys, I am starting to work with latest ftrack version with maya and windows. When I use ftrack_api in windows, everything is ok, but, when inside Maya, I get results, but also, lot of warnings, and I wonder if there is a way to fix them. Any query to ftrack results in these errors.. Quote C:\Python27\Lib\site-packages\urllib3\util\ssl_.py:139: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning, C:\Python27\Lib\site-packages\urllib3\util\ssl_.py:139: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning, Link to comment Share on other sites More sharing options...
Guest Posted March 27, 2020 Report Share Posted March 27, 2020 Hi Eder, Is that the real path on your computer? Have you tried upgrading to something newer? To just hide the errors, I do something like this for another lib in my dev environment: For this module specifically: urllib3.disable_warnings() General warning suppression: import warnings warnings.simplefilter("ignore", urllib3.exceptions.InsecurePlatformWarning) Link to comment Share on other sites More sharing options...
Eder Agreda Posted April 18, 2020 Author Report Share Posted April 18, 2020 Hi Steve, Thanks for the answer. i forgot to answer before Yes, those paths are from my computer. I have this problem only with maya since its uses python 2.7. In windows I use latest python version and everything is ok. Will use disable_warnings() method Cheers, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now