An apostrophe (') in the file name confuses Anki 2.0.8 media maintenence

hannu1isotalo's Avatar

hannu1isotalo

20 Apr, 2013 05:49 PM

In the media folder, I have media files which have an apostrophe (') in the file name. E.g. "Aromerikotka_Haliaeetus leucoryphus_Pallas's Fish Eagle_.jpg" and "Kääpiöhuitti_Porzana pusilla_Baillon's Crake_.jpg". Both files are used by the cards and Anki (Version 2.0.8) shows the images ok. However, When I do maintenance (Tools > Maintenance > Unused media...) Anki reports erroneously this:

"In media folder but not used by any cards: Aromerikotka_Haliaeetus leucoryphus_Pallas's Fish Eagle_.jpg
Kääpiöhuitti_Porzana pusilla_Baillon's Crake_.jpg
. . . Used on cards but missing from media folder:
Aromerikotka_Haliaeetus leucoryphus_Pallas
Kääpiöhuitti_Porzana pusilla_Baillon"

An apostrophe (') in the file name confuses Anki 2.0.8 media maintenence.

  1. Support Staff 1 Posted by Damien Elmes on 21 Apr, 2013 05:31 AM

    Damien Elmes's Avatar

    Thanks, I've added this to the todo.

  2. Damien Elmes closed this discussion on 21 Apr, 2013 05:31 AM.

  3. Damien Elmes re-opened this discussion on 16 May, 2013 05:28 AM

  4. Support Staff 2 Posted by Damien Elmes on 16 May, 2013 05:28 AM

    Damien Elmes's Avatar

    I created a file 'dog's picture.jpg' and dragged it into Anki, but I don't get any errors when doing a media check. What do you see when you press ctrl+shift+x in the field containing the media link?

  5. Support Staff 3 Posted by Damien Elmes on 17 May, 2013 05:30 AM

    Damien Elmes's Avatar

    I've been able to reproduce this now, and it should be fixed in the next release.

  6. Damien Elmes closed this discussion on 17 May, 2013 05:30 AM.

  7. Damien Elmes closed this discussion on 18 May, 2013 05:36 AM.

Comments are currently closed for this discussion. You can start a new one.

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