Bazaar Broken

Monday, September 10, 2007

For some reason I find it highly improbable that I’m the only one to ever experience this breakage with the Bazaar VCS:

$ bzr
Traceback (most recent call last):
  File "/opt/local/bin/bzr", line 76, in ?
    import bzrlib.breakin
ImportError: No module named breakin

I installed it from MacPorts a long time ago and ran into this problem. I decided to upgrade it tonight (via MacPorts) and give it another try, but was met with the same error after the upgrade.

Update: See related mailing list posts for the solution.

tagged: asides, software
written by Brad Fults

Add your thoughts | Trackback URL

Archived at: http://h3h.net/2007/09/bazaar-broken/

5 responses

  1. Edward O'Connor

    First off, ItWorksForMeâ„¢.

    Secondly, does /opt/local/lib/python2.4/site-packages/bzrlib/breakin.py exist on your system?

  2. Brad Fults

    Indeed it does…

    -rw-r–r– 2 root admin 1526 Aug 28 12:50 /opt/local/lib/python2.4/site-packages/bzrlib/breakin.py

  3. Edward O'Connor

    Is the python executable in your path the right one to be looking in there?

  4. Brad Fults

    Yes, the python executable is the expected one and it’s looking in the right place for the lib. I’m going to ask on the bzr mailing list.

  5. Brad Fults

    Updated above: The solution was noted on the bazaar mailing list.

    In short, I had 2 versions of bzr installed. I had to remove the one under /opt/local/Library/Frameworks/… so Python was able to find the correct lib.

  6. Comment Preview

Leave a comment

Comments are posted at the discretion of the site owner. Please try to be respectful, insightful and otherwise useful to society as a whole.

(X)HTML is allowed. You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <cite> <code> <dfn> <em> <kbd> <q cite=""> <samp> <strike> <strong> <sub> <sup> <var>