'All duplicates removed' message displayed even though duplicates were not deleted

What is the problem you are having with rclone?

When performing rclone dedupe, if it encounters an insufficientFilePermisson error and is not able to delete duplicates, it still shows error message 'All duplicates removed'. This message should bot be printed.

What is your rclone version (output from rclone version)

rclone v1.49.2-DEV

  • os/arch: darwin/amd64
  • go version: go1.12.6

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Mac, 64 bit

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone dedupe first remote2: -vv

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

Sezals-MacBook-Pro:rclone sezalagrawal$ rclone dedupe first remote2: -vv
2019/09/06 18:00:43 NOTICE: first.csv: Found 2 duplicates - deleting identical copies
2019/09/06 18:00:43 ERROR : first.csv: Couldn't delete: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2019/09/06 18:00:43 NOTICE: first.csv: Deleted 1 extra copies
2019/09/06 18:00:43 NOTICE: 161.docx: Found 2 duplicates - deleting identical copies
2019/09/06 18:00:43 NOTICE: 161.docx: Deleting 1/2 identical duplicates (MD5 "4781d20aae0496f2d1bb102f31697e58")
2019/09/06 18:00:43 ERROR : 161.docx: Couldn't delete: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2019/09/06 18:00:43 NOTICE: 161.docx: All duplicates removed
.....More files....
2019/09/06 18:00:44 Failed to dedupe with 22 errors: last error was: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions

Came across this issue while working on #3470

1 Like

I would just raise an issue for it and put in the relevant information as it does seem like a bug / bad message to display since the items were not deleted.

1 Like

Okay, I will raise an issue for this then.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.