bzr-svn on mac
Adam Mercer
ramercer at gmail.com
Thu Jul 26 19:08:32 BST 2007
On 26/07/07, Neil Martinsen-Burrell <nmb at wartburg.edu> wrote:
> The actual error that caused the plugin to fail loading will be listed
> at the end of ~/.bzr.log. Can you tell us what that file says, to give
> more idea of what is going wrong?
[ 3552] Thu 14:03:46.015 WARNING: Unable to load plugin 'svn' from
'/Users/ram/.bazaar/plugins'
Traceback (most recent call last):
File "/opt/local/lib/python2.4/site-packages/bzrlib/plugin.py", line
180, in load_from_dir
exec "import bzrlib.plugins.%s" % name in {}
File "<string>", line 1, in ?
File "/Users/ram/.bazaar/plugins/svn/__init__.py", line 63, in ?
check_subversion_version()
File "/Users/ram/.bazaar/plugins/svn/__init__.py", line 56, in
check_subversion_version
import svn.delta
File "/Users/ram/opt/subversion/lib/svn-python/svn/delta.py", line 19, in ?
from libsvn.delta import *
File "/Users/ram/opt/subversion/lib/svn-python/libsvn/delta.py", line 5, in ?
import _delta
ImportError: No module named _delta
Looks like it's a path error (as _delta.a is in
${HOME}/opt/subversion/lib/svn-python/libsvn), I have the following
defined in my .bash_profile, I guess this isn't enough:
export PATH=${HOME}/opt/subversion/bin:${PATH}
export LD_LIBRARY_PATH=${HOME}/opt/subversion/lib:${LD_LIBRARY_PATH}
export PYTHONPATH=${HOME}/opt/subversion/lib/svn-python:${PYTHONPATH}
where my patched build of subversion is installed in ${HOME}/opt/subversion
Cheers
Adam
More information about the bazaar
mailing list