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

cbrestore, cbtransfer exit with ImportError: No module named zlib if python installation on the box does not have zlib library ( when python is built from source )

    Details

      Description

      build 1965

      ./cbrestore
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/cbrestore", line 8, in <module>
      import pump_transfer
      File "/opt/couchbase/lib/python/pump_transfer.py", line 10, in <module>
      import pump
      File "/opt/couchbase/lib/python/pump.py", line 14, in <module>
      import zlib
      ImportError: No module named zlib

      by default zlib module is disabled in python, it can be enabled using option --with-zlib when configure python.

      but user at least should be notified about this requirements for cbrestore

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

        Activity

        andreibaranouski Andrei Baranouski created issue -
        andreibaranouski Andrei Baranouski made changes -
        Field Original Value New Value
        Summary cbrestore exits with ImportError: No module named zlib cbrestore, cbtransfer exit with ImportError: No module named zlib
        steve Steve Yen made changes -
        Assignee Steve Yen [ steve ] Andrei Baranouski [ andreibaranouski ]
        andreibaranouski Andrei Baranouski made changes -
        Assignee Andrei Baranouski [ andreibaranouski ] Steve Yen [ steve ]
        farshid Farshid Ghods (Inactive) made changes -
        Summary cbrestore, cbtransfer exit with ImportError: No module named zlib cbrestore, cbtransfer exit with ImportError: No module named zlib if python installation on the box does not have zlib library ( when python is built from source )
        farshid Farshid Ghods (Inactive) made changes -
        Labels 2.0-release-notes
        Fix Version/s 2.0 [ 10114 ]
        Component/s documentation [ 10012 ]
        Component/s tools [ 10223 ]
        farshid Farshid Ghods (Inactive) made changes -
        Assignee Steve Yen [ steve ] MC Brown [ mccouch ]
        mccouch MC Brown (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            mccouch MC Brown (Inactive)
            Reporter:
            andreibaranouski Andrei Baranouski
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes