I installed bazaar on my debian box in order to host the ‘Leave Status Board’ Project on launch pad. Following the instructions to init, add, commit worked fine. But on trying to push to the launchpad account, (had to add the RSA public key to Launchpad first) I got a whole bunch of python errors, a stack trace.
bzr: ERROR: bzrlib.errors.PathNotChild: Path ‘bzr+ssh://firstname.lastname@example.org/~info-jsemmanuel/leavestat/trunk/’ is not a child of path ‘bzr+ssh://email@example.com/%7Einfo-jsemmanuel/leavestat/’
Traceback (most recent call last):
File “/usr/lib/python2.4/site-packages/bzrlib/commands.py”, line 611, in run_bzr_catch_errors
File “/usr/lib/python2.4/site-packages/bzrlib/commands.py”, line 573, in run_bzr
ret = run(*run_argv)
File “/usr/lib/python2.4/site-packages/bzrlib/commands.py”, line 282, in run_argv_aliases
File “/usr/lib/python2.4/site-packages/bzrlib/builtins.py”, line 601, in run
relurl = to_transport.relpath(location_url)
File “/usr/lib/python2.4/site-packages/bzrlib/transport/__init__.py”, line 375, in relpath
raise errors.PathNotChild(abspath, self.base)
PathNotChild: Path ‘bzr+ssh://firstname.lastname@example.org/~info-jsemmanuel/leavestat/trunk/’ is not a child of path ‘bzr+ssh://email@example.com/%7Einfo-jsemmanuel/leavestat/’
bzr 0.11.0 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'push', 'bzr+ssh://firstname.lastname@example.org/~info-jsemmanuel/leavestat/trunk']
** please send this report to email@example.com
A helpful soul at irc (#firstname.lastname@example.org) mentioned that 0.11-1.1 version of bazaar that I had installed was quite old. Considering that 1.11 is the current version, that was actually quite old.
A quick trip to backports.org for the stable version for i386 with a download with wget got me the deb installer.
Uninstall the old version, install the deb file. A minor hiccup was the python-celementtree needed to be installed, which I did. The installer also complained about python 2.5 required, while my system had 2.4. But didn’t stop installing.
Pushing to launchpad works fine for now, so I take it that python 2.4 is quite ok for this version of bzr.