rcx icon indicating copy to clipboard operation
rcx copied to clipboard

Couldn't parse config item chunk_size with Mi units

Open zhanghai opened this issue 1 year ago • 1 comments

What version of RCX are you using (About -> App version)?

rcx v1.12.2 (with rclone v1.55.1-rcx) from F-Droid

What is your Android version, phone model and manufacturer?

OnePlus 10 Pro OxygenOS Android 12

Which steps are required to reproduce this issue?

Import a config that has chunk_size set with Mi

What is your configuration (rclone.conf)?

The issue seems evident enough, probably rclone v1.55.1 is missing 2925e138 and needs to be updated to at least v1.56.0

Does the same issue also occur when using the same configuration on a PC or in Termux?

Config created and works fine on Arch Linux with rclone v1.59.1

What are the contents of Android/data/io.github.x0b.rcx/files/logs/log.txt?

2022/09/10 21:55:42 Failed to create file system for "******": failed to make remote "******" to wrap: couldn't parse config item "chunk_size" = "100Mi" as fs.SizeSuffix: parsing "100Mi" as fs.SizeSuffix failed: bad suffix 'i'

zhanghai avatar Sep 10 '22 22:09 zhanghai

Found out that I can simply replace Mi with M so that rclone v1.55.1 understands it - they are the same thing according to 2925e13. But maybe still worth updating the rclone binary since 1.55.1 is old?

zhanghai avatar Sep 10 '22 22:09 zhanghai