Skip to content

Removing a folder twice in rapid succession leads to error #437

@crwood

Description

@crwood

An anonymous user reports that, in cases wherein a folder is not removed right away, subsequent attempts to remove that folder will result in an error:

Folder is not deleted right away. User then attempts to delete the folder again and after a few seconds an error appears:

Error removing folder 'test'
An exception was raised removing the test folder. Tahoe code error, no magic folder at all, please try again later.
(Illegible)

Possibly the issue occurs because stop syncing the first time does not lead to a change in the UI, making it possible to go to the context menu again to remove the folder. Removing it the second time then leads to the error.

Gridsync should guard against this condition, perhaps by preventing additional attempts to remove a folder while an existing removal operation is still in progress and/or by improving error-handling so that no error message is displayed for subsequent attempts if the folder has already been (successfully) removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions