Unable to copy a single file from Google Drive - again

It appears that this bug is back: https://github.com/ncw/rclone/issues/1772

I tried on release 1.42 and the latest beta:

$ ./rclone -V
rclone v1.42-035-g99201f8b\u03b2

  • os/arch: linux/amd64
  • go version: go1.10.1

$ ./rclone lsl GDrive: --max-size 0
-1 2018-07-14 14:14:55.229000000 newsheet.xlsx
$ ./rclone copy GDrive:/newsheet.xlsx .
2018/07/14 16:39:32 ERROR : Attempt 1/3 failed with 0 errors and: object not found
2018/07/14 16:39:33 ERROR : Attempt 2/3 failed with 0 errors and: object not found
2018/07/14 16:39:33 ERROR : Attempt 3/3 failed with 0 errors and: object not found
2018/07/14 16:39:33 Failed to copy: object not found
[cjn@Shop tmp]$ ./rclone copy GDrive: . --include newsheet.xlsx
[cjn@Shop tmp]$ (success)

Oh dear!

A bit of git bisect shows that this is the problem commit

Apparently this is tickling another bit of drive code which is doing listings and looking for google docs file names.

What needs to be done is that the code which mangles the google drive file names needs to be pushed into a lower level which isn’t completely straight forward.

Can you please make a new issue on github about this and we’ll fix in due course - thanks!