FileNotFoundError: [Errno 2] No such file or directory

Sarah's Avatar

Sarah

05 Mar, 2019 02:16 AM

Hello,
I am trying to install/sync anki on my new computer (a pc … I previously used a mac) and keep getting the following error when I try to sync:
Syncing failed:
Traceback (most recent call last):
  File "aqt\sync.py", line 348, in run
  File "aqt\sync.py", line 416, in _sync
  File "aqt\sync.py", line 455, in _syncMedia
  File "anki\sync.py", line 750, in sync
  File "anki\sync.py", line 806, in _downloadFiles
  File "anki\media.py", line 610, in addFilesFromZip
FileNotFoundError: [Errno 2] No such file or directory: 'Sandro Jeans Sandro super skinny Noir tregraves ajusteacute muni de 2 poches cavaliegraveres et dune poche ticket sur le devant ainsi que de 2 poches plaqueacutees agrave larriegravere 92 coton 6 polyester 2 lycra REVVFVO_0.jpg'

I understand the file name might be too long. So I deleted that card from my deck (I deleted it on my iPhone, and have checked and the card no longer exists in the deck on my iPhone or on ankiweb). However, that hasn't fixed the problem. I still get this error message, even though the card to which this media file relates is now gone.

Can you please help me?

Thank you,
Sarah

  1. Support Staff 1 Posted by Damien Elmes on 05 Mar, 2019 04:48 AM

    Damien Elmes's Avatar

    As mentioned on your other post, I've renamed the file for you.

  2. 2 Posted by Sarah on 05 Mar, 2019 05:08 AM

    Sarah's Avatar

    Thank you so much Damien!

Comments are closed, but you can start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac