I think it would fix this problem of having old modules lying around:
I did a setup.py install with the latest code base and now bzr refuses
to run at all. Even if I install an older version I still have this
problem. Here is the output I get:
Traceback (most recent call last):
File "/usr/bin/bzr", line 84, in ?
import bzrlib.commands
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 57, in ?
from bzrlib.option import Option
File "/usr/lib/python2.4/site-packages/bzrlib/option.py", line 358, in ?
log.log_formatter_registry, value_switches=True,
File "/usr/lib/python2.4/site-packages/bzrlib/lazy_import.py", line
99, in __getattribute__
return getattr(obj, attr)
AttributeError: 'module' object has no attribute 'log_formatter_registry'
It seems the latest bzr has messed up the installation somehow. It was
working fine before I installed the latest version.
If I run bzr from its source directory then it works but it is no longer
possible to install it...
Nick
You need to remove your old bzrlib/ install before installing a new one.
This is a bug in python's built-in install functionality. In that it
just adds files, it doesn't remove old ones. I think if you just delete
"C:\Python24\Lib\site-packages\bzrlib" first, and then install bzr it
will work fine.
You may want to copy ...\bzrlib\plugins\* first, in case you had any
plugins installed.
I think it would fix this problem of having old modules lying around:
I did a setup.py install with the latest code base and now bzr refuses
to run at all. Even if I install an older version I still have this
problem. Here is the output I get:
Traceback (most recent call last): python2. 4/site- packages/ bzrlib/ commands. py", line 57, in ? python2. 4/site- packages/ bzrlib/ option. py", line 358, in ? log_formatter_ registry, value_switches= True, python2. 4/site- packages/ bzrlib/ lazy_import. py", line registry'
File "/usr/bin/bzr", line 84, in ?
import bzrlib.commands
File "/usr/lib/
from bzrlib.option import Option
File "/usr/lib/
log.
File "/usr/lib/
99, in __getattribute__
return getattr(obj, attr)
AttributeError: 'module' object has no attribute 'log_formatter_
It seems the latest bzr has messed up the installation somehow. It was
working fine before I installed the latest version.
If I run bzr from its source directory then it works but it is no longer
possible to install it...
Nick
You need to remove your old bzrlib/ install before installing a new one.
This is a bug in python's built-in install functionality. In that it Lib\site- packages\ bzrlib" first, and then install bzr it
just adds files, it doesn't remove old ones. I think if you just delete
"C:\Python24\
will work fine.
You may want to copy ...\bzrlib\ plugins\ * first, in case you had any
plugins installed.
John
=:->