Problem using bzr on Python program

Alexander Belchenko bialix at ukr.net
Mon Feb 12 15:22:49 GMT 2007


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

Chris Seaton пишет:
> Actually I'm using
> 
> Bazaar (bzr) 0.10.0
> Using python interpreter:
> /home/ugrads/coms2003/cs3951/linux/installed/bin/python2.5
> Using python standard library:
> /home/ugrads/coms2003/cs3951/linux/installed/lib/python2.5
> Using bzrlib:
> /home/ugrads/coms2003/cs3951/linux/installed/lib/python2.5/site-packages/bzrlib
> 
> 
> with
> 
> Python 2.5 (r25:51908, Sep 26 2006, 14:51:52)
> 
> on Linux.
> 
> If it's a known bug is there a workaround?

Read this bug report:
https://bugs.launchpad.net/bzr/+bug/53478

It seems that something wrong with your site.py file
in /home/ugrads/coms2003/cs3951/linux/installed/lib/python2.5/site-packages
directory.

You can run simple test script:

import sys
print sys.path

Run this script with and without '-S' option for python interpreter
and examine output. The first item in sys.path is the directory with
the script.

You can add the lines above to the bzr script (usually in /usr/bin)
and see what sys.path is.

Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0IZJzYr338mxwCURAr2DAJwOWaLb0cR+QFgD58C/j4FkE9+nIgCeKG3o
EbWHGwwqgpmOdijJw4EveMQ=
=K2fC
-----END PGP SIGNATURE-----




More information about the bazaar mailing list