-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save paths to temp file / moveToTrash requested path is not a file #7
Comments
also, instead of exiting when this happens you might consider doing what
however, I don't think cbird currently is checking that the "original" exists before deleting so the current behavior of exiting the whole program makes sense to me |
There would have to be two groups that contain the same thing, e.g. A=>C, B=>C so with the chop you get { C, C } in the list of deletions. This would mean that A,C and B,C are closer to each other than A,B. These could be a false matches especially if we know that A,B are unique. Exit code is -1 for -nuke, I'm not sure where the 0 status is coming from. Yeah, there is no concept of "original" anywhere really, there is only the "needle". Once you get to the "nuke" phase which is more of a "trust me bro" option for cases where you have some known duplicates to discard. Ideally nuke would never exit early unless there was a problem it couldn't otherwise detect or resolve. I am moving towards something where we can reliably batch-delete duplicates. Based on your comments it seems clear that the system would need:
|
I'm not sure how this is possible (because of the unique index
media_path_index
) but it seems likecbird
tried to delete something that it deleted just one line beforeI'm not sure how to reproduce this bug but it has only happened once and I'm not too concerned about it but:
0
after this. The exit code should probably be non-zero ?my short term workaround:
The text was updated successfully, but these errors were encountered: