Check media/remove unused bug

Pavel Mencl's Avatar

Pavel Mencl

02 Nov, 2019 03:50 PM

###### Reproduction Steps

1. Download and add a deck with files, like the one here: https://ankiweb.net/shared/info/867291675
2. Remove the deck
3. Watch Anki lock up for several minutes to an our.
4. Click remove unused
5. watch Anki lock up again, with minimum HDD activity.

###### Expected Result
Unused files getting deleted.

###### Actual Result
Anki freezes

  1. 1 Posted by Pavel Mencl on 02 Nov, 2019 03:52 PM

    Pavel Mencl's Avatar

    Sorry, one step is missing.
    2.5: click check media.

  2. Support Staff 2 Posted by Damien Elmes on 02 Nov, 2019 10:16 PM

    Damien Elmes's Avatar

    On my system the deck deletes within a second, and the media within a few seconds. Perhaps you have a slow disk, or an antivirus program slowing things down.

  3. 3 Posted by Pavel Mencl on 03 Nov, 2019 04:05 AM

    Pavel Mencl's Avatar

    No, it isn't because of a slow disk, the disk usage is only a few percent, the app is simply not deleting anything, or does so extremely slowly.Sent from my Samsung Galaxy smartphone.-------- Original message --------From: Damien Elmes <[email blocked]> Date: 02/11/2019 23:16 (GMT+01:00) To: [email blocked] Subject: Re: Check media/remove unused bug [Anki (Computer Version) #36654]

  4. Support Staff 4 Posted by Damien Elmes on 03 Nov, 2019 11:04 PM

    Damien Elmes's Avatar

    As I'm not able to reproduce this, I will keep an eye out for similar reports.

  5. 5 Posted by Pavel Mencl on 05 Nov, 2019 07:01 PM

    Pavel Mencl's Avatar

    Is there anything I could do to help you figure it out? Are you trying it on
    Win 10? I guess it could have something to do with the windows antimalware,
    as the process seems to be doing something while Anki is stuck..
    ---------- Původní e-mail ----------
    Od: Damien Elmes <[email blocked]>
    Komu: [email blocked]
    Datum: 4. 11. 2019 0:07:26
    Předmět: Re: Check media/remove unused bug [Anki (Computer Version) #36654]
    "

  6. Support Staff 6 Posted by Damien Elmes on 06 Nov, 2019 12:29 AM

    Damien Elmes's Avatar

    Windows Defender does seem to slow things down considerably. If you add an exception for the process c:\program files\anki\anki.exe it will perform better.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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