bzr info crashes on MacOS X 10.9. ERROR: exceptions.ImportError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Undecided
|
Unassigned | ||
Bazaar Mac Installers |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Running "bzr info" crashes after upgrading to MacOS X 10.9. I reinstalled bzr, and also installed XCode command line tools (as suggested here https:/
alex-macbook-
bzr: ERROR: exceptions.
Referenced from: /Library/
Reason: image not found
Traceback (most recent call last):
File "/Library/
return the_callable(*args, **kwargs)
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Library/
return self._operation
File "/Library/
self.cleanups, self.func, *args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
verbose=
File "/Library/
outfile)
File "/Library/
format = describe_
File "/Library/
format = controldir.
File "/Library/
return self.get(key)()
File "/Library/
return self._dict[
File "/Library/
self._obj = get_named_
File "/Library/
obj = __import_
File "/Library/
import subvertpy
File "/Library/
raise ImportError("Unable to load subvertpy extensions: %s" % e)
ImportError: Unable to load subvertpy extensions: dlopen(
Referenced from: /Library/
Reason: image not found
bzr 2.6.0 on python 2.6.8 (Darwin-
arguments: ['/usr/
plugins: bash_completion
colo[0.4.0], email[unknown], explorer[1.3.0], fastimport[
git[0.6.11], grep[2.6.0], keychain[0.1.0], launchpad[2.6.0], loom[2.2.0],
netrc_
po_
weave_
encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_GB.UTF-8'
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
affects: | bzr → bzr-mac-installers |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in bzr: | |
status: | New → Invalid |
Changed in bzr-mac-installers: | |
status: | New → Confirmed |
The problem is, Mavericks command line tools libraries are set on /Library/ Developer/ CommandLineTool s/usr/lib/ instead of /usr/lib. This causes bazaar to fail the load of the needed svn libraries because they are not available in /usr/lib.
The fix for this is to just link the necessary libraries from /Library/ Developer/ CommandLineTool s/usr/lib to /usr/lib like this: Developer/ CommandLineTool s/usr/lib/ libsvn_ client- 1.0.dylib /usr/lib/ libsvn_ client- 1.0.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ subr-1. 0.dylib /usr/lib/ libsvn_ subr-1. 0.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ ra-1.0. dylib /usr/lib/ libsvn_ ra-1.0. dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ wc-1.0. dylib /usr/lib/ libsvn_ subr-1. 0.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ wc-1.0. dylib /usr/lib/ libsvn_ wc-1.0. dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ diff-1. 0.dylib /usr/lib/ libsvn_ diff-1. 0.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ ra_local- 1.0.dylib /usr/lib/ libsvn_ ra_local- 1.0.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ repos-1. 0.dylib /usr/lib/ libsvn_ repos-1. 0.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ fs-1.0. dylib /usr/lib/ libsvn_ fs-1.0. dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ fs_fs-1. 0.dylib /usr/lib/ libsvn_ fs_fs-1. 0.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ fs_util- 1.0.dylib /usr/lib/ libsvn_ fs_util- 1.0.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ ra_svn- 1.0.dylib /usr/lib/ libsvn_ ra_svn- 1.0.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ ra_neon- 1.0.dylib /usr/lib/ libsvn_ ra_neon- 1.0.dylib Developer/ CommandLineTool s/usr/lib/ libneon. 27.dylib /usr/lib/ libneon. 27.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ ra_serf- 1.0.dylib /usr/lib/ libsvn_ ra_serf- 1.0.dylib Developer/ CommandLineTool s/usr/lib/ libserf- 1.0.dylib /usr/lib/ libserf- 1.0.dylib Developer/ CommandLineTool s/usr/lib/ libsvn_ delta-1. 0.dylib /usr/lib/ libsvn_ delta-1. 0.dylib
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/
sudo ln -s /Library/