Comment 1 for bug 254278

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 254278] [NEW] module object has no attribute ElementTree

On Sat, 2008-08-02 at 19:17 +0000, ViktorNagy wrote:
> Public bug reported:
>
> I am running bzr through Apache+modwsgi locally (for development)
>
> the HTTP authentication is handled by Apache, and it works fine
>
> $ bzr checkout bzr+http://nagyv@127.0.0.1/repos/bae7a163-3cf8-4328-8eab-82c511b1ba56/trunk/ bzr
> HTTP nagyv@127.0.0.1, Realm: 'Coosci - Repositories' password:
> bzr: ERROR: exceptions.AssertionError: unexpected response code ('error', "'module' object has no attribute 'ElementTree'")

> AssertionError: unexpected response code ('error', "'module' object has no attribute 'ElementTree'")
>
> bzr 1.3.1 on python 2.5.2.final.0 (linux2)

Last time I saw that it was a buggy python build where some of the core
libraries had been omitted for some reason.

Does it have the normal PYTHONPATH in the apache environment?

-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.