Size cmd not report total objetc and size

hello,

Running size command on an remote: without path will not report the total object and size.

Total objects: 0
Total size: 0 Bytes (0 Bytes)

Do you experiment the same bug ?

version=v1.36-DEV
arch=linux-amd64

I could not run beta to check, because, I’ve a little patch to allow auth_token and storage_url and disable Authenticate() call.

$ rclone -vv  --dump-bodies --dump-headers  size rec_portal_wvf:
2017/05/03 14:50:18 DEBUG : rclone: Version "v1.36-DEV" starting with parameters ["rclone" "-vv" "--dump-bodies" "--dump-headers" "size" "rec_portal_wvf:"]
2017/05/03 14:50:18 INFO  : Swift container : Modify window is 1ns
2017/05/03 14:50:18 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2017/05/03 14:50:18 DEBUG : HTTP REQUEST (req 0xc820150620)
2017/05/03 14:50:18 DEBUG : GET /v1/AUTH_portal-wvf?format=json&limit=10000 HTTP/1.1
Host: api.cdn.xxxxxxxx.net
User-Agent: rclone/v1.36-DEV
X-Auth-Token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Accept-Encoding: gzip

2017/05/03 14:50:18 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2017/05/03 14:50:18 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2017/05/03 14:50:18 DEBUG : HTTP RESPONSE (req 0xc820150620)
2017/05/03 14:50:18 DEBUG : HTTP/1.1 200 OK
Content-Length: 214
Accept-Ranges: bytes
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Date: Wed, 03 May 2017 12:51:02 GMT
Server: nginx/1.11.10
X-Account-Bytes-Used: 16703151687
X-Account-Container-Count: 4
X-Account-Meta-Quota-Bytes: 107374182409
X-Account-Object-Count: 1549638
X-Account-Storage-Policy-Policy-0-Bytes-Used: 16703151687
X-Account-Storage-Policy-Policy-0-Container-Count: 4
X-Account-Storage-Policy-Policy-0-Object-Count: 1549638
X-Timestamp: 1438251619.69613
X-Trans-Id: txd72e0571eee54ee682587-005909d236

[{"count": 202, "bytes": 809579, "name": "channel"}, {"count": 902, "bytes": 4517302, "name": "images"}, {"count": 3, "bytes": 8502, "name": "public"}, {"count": 1548531, "bytes": 16697816304, "name": "snapshots"}]
2017/05/03 14:50:18 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Total objects: 0
Total size: 0 Bytes (0 Bytes)
2017/05/03 14:50:18 DEBUG : Go routines at exit 5
2017/05/03 14:50:18 DEBUG : rclone: Version "v1.36-DEV" finishing with parameters ["rclone" "-vv" "--dump-bodies" "--dump-headers" "size" "rec_portal_wvf:"]

ok, may bz for swift this not a bug, since we could store file only inside a container

This will happen for any of the bucket based remotes (eg swift, s3 etc).

It will get fixed shortly though as part of other re-organisations of code!

thank, nice to hear this.