Skip to content

On Windows 10, leaving a magic-folder always fails to remove that folder's sqlite database #294

@crwood

Description

@crwood

See tahoe-lafs/magic-folder#131

In Gridsync, this behavior affects the restore/download functionality for folders since, if a user attempts to download a folder that was previously active/syncing on Windows, they'll see an error dialog (containing, for example: TahoeCommandError: Database '\\?\C:\Users\User\AppData\Roaming\Gridsync\MyGrid\private\magicfolder_documents.sqlite' already exists; not overwriting)

To compensate for this, Gridsync should attempt to remove the corresponding sqlite file whenever a user deletes or stops syncing a folder on Windows (possibly stopping the tahoe daemon process first, if needed to release the file-lock).

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