You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We executed a modified version of transcribe_straming.py on NAO robot OS which has python 2.7.3 as updating it to 2.7.9 or above is not possible due to the dependency of some of the NAO functionality on the python 2.7.3. We are getting the following warning messages when we run the modified script. In addition, we have tested the script with various buffer sizes and sleep times in reading data from arecord command to send to google cloud speech API just to find that transcripts are taking more time than it should when buffer size = 3200 and sleep = 0.1 s. For any other combination, it gives one error or the other.
I have given details of our observations in this comment of the ticket #738 .
/var/persistent/home/nao/googlespeech/env/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:334: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. 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
SNIMissingWarning
/var/persistent/home/nao/googlespeech/env/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:132: 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
In which file did you encounter the issue?
transcribe_streaming.py
Did you change the file? If so, how?
Yes, see attached file.
trans_streaming_1.txt
Describe the issue
We executed a modified version of
transcribe_straming.py
on NAO robot OS which has python 2.7.3 as updating it to 2.7.9 or above is not possible due to the dependency of some of the NAO functionality on the python 2.7.3. We are getting the following warning messages when we run the modified script. In addition, we have tested the script with various buffer sizes and sleep times in reading data from arecord command to send to google cloud speech API just to find that transcripts are taking more time than it should when buffer size = 3200 and sleep = 0.1 s. For any other combination, it gives one error or the other.I have given details of our observations in this comment of the ticket #738 .
As per the https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings and http://stackoverflow.com/questions/29134512/insecureplatformwarning-a-true-sslcontext-object-is-not-available-this-prevent we tried out fix the above warning but none was successful in NAO robot OS.
My questions are,
The text was updated successfully, but these errors were encountered: