Error when transferring multiple files to google photos

What is the problem you are having with rclone?

I encountered this error when transferring files to Google Photos

Run the command 'rclone version' and share the full output of the command.

rclone v1.65.0

  • os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
  • os/kernel: 10.0.19045.3758 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.21.4
  • go/linking: static
  • go/tags: cmount

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

Google Photos

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

rclone copy drive:data/sample poto:album/new

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[drive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =

[poto]
type = google photos
client_id = XXX
client_secret = XXX
token = XXX
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x28 pc=0xf46efc]

goroutine 82 [running]:
github.com/rclone/rclone/backend/googlephotos.(*Object).setMetaData(...)
        github.com/rclone/rclone/backend/googlephotos/googlephotos.go:874
github.com/rclone/rclone/backend/googlephotos.(*Object).Update(0xc0005ee000, {0x281d680?, 0xc0006d6eb0}, {0x27fe7c0, 0xc000dfc100}, {0x4c180e40?, 0xc000001980}, {0xc0005cf6f0, 0x1, 0x1})
        github.com/rclone/rclone/backend/googlephotos/googlephotos.go:1147 +0x83c
github.com/rclone/rclone/backend/googlephotos.(*Fs).Put(0xc00067a5b0, {0x281d680, 0xc0006d6eb0}, {0x27fe7c0, 0xc000dfc100}, {0x4c180e40?, 0xc000001980?}, {0xc0005cf6f0, 0x1, 0x1})
        github.com/rclone/rclone/backend/googlephotos/googlephotos.go:695 +0x1d7
github.com/rclone/rclone/fs/operations.(*copy).updateOrPut(0xc0007ca900, {0x281d680, 0xc0006d6eb0}, {0x280eac8?, 0xc00094e1c0?}, {0xc0005cf6f0, 0x1, 0x1})
        github.com/rclone/rclone/fs/operations/copy.go:209 +0x307
github.com/rclone/rclone/fs/operations.(*copy).manualCopy(0xc0007ca900, {0x281d680, 0xc0006d6eb0})
        github.com/rclone/rclone/fs/operations/copy.go:262 +0x6d8
github.com/rclone/rclone/fs/operations.(*copy).copy(0xc0007ca900, {0x281d680, 0xc0006d6eb0})
        github.com/rclone/rclone/fs/operations/copy.go:302 +0x16c
github.com/rclone/rclone/fs/operations.Copy({0x281d680, 0xc0006d6eb0}, {0x282fe48, 0xc00067a5b0}, {0x0?, 0x0}, {0xc0004d2d30, 0xf}, {0x282f898, 0xc000001980})
        github.com/rclone/rclone/fs/operations/copy.go:404 +0x425
github.com/rclone/rclone/fs/operations.Move({0x281d680, 0xc0006d6eb0}, {0x282fe48?, 0xc00067a5b0}, {0x0, 0x0}, {0xc0004d2d30, 0xf}, {0x282f898, 0xc000001980})
        github.com/rclone/rclone/fs/operations/operations.go:384 +0x7c5
github.com/rclone/rclone/fs/sync.(*syncCopyMove).pairCopyOrMove(0xc0006d26c0, {0x281d680, 0xc0006d6eb0}, 0x0?, {0x282fe48, 0xc00067a5b0}, 0x0?, 0x0?)
        github.com/rclone/rclone/fs/sync/sync.go:440 +0x16c
created by github.com/rclone/rclone/fs/sync.(*syncCopyMove).startTransfers in goroutine 1
        github.com/rclone/rclone/fs/sync/sync.go:473 +0x45

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