P
P
Pavel Belousov2014-03-15 09:15:21
Python
Pavel Belousov, 2014-03-15 09:15:21

How to solve problem with SublimeText 2 + YandexTranslate + linux?

Need help from a python specialist. I myself (with the help of Google) could not fix the plugin.
For StublimeText 2 and 3, I wrote a small plugin that translates the selected text through the Yandex.Translate service. This was my first acquaintance with the python language, so for an experienced developer the code may not seem very good, but the plugin has been successfully solving its task for quite a long time.
But on sublimetest 2 under Linux (tested on ubuntu 13), a problem that is incomprehensible to me arises, the plugin does not translate text, swears at https and urllib.

IOError: [Errno url error] unknown url type: 'https'

I take it that sublimetext uses linux's built-in python? In the assembly of which there is no urllib library with ssl support.
Perhaps someone has experienced something similar? Possible to solve?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question