Details
Description
cbbaackup and friends make use of couchstore.py to be able to access couchstore files. This Python module relies on libcouchstore.dylib to perform the actual access to the files; and due to the issues in MB-16435 couchstore.py fails to load libcouchstore.dylib.
I have a workaround which allows cbbackup etc to run as long as the source/sink isn't couchstore files (see below), but we need a proper fix for this.
-- lib/python/couchstore.py2015-09-18 18:49:33.000000000 +0100
|
+++ lib/python/couchstore.py2015-10-03 11:04:52.000000000 +0100
|
@@ -28,8 +28,7 @@
|
except OSError, err:
|
continue
|
else:
|
- traceback.print_exc()
|
- sys.exit(1)
|
+ raise ImportError("Failed to locate suitable couchstore shared library")
|
|
|
_lib.couchstore_strerror.restype = ctypes.c_char_p
|
Attachments
Issue Links
- relates to
-
MB-16435 Couchbase Server 4051 fails on MacOS 10.11 (El Capitan)
- Closed
For Gerrit Dashboard: MB-16454 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
56017,3 | MB-16454: Use @loader_path for loading platform libraries | master | platform | Status: ABANDONED | -2 | -1 |
56018,1 | MB-16454: Fix issues with python bindings on osx 10.11 | master | couchstore | Status: ABANDONED | -1 | -1 |
56019,1 | MB-16454: Add workaround for OSX 10.11 library loading issues | master | couchbase-cli | Status: ABANDONED | -1 | 0 |
56275,5 | MB-16454: Use @loader_path for loading platform libraries | sherlock | platform | Status: MERGED | +2 | +1 |
56276,8 | MB-16454: Fix issues with python bindings on osx 10.11 | sherlock | couchstore | Status: MERGED | +2 | +1 |
56857,1 | Merge remote-tracking branch 'couchbase/sherlock' | master | platform | Status: MERGED | +2 | +1 |
56858,1 | Merge remote-tracking branch 'couchbase/sherlock' | master | couchstore | Status: MERGED | +2 | +1 |
61568,4 | Fix Python tests on OSX | master | couchstore | Status: MERGED | +2 | +1 |