Ajatt-Tools / anki.koplugin

KOReader plugin enabling Anki card generations for words looked up in the internal dictionary.
49 stars 6 forks source link

Couldn't manage SSH Server and ankiconnect setup in windows 11 #12

Closed Rasp-lok closed 2 months ago

Rasp-lok commented 9 months ago

Amazing idea! I was exporting my words and sentences manually so far!!!

Suring the setting up I'm stuck on SSH server commands in windows. I couldn't manage to connect the plugin with ankiconnect after trial & denials for some hours.

as a windows user (tips for the next rookie users);

About the setting up the SSH, An easy step by step guide for windows would be much appreciated.

On the other hand, eveb being able to saving the cards offlin, on the device is also fine for me. So thanks for this work already!

nairyosangha commented 9 months ago

A few things:

SSH is not something you really need, it's just a way to copy over the plugin's files to your ereader, connecting your reader with USB and copy pasting manually is just as good.

It does look like you got it working in the end so that's nice.

FAILED : Although I installed rsync (after installing Git) from here, I couldn't run the last line of the snippet.

At the end simply, I receive "unable to reach server, sored offline" error.

Considering you managed to get that error message it seems like you managed to install the plugin fine after all, also nice :smile:

As to why it keeps storing your notes offline, I'd need to see a crash.log of your reader. "Unable to reach server" sounds like you might have just specified the wrong IP in your config

nairyosangha commented 9 months ago

https://github.com/Ajatt-Tools/anki.koplugin/issues/2#issuecomment-1489194210

This comment thread might help

Rasp-lok commented 9 months ago

Thanks, you're right. I guess I should leave the SSH on the rsync step as it is and keep using the plugin offline.

nairyosangha commented 9 months ago

I guess I should leave the SSH on the rsync step as it is and keep using the plugin offline.

I'm not suggesting you settle for having the plugin work only in offline mode, I'm just saying you don't need SSH to get the plugin working correctly, that part is only for installing the plugin.

I'd suggest testing whether you can connect to ankiconnect (which should be running on your PC) from the e-reader, like I mentioned in the thread I posted earlier https://github.com/Ajatt-Tools/anki.koplugin/issues/2#issuecomment-1489214507

If you can get that part working, you should be able to sync your notes fine.

nairyosangha commented 2 months ago

Closing for inactivity, feel free to reopen if you have further questions