<div dir="ltr">2008/9/4 John Arbash Meinel <span dir="ltr"><<a href="mailto:john@arbash-meinel.com">john@arbash-meinel.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Marius Kruger wrote:<br>
> Hi,<br>
><br>
> I tried the loggerhead 1.6 and 1.6.1 with bzr 1.6.1rc1 and 1.5<br>
> I can start the server with `$ ./serve-branches /stuph/projects`<br>
> The server comes up and I can browse the file system, but as soon as<br>
> click on a bzr branch, I get<br>
> `Internal Server Error` on the browser<br>
> and the following stack trace on the backend.<br>...<br>
</div><div class="Ih2E3d"><br>
> graph.iter_ancestry([last_revid]) if value is not None))<br>
> AttributeError: 'Graph' object has no attribute 'iter_ancestry'<br>
><br>
<br>
</div>So... Graph.iter_ancestry has existed since bzr 1.3 (and hasn't changed<br>
much since then.)<br>
<br>
I would actually guess that you have an old bzrlib lying around<br>
somewhere (possibly installed site-wide?).</blockquote><div><br>JOHN, I WANT TO KISS YOU RIGHT NOW!!!<br>I don't know how you guessed it, but you hit the nail right on the head.<br>It turns out that I had a bzrlib v1.1 in my /usr/lib/python2.5/site-packages (version_info = (1, 1, 0, 'dev', 0))<br>
which I must have installed with apt-get or setup.py or something when I last installed kubuntu on my laptop.<br>This is strange because as far as I know, `bzr --version` used to show the bzrlib I expected.<br>I wonder if there is a way to detect rogue bzrlibs contaminating the classpath.<br>
This might also explain some weird behaviour I had with other tools, and I'd have to check some bugs I submitted.<br><br>I was starting to loose hope with Loggerhead, but now it works beautifully! <br>Its just in time too, as I need to get it installed for our company so that we can use bzr more (with gforge :( ).<br>
</div></div><br>best regards<br>marius<br><br>ps. the kiss think is just a figure of speech to show how happy I am right now.<br>
</div>