SublimeEvernote icon indicating copy to clipboard operation
SublimeEvernote copied to clipboard

AttributeError: 'module' object has no attribute 'HTTPS'

Open gurgeh opened this issue 12 years ago • 9 comments

After entering username and password nothing happens and the console prints the above error. I run Ubuntu Linux and Python 2.7.3.

The rest of the traceback is:

Traceback (most recent call last): File "./sublime_evernite.py", line 35, in on_passwd File "lib/evernote/edam/userstore/UserStore.py", line 399, in authenticate File "lib/evernote/edam/userstore/UserStore.py", line 411, in send_authenticate File "lib/thrift/transport/THttpClient.py", line 95, in _f File "lib/thrift/transport/THttpClient.py", line 103, in flush File "lib/thrift/transport/THttpClient.py", line 67, in open AttributeError: 'module' object has no attribute 'HTTPS'

gurgeh avatar Aug 09 '12 08:08 gurgeh

Oddly enough, it seems that the module in question is httplib, which do have HTTPS, when I try it from the REPL.

gurgeh avatar Aug 09 '12 08:08 gurgeh

May be a conflict with the system environment

jamiesun avatar Aug 29 '12 14:08 jamiesun

Saw this as well on Ubuntu 12.04.

dln avatar Sep 17 '12 20:09 dln

I have the same problem, does anybody have fixed it?

inkenrat avatar Sep 22 '12 06:09 inkenrat

Have fix this problem on Ubuntu 12.04?

KRostyslav avatar Oct 19 '12 12:10 KRostyslav

The same problem on Ubuntu 12.04,How to fix it ?

iderekliu avatar Oct 25 '12 14:10 iderekliu

The same problem here: Ubuntu 11.04; kernel: 2.6.38-16-generic; Python 2.7.1;

kirito-san avatar Nov 02 '12 09:11 kirito-san

I am in the same boat. I was excited to try out Evernote support when I found the plugin but I get the exact same error running Linux Mint. Just for the heck of it I tried swapping in versions 0.8.0 and 0.9.0 of Thrift but got the same error. I would love to get to the bottom of this.

daveroyer avatar Jan 08 '13 19:01 daveroyer

It might be related to this: https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/965371 Apparently Evernote's server has a mild bug and at some point the openssl guys decided that the right thing to do was to stop working around servers which exhibited that behaviour and just fail.

gurgeh avatar Jan 09 '13 11:01 gurgeh