Description
[root@cen-2708 tools]# ./cbclusterstats -c 10.3.121.63:8091 -u Administrator -p password
/opt/couchbase/lib/python
bucket: bucket0
Traceback (most recent call last):
File "/opt/couchbase/lib/python/collector.py", line 144, in get_bucketlist
c = buckets.BucketStats(bucket_name)
File "/opt/couchbase/lib/python/buckets.py", line 140, in _init_
self.rest_cmd = rest_cmds['bucket-stats'].format(bucket_name)
AttributeError: 'str' object has no attribute 'format'
[root@cen-2708 tools]# python
Python 2.4.3 (#1, Feb 22 2012, 16:05:45)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
string format was added in python2.6
Attachments
For Gerrit Dashboard: MB-7252 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
22831,2 | MB-7252: Remove cbclusterstats from final package | couchbase | voltron | Status: MERGED | +2 | +1 |
22889,2 | MB-7252: Remove cbclusterstats from final package | master | couchdbx-app | Status: MERGED | +2 | +1 |
23795,2 | MB-7252: Remove cbclusterstats from final package | 2.0.1 | couchdbx-app | Status: MERGED | +2 | +1 |