Comment 9 for bug 365874

Revision history for this message
unchiujar (vasile-jureschi) wrote :

Found and the problem and hacked around it.

It seems bazaar doesn't like python2.5 and 2.6. Changing the system version to 2.4 fixed the problem.

These are the steps I did to fix it on my system.
 # Install python2.4
 # edit: /usr/share/python/debian_defaults
   and change
   default-version=python2.4
 # Change the /usr/bin/python symlink from /usr/bin/python2.6 or 2.5 to /usr/bin/python2.4
   rm /usr/bin/python
   ln -s /usr/bin/python2.4 /usr/bin/python
 # Add to $PYTHONPATH the path to bzrlin. I did export PYTHONPATH=/usr/share/pyshared:$PYTHONPATH

Do this only if you really need bazaar because this is certain to break programs that need 2.5 or 2.6

If someone from the bazaar team that actually knows how to fix this problem would get around to it, it would be nice.

Thanks :)