Problems updating an old install [was: bazaar-ng 0.7 released]

Aaron Bentley aaron.bentley at utoronto.ca
Mon Jan 23 14:07:44 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vincent LADEUIL wrote:
> Trying to install that I get :

> |   File "/home/vila/src/bzr.dev/bzrlib/branch.py", line 23, in ?
> |     import xml.sax.saxutils
> | ImportError: No module named sax.saxutils

This is a problem with in-place upgrades, because they don't usually
delete old pyc files.  We used to have bzrlib/xml.py, which meant that
you couldn't use xml.* from the standard library.  We've renamed that
file, but if you still have the old .pyc file, you'll experience that bug.

> I have the feeling that using 'python setup.py clean' and 'python
> setup.py install --home $HOME' is not sufficient when it comes to
> switch between 0.7 version and 'bzr.dev' version...
> 
> Am I right ?

This isn't normally true, bug for 0.7 and the current bzr.dev, I guess
it is.

> Anyway, is 'sax.saxutils' a new requirement ?

Not really.  Yes, we weren't previously using sax.saxutils, but it is
part of the standard library.  So that's an old requirement.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD1OMw0F+nu1YWqI0RApx3AJ9i94m969nldUd1tRmAu2cazvEwFwCghgfY
XAKBtonNIWIWtfqvlQW4K5Y=
=kvjm
-----END PGP SIGNATURE-----




More information about the bazaar mailing list