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

cbworkloadgen doesn't work with both python24 and python26 installed on one machine.

    XMLWordPrintable

Details

    Description

      [chisheng@cen-2507 ~]$ /opt/couchbase/bin/tools/cbworkloadgen -h
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/cbworkloadgen", line 8, in <module>
      import pump_transfer
      File "/opt/couchbase/lib/python/pump_transfer.py", line 13, in <module>
      import pump_cb
      File "/opt/couchbase/lib/python/pump_cb.py", line 8, in <module>
      import pump_mc
      File "/opt/couchbase/lib/python/pump_mc.py", line 3, in <module>
      import ctypes
      File "/opt/couchbase/lib/python/ctypes/_init_.py", line 10, in <module>
      from _ctypes import Union, Structure, Array
      ImportError: /opt/couchbase/lib/python/_ctypes.so: undefined symbol: Py_InitModule4

      [chisheng@cen-2507 ~]$ ll /usr/bin/python*
      -rwxr-xr-x 2 root root 8304 Feb 22 2012 /usr/bin/python
      lrwxrwxrwx 1 root root 6 May 24 11:02 /usr/bin/python2 -> python
      -rwxr-xr-x 2 root root 8304 Feb 22 2012 /usr/bin/python2.4
      -rwxr-xr-x 2 root root 8328 Apr 12 2012 /usr/bin/python26
      -rwxr-xr-x 2 root root 8328 Apr 12 2012 /usr/bin/python2.6

      Attachments

        For Gerrit Dashboard: MB-6928
        # Subject Branch Project Status CR V

        Activity

          People

            pavelpaulau Pavel Paulau (Inactive)
            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