Skip to content
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

Spurious WARNING: Couldn't send <run> to trash #135

Closed
csatt opened this issue Nov 8, 2020 · 0 comments
Closed

Spurious WARNING: Couldn't send <run> to trash #135

csatt opened this issue Nov 8, 2020 · 0 comments
Assignees
Labels

Comments

@csatt
Copy link
Owner

csatt commented Nov 8, 2020

When multiple date groups are selected in the Results Wizard, and the Delete button is pressed, warnings are generated such as:
WARNING: Couldn't send /Users/csatt/Library/Application Support/IV_Swinger2/191125_16_45_41 to trash

These are printed to the log file and to the console if running from the command line. Despite the warning, the specified run is indeed sent to the trash.

@csatt csatt added the bug label Nov 8, 2020
@csatt csatt self-assigned this Nov 8, 2020
csatt added a commit that referenced this issue Nov 8, 2020
The get_selected_runs() method is modified to remove duplicates from the list returned. This prevents the spurious warnings of Issue #135, but also should make Update faster when date groups are selected, since runs were being updated twice.
@csatt csatt closed this as completed Nov 8, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant