rclone: google drive: directory not found when its name has accent

What is your rclone version (eg output from rclone -V)

rclone v1.37-127-ga91448c8β os/arch: linux/amd64 go version: go1.9

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

Kali Linux 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 lsd lazaro:GranCursos\ PRÓ

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

2017/09/12 10:06:25 DEBUG : rclone: Version "v1.37-127-ga91448c8β" starting with parameters ["rclone" "lsd" "lazaro:GranCursos PRÓ" "-vv"]
2017/09/12 10:06:27 INFO  : Google drive root 'GranCursos PRÓ': Modify window is 1ms
2017/09/12 10:06:27 ERROR : : error listing: directory not found
2017/09/12 10:06:27 Failed to lsd: directory not found
2017/09/12 10:07:06 DEBUG : rclone: Version "v1.37-127-ga91448c8β" starting with parameters ["rclone" "-vv" "lsd" "lazaro:"]
2017/09/12 10:07:06 INFO  : Google drive root '': Modify window is 1ms
          -1 2017-09-11 21:46:00        -1 GranCursos PRÓ
2017/09/12 10:07:07 DEBUG : Go routines at exit 4
2017/09/12 10:07:07 DEBUG : rclone: Version "v1.37-127-ga91448c8β" finishing with parameters ["rclone" "-vv" "lsd" "lazaro:"]

The problem is the accent in directory name. If I take if off, I can list it.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (8 by maintainers)

Commits related to this issue

Most upvoted comments

This issue has been fixed in rclone since v1.40.

If you still have problems with Google Drive, please open a new issue with more error details.

I’ve changed the contains to = in 4d793b8ee842b177225e730a8c099edd54ccaeda

Hi, I also reached this error. My tests showed that only names with upper case accents character has this error. Accents lower case character are OK!

CONVENÇÕES == ERROR Convenções == OK !

Ç == ERROR ç == OK !

rclone can sync or copy folders with upper case accents characters but can not see it after copy resulting in duplicate folders names on next sync.

Important to note that gdrive ( https://github.com/prasmussen/gdrive ) can find those folders but drive (https://github.com/odeke-em/drive ) can not.

Besides the files and folders are there, this bug are generating lots of duplicate folders and files and left a mess behind it. On some cases it is almost impossible to sync because of lots of unnecessary file transfers that are already on DRIVE.

It appears that rclone dedup can fix the mess but can take a lot to finish and the mess is made again on the syncs to come.

Please, let me know if more information is needed.

Thank you

Roberto

rclone: Version “v1.37” s

rclone: Version “v1.37-157-g5a3a56abβ”

gdrive: 2.1.0 Golang: go1.6 OS/Arch: linux/amd64

drive version: 0.3.9.1 Commit Hash: ‘1cb01ece65b6d9d39060da1ecf2a440a90b24954’ Go Version: go1.8.3 OS: linux/amd64 BuildTime: 2017-05-29 14:38:38.77322112 -0300 BRT

LINUX CENTOS