anknotes icon indicating copy to clipboard operation
anknotes copied to clipboard

Anki >> Tools >> Import from Evernote

Open zaphodbblrx opened this issue 6 years ago • 8 comments

An error occurred in an add-on. Please post on the add-on forum: https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last): File "/Users/abomb/Library/Application Support/Anki2/addons/anknotes/main.py", line 334, in main controller = Controller() File "/Users/abomb/Library/Application Support/Anki2/addons/anknotes/main.py", line 261, in init self.evernote = Evernote() File "/Users/abomb/Library/Application Support/Anki2/addons/anknotes/main.py", line 189, in init request_token = client.get_request_token('http://brunomart.in/anknotes/index.html') File "/Users/abomb/Library/Application Support/Anki2/addons/anknotes/evernote/api/client.py", line 37, in get_request_token resp, content = client.request(request_url, 'GET') File "/Users/abomb/Library/Application Support/Anki2/addons/anknotes/oauth2/init.py", line 683, in request connection_type=connection_type) File "httplib2/init.pyc", line 1597, in request File "httplib2/init.pyc", line 1345, in _request File "aqt/sync.pyc", line 467, in _conn_request File "httplib2/init.pyc", line 1013, in connect File "httplib2/init.pyc", line 80, in _ssl_wrap_socket File "ssl.pyc", line 943, in wrap_socket File "ssl.pyc", line 552, in init IOError: [Errno 20] Not a directory

zaphodbblrx avatar Mar 01 '18 02:03 zaphodbblrx

I have the same issue

linibazhangyuan avatar Apr 16 '18 13:04 linibazhangyuan

That's puzzling. Sorry about that. Do you use Anki 2.0 It seems that it's at the moment of the HTTP request (even if the error is quite weird). Do you know if Anki has been authorized by the firewall ? A user got this kind of problem.

brumar avatar Apr 20 '18 08:04 brumar

Have the same problem. Here is the detail version of Anki:

  • Version 2.0.50
  • Qt 4.8.2 PyQt 4.9.4

Zhengquan avatar Apr 24 '18 08:04 Zhengquan

Damned. Are you on MacOS too ?

brumar avatar Apr 24 '18 10:04 brumar

I'm on MacOS. Is that a clue? I try if it the error replicates on Win10 guest on Vbox today. If it doesn't. That would the workaround.

On Tue, Apr 24, 2018 at 12:46 PM, Bruno Martin [email protected] wrote:

Damned. Are you on MacOS too ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brumar/anknotes/issues/24#issuecomment-383887486, or mute the thread https://github.com/notifications/unsubscribe-auth/Aifu7P9nQPaNITlGmcw6i2O67pGBz42Vks5trwJ-gaJpZM4SXqs0 .

zaphodbblrx avatar Apr 26 '18 12:04 zaphodbblrx

It works fine on Win10 guest on MacOS. Images embedded in notes don't seem to synchronize though. Do you think this could added in some future version? Thanks!

zaphodbblrx avatar May 02 '18 18:05 zaphodbblrx

The image problem is referenced in issue #25 . I can't work on it at the moment. Concerning this MacOS problem, I have no clue either and lack time to investigate. I am sorry but you will need some patience here :(. In case you don't know, an interesting fork for MacOS has been made a while ago. Have anyone here tried it ? https://github.com/rbuc/Evernote2AnkiMac

brumar avatar May 07 '18 08:05 brumar

I'll give the fork a try. It promises to import images as well. Thank you!

On Mon, May 7, 2018 at 10:25 AM, Bruno Martin [email protected] wrote:

The image problem is referenced in issue #25 https://github.com/brumar/anknotes/issues/25 . I can't work on it at the moment. Concerning this MacOS problem, I have no clue either and lack time to investigate. I am sorry but you will need some patience here :(. In case you don't know, an interesting fork for MacOS has been made a while ago. Have anyone here tried it ? https://github.com/rbuc/Evernote2AnkiMac

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brumar/anknotes/issues/24#issuecomment-386995225, or mute the thread https://github.com/notifications/unsubscribe-auth/Aifu7Pc8ZtxD2z3BU39TdxaLxpH7Xwslks5twATxgaJpZM4SXqs0 .

zaphodbblrx avatar May 10 '18 19:05 zaphodbblrx