Size command breaks due to OneDrive file

What is the problem you are having with rclone?

When I run size it fails because of one of the files in the cloud

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

- os/version: Microsoft Windows 11 Home 23H2 (64 bit)
- os/kernel: 10.0.22631.2861 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: cmount```
<!-- **STOP and  READ**: 
Do not type in "Latest".
Do not just type in a version number. Run the command and share the full output.

Are you on the latest version of rclone? You can validate by checking the version listed here: https://rclone.org/downloads/
 -->

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


#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)  
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

```rclone size QuickAccess: --user-agent "ISV|rclone.org|rclone/1.65.0" --config "U:\Settings\Rclone\config" --cache-dir "U:\Settings\Rclone\cache" --temp-dir "U:\Settings\Rclone\temp```


#### The rclone config contents with secrets removed.  
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

```[QuickAccess]
type = onedrive
token = {"access_token":"###","token_type":"Bearer","refresh_token":"###","expiry":"2023-12-14T10:53:50.9814855Z"}
drive_id = b!QTy8uHekM0S2x83Eaqv7lrtKjSgnvrNKkPeGK3dj9DRO5u-fsVJ7TauVFlvkZdDu
drive_type = business```

#### A log from the command with the `-vv` flag  
<!-- You should use 3 backticks to begin and end your paste to make it readable.  Or use a service such as https://pastebin.com or https://gist.github.com/   -->

2023/12/14 09:53:56 DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "size" "QuickAccess:" "--user-agent" "ISV|rclone.org|rclone/1.65.0" "--config" "U:\Settings\Rclone\config" "--cache-dir" "U:\Settings\Rclone\cache" "--temp-dir" "U:\Settings\Rclone\temp" "-vv"]
2023/12/14 09:53:56 DEBUG : Creating backend with remote "QuickAccess:"
2023/12/14 09:53:56 DEBUG : Using config file from "U:\Settings\Rclone\config"
2023/12/14 09:53:58 DEBUG : Graeme @ WI: OneNote file not shown in directory listing
2023/12/14 09:53:58 ERROR : : error listing: unknown object type
2023/12/14 09:53:58 DEBUG : 5 go routines active
2023/12/14 09:53:58 Failed to size with 2 errors: last error was: unknown object type

1 Like

This is known problem in v1.65 of rclone.

It is already fixed in the latest beta and soon will be released in v.1.65.1

Thanks for that! :+1:

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