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

cbtransfer on CentOS 5.8(with python2.4 by default): error: could not import ctypes module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 3.0
    • 3.0
    • tools
    • Security Level: Public
    • None
    • 3.0.0-1118
    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      http://qa.hq.northscale.net/job/centos_x64--33_01--cbtransfer-P1/15/console

      [root@centos-58 ~]# /opt/couchbase/bin/cbtransfer couchstore-files:///opt/couchbase/var/lib/couchbase/data/
      error: could not import ctypes module
      [root@centos-58 ~]# cat /etc/rele
      cat: /etc/lsb-release.d: Is a directory
      CentOS release 5.8 (Final)
      [root@centos-58 ~]# 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.
      >>> import ctypes
      Traceback (most recent call last):
      File "<stdin>", line 1, in ?
      ImportError: No module named ctypes

      according to http://python.net/crew/theller/ctypes/ ctypes was included only python2.5
      "ctypes is an advanced ffi (Foreign Function Interface) package for Python 2.3 and higher. In Python 2.5 it is already included."

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            andreibaranouski Andrei Baranouski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty