ElementTree not fond in bzrlib/utils ?
John Arbash Meinel
john at arbash-meinel.com
Wed Jun 14 13:45:18 BST 2006
Matthieu Moy wrote:
> Hi,
>
> bzr used to work out of the box without ElementTree installed on my
> machine.
>
> After a pull (I hadn't pulled since a pre-0.8 on that machine), bzr
> can't find ElementTree anymore:
>
> $ ./bzr
> bzr: ERROR: exceptions.ImportError: No module named
> elementtree.ElementTree
> at /net/ecrins/local/moy/usr/src/bzr.dev/bzrlib/xml_serializer.py
> line 79
> in ?
>
> Pointing PYTHONPATH to (bzr-home)/bzrlib/util solves the problem, but
> I suppose this is a bug
>
I think this is a bug that Martin just submitted a fix for. We were
directly doing 'import elementtree.ElementTree', rather than doing:
import util.elementtree as elementtree
I don't think he merged the fix yet, but it is waiting.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060614/63522572/attachment.pgp
More information about the bazaar
mailing list