CentOS 7: Want a functional loggerhead

Richard Wilbur richard.wilbur at gmail.com
Sat Sep 12 09:43:13 UTC 2015


On Fri, Sep 11, 2015 at 4:36 PM, Kevin R. Bulgrien
<kevin.bulgrien at freedomcte.com> wrote:
>> Test loggerhead in this configuration:
>>
>> $ export PYTHONPATH=/home/app/lib/python2.6/site-packages

I'm guessing part of the problem may lie in this PYTHONPATH.  If you try
$ cd ~bzr/blah && bzr info

does it give you the branch information with that PYTHONPATH?  What
was PYTHONPATH on CentOS 6 when you are running serve-branches?

I think you most likely need something like:
export PYTHONPATH=/home/app/lib/python2.6/site-packages:/usr/lib/python2.6/dist-packages

or the like.  The idea is PYTHONPATH=<additional packages
path>:<original system packages path>

Check the documentation in <loggerhead>/docs/index.rst for a few more clues.

My understanding is that loggerhead needs to be able to run bzr on the
branches you want served.  So bzrlib needs to be in the PYTHONPATH.

Sincerely,
Richard



More information about the bazaar mailing list