AttributeError: 'CHKInventoryRepository' object has no attribute 'get_revision_inventory'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
setuptoolsbzr |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I have the latest trunk installed (or 2.1), I get an error when running 'python setup.py egg_info':
...
File "/Users/
for item in ep.load()(dirname):
File "/Users/
paths = bzrlib_
File "/Users/
children = bzrlib_
File "/Users/
inv = branch.
AttributeError: 'CHKInventoryRe
Changing that line 50 in __init__.py to this does the trick as far as I see:
inv = branch.
Possibly both methods should be tried with a try/except.
This is with Python 2.6.7 and bzrlib 2.5b2.
I just now tried with bzrlib 2.4.2: same error.
Trying with 2.3.4 now, which you manually have to easy_install from http://
The checkout in which I am trying this has been created with:
bzr branch https:/
For completeness sake:
$ bzr --version
Bazaar (bzr) 2.5b2
Python interpreter: /Users/
Python standard library: /Users/
Platform: Darwin-
bzrlib: /Users/
Ah, looks like get_revision_
https:/
Related branches
- Barry Warsaw: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedsetuptools_bzr/__init__.py (+1/-1)
- Richard Gomes: Pending requested
-
Diff: 376 lines (+46/-248)4 files modifiedREADME.txt (+1/-0)
ez_setup.py (+0/-228)
setup.py (+21/-8)
setuptools_bzr/__init__.py (+24/-12)
Changed in setuptoolsbzr: | |
status: | New → Fix Released |
+1 (same error)
Some notes about my environment is:
$ uname -a
Linux apps 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
$ cat /etc/debian_version
7.2
$ python --version
Python 2.7.5
$ pip --version .virtualenvs/ py275/lib/ python2. 7/site- packages (python 2.7)
pip 1.4.1 from /home/rgomes/
$ pip list | fgrep setuptools
setuptools (1.1.7)
setuptools-bzr (2.1)
setuptools-git (1.0)
setuptools-hg (0.4)
$ pip list | fgrep bzr
bzr (2.6.0)
setuptools-bzr (2.1)