langfield / ki

version control for Anki collections
https://langfield.github.io/ki/
GNU Affero General Public License v3.0
80 stars 3 forks source link

The ki clone command stuck at **Decks** progress bar for few hours. #147

Closed BilderLoong closed 1 year ago

BilderLoong commented 1 year ago

I tried a few times, and every time get the same issue.

image

Context

The Python version is 3.11.3. I am using Ubuntu 20.04 LTS on WSL to run this command.


If you need other information, please let me know!

langfield commented 1 year ago

Hi! Wow your collection must be quite large! Mind running du -h and ls -1 | wc -l in your media directory?

BilderLoong commented 1 year ago

I'm sorry for not getting back to you sooner. Here is the output.

$du -h; ls -1 | wc -l
3.7G    .
   26853

And as you guessed, it is actually quite large. Does this mean I should wait longer for ki clone to finish? Thanks!

langfield commented 1 year ago

Try doing a check media from within your Anki client and deleting unused media (they will be moved to trash, so not a destructive operation). Do be careful.

Then let me know if those commands show anything substantially different?

langfield commented 1 year ago

It may also be a WSL issue. The filesystem is much slower than on a bare-metal linux/unix machine, I think.

BilderLoong commented 1 year ago

Try doing a check media from within your Anki client and deleting unused media (they will be moved to trash, so not a destructive operation). Do be careful.

Then let me know if those commands show anything substantially different?

I will try it this weekend.

langfield commented 1 year ago

Duplicate of #39, please continue commenting over there if you try the thing above. 🙂