blakeanderson / Sublime-Text-Redmine-Plugin

Pull up assigned Redmine issues in the sublime text quick panel
8 stars 5 forks source link

https access to redmine #1

Open p4ul opened 12 years ago

p4ul commented 12 years ago

I get the following error when trying to run Redine:stuff to do. I have "redine_url" set to a url that contains https://

Traceback (most recent call last):
  File "./sublime_plugin.py", line 327, in run_
  File "./Redmine.py", line 33, in run
  File "./Redmine.py", line 17, in list_stuff_to_do
  File ".\urllib2.py", line 126, in urlopen
  File ".\urllib2.py", line 397, in open
  File ".\urllib2.py", line 510, in http_response
  File ".\urllib2.py", line 429, in error
  File ".\urllib2.py", line 369, in _call_chain
  File ".\urllib2.py", line 605, in http_error_302
  File ".\urllib2.py", line 391, in open
  File ".\urllib2.py", line 414, in _open
  File ".\urllib2.py", line 369, in _call_chain
  File ".\urllib2.py", line 1194, in unknown_open
urllib2.URLError: <urlopen error unknown url type: https>
blakeanderson commented 12 years ago

Hey Paul, Its possible that SSL isn't supported in your current Python installation. Check this: http://www.xinotes.org/notes/note/628/

p4ul commented 12 years ago

Hi Blake, I forgot to say I did a bit of investigation and ssl is installed and available to regular python on my system but the linux distributions of sublime don't include an ssl module because there are to many different combinations of openssl or something.. People have worked around this by writing custom handlers using wget or curl. Possibly it can access a Python 2.6.6 ssl module? I'm quite new to python.

Cheers, - Paul