Error to sync google photos directory


#1

Hi,
Sorry for my bad english, I cannot find the problem, could you help me ?
I cannot sync or list the ‘google photos’ directory. Every other directories in my gdrive can be sync in both ways.

I tried :
$rclone ls gcloud:Google\ Photos
$rclone ls ‘gcloud:Google Photos’
each time the answer is : ERROR : : error listing: directory not found ; fail to ls: directory not found

Is there a bug or did i miss something ?

rclone --version : v1.42-083 linux/arm go1.10.1

Thank you for your help


#2

Just an update, when I list my drive I can see the Google Photo directory.
And when I tried to copy a file from my local drive to gcloud:Google\ Photos/file , it created a new Google\ Photos directory and copied the file in.


#3

You can use single ’ to get it:

felix@gemini:~$ rclone lsd GD:'Google Photos'
          -1 2016-01-01 07:00:00        -1 2016

or double quotes works for me too:

felix@gemini:~$ rclone lsd GD:"Google Photos"
          -1 2016-01-01 07:00:00        -1 2016

#4

thanks but I still have the same error ‘directory not found’ for both.


#5

Maybe take a step back, what are you trying to do with the Google Photos?


#6

And you have the folder turned on in Google Drive settings?

felix@gemini:~$ rclone copy /etc/hosts GD:‘Google Photos’

was the file I copied up.


#7

I tried to do exactly the same thing that you did.
This my google drive before :

image

then I $rclone copy testfile gcloud:‘Google Photos’


#8

and this what happened :

image

and nothing changed in the “real” google photos" directory.


#9

Can you run the rclone copy with a -vv and share the output?


#10

Here is the output :

pi@raspberrypi:~/rclone/testfic$ rclone -vv copy testfic gcloud:‘Google Photos’
2018/08/07 20:04:59 DEBUG : rclone: Version “v1.42-083-gd95667b0β” starting with parameters [“rclone” “-vv” “copy” “testfic” “gcloud:Google Photos”]
2018/08/07 20:04:59 DEBUG : Using config file from “/home/pi/.config/rclone/rclone.conf”
2018/08/07 20:05:05 DEBUG : gcloud: Saved new token in config file
2018/08/07 20:05:05 DEBUG : pacer: Rate limited, sleeping for 1.427840379s (1 consecutive low level retries)
2018/08/07 20:05:05 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2018/08/07 20:05:05 DEBUG : pacer: Rate limited, sleeping for 2.881753701s (2 consecutive low level retries)
2018/08/07 20:05:05 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2018/08/07 20:05:07 DEBUG : pacer: Resetting sleep to minimum 10ms on success
2018/08/07 20:05:10 DEBUG : testfic: Couldn’t find file - need to transfer
2018/08/07 20:05:12 INFO : testfic: Copied (new)
2018/08/07 20:05:12 INFO :
Transferred: 0 Bytes (0 Bytes/s)
Errors: 0
Checks: 0
Transferred: 1
Elapsed time: 13.3s

2018/08/07 20:05:12 DEBUG : 8 go routines active
2018/08/07 20:05:12 DEBUG : rclone: Version “v1.42-083-gd95667b0β” finishing with parameters [“rclone” “-vv” “copy” “testfic” “gcloud:Google Photos”]
pi@raspberrypi:~/rclone/testfic$


#11

And if run a rclone ls, you aren’t seeing the file?

felix@gemini:~$ rclone copy -vv test GD:'Google Photos'
2018/08/07 14:57:12 DEBUG : rclone: Version "v1.42" starting with parameters ["rclone" "copy" "-vv" "test" "GD:Google Photos"]
2018/08/07 14:57:12 DEBUG : Using config file from "/home/felix/.rclone.conf"
2018/08/07 14:57:14 DEBUG : test: Couldn't find file - need to transfer
2018/08/07 14:57:17 INFO  : test: Copied (new)
2018/08/07 14:57:17 INFO  :
Transferred:      0 Bytes (0 Bytes/s)
Errors:                 0
Checks:                 0
Transferred:            1
Elapsed time:        4.4s

2018/08/07 14:57:17 DEBUG : 5 go routines active
2018/08/07 14:57:17 DEBUG : rclone: Version "v1.42" finishing with parameters ["rclone" "copy" "-vv" "test" "GD:Google Photos"]
felix@gemini:~$ rclone ls GD:'Google Photos'
      290 hosts
        0 test
felix@gemini:~$

#12

What i see is what is in the new google photos directory and not the one with my photos.

pi@raspberrypi:~/.config$ rclone ls gcloud:“Google Photos”
0 testfic
pi@raspberrypi:~/.config$


#13

This is the output of the rclone lsd command:

pi@raspberrypi:~/.config$ rclone lsd gcloud:
-1 2018-08-07 20:05:10 -1 Google Photos
-1 2018-08-07 16:58:30 -1 Google Photos