Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-6197

cbtransfer throw errors "AttributeError: 'unicode' object has no attribute 'get'" for build 1566

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0
    • 2.0
    • tools
    • Security Level: Public
    • None

    Description

      The way to create this error is the same as MB-6196. Besides the error appears in MB-6196, there is another error message.

      sudo /opt/couchbase/bin/cbtransfer couchstore-files:///opt/couchbase/var/lib/couchbase/data/ http://Administrator:password@10.5.2.23:8091 -b default -B default -x try_xwm=0

      [2012-08-10 23:15:50,866] - [remote_util:1088] INFO - bucket: default, msgs transferred...
      [2012-08-10 23:15:50,866] - [remote_util:1088] INFO - : total | last | per sec
      [2012-08-10 23:15:50,866] - [remote_util:1088] INFO - batch : 1 | 1 | 16.5
      [2012-08-10 23:15:50,866] - [remote_util:1088] INFO - byte : 3072 | 3072 | 50567.9
      [2012-08-10 23:15:50,866] - [remote_util:1088] INFO - msg : 12 | 12 | 197.5
      [2012-08-10 23:15:50,866] - [remote_util:1088] INFO - Traceback (most recent call last):
      [2012-08-10 23:15:50,867] - [remote_util:1088] INFO - File "/opt/couchbase/lib/python/cbtransfer", line 31, in <module>
      [2012-08-10 23:15:50,867] - [remote_util:1088] INFO - sys.exit(pump_transfer.Transfer().main(sys.argv))
      [2012-08-10 23:15:50,867] - [remote_util:1088] INFO - File "/opt/couchbase/lib/python/pump_transfer.py", line 78, in main
      [2012-08-10 23:15:50,867] - [remote_util:1088] INFO - sink_class, sink).run()
      [2012-08-10 23:15:50,867] - [remote_util:1088] INFO - File "/opt/couchbase/lib/python/pump.py", line 125, in run
      [2012-08-10 23:15:50,867] - [remote_util:1088] INFO - rv = self.transfer_bucket_design(source_bucket, source_map, sink_map)
      [2012-08-10 23:15:50,868] - [remote_util:1088] INFO - File "/opt/couchbase/lib/python/pump.py", line 242, in transfer_bucket_design
      [2012-08-10 23:15:50,868] - [remote_util:1088] INFO - source_design)
      [2012-08-10 23:15:50,868] - [remote_util:1088] INFO - File "/opt/couchbase/lib/python/pump_cb.py", line 150, in consume_design
      [2012-08-10 23:15:50,868] - [remote_util:1088] INFO - doc = row.get('doc', None)
      [2012-08-10 23:15:50,868] - [remote_util:1088] INFO - AttributeError: 'unicode' object has no attribute 'get'

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            steve Steve Yen
            Chisheng Chisheng Hong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty