AttributeError: 'CHKInventoryRepository' object has no attribute 'get_revision_inventory'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| setuptoolsbzr |
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 2012-04-17
-
Diff: 12 lines (+1/-1)1 file modifiedsetuptools_bzr/__init__.py (+1/-1)
- Richard Gomes: Pending requested 2014-01-09
-
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)
Richard Gomes (frgomes) wrote : | #1 |
Richard Gomes (frgomes) wrote : | #2 |
OK. One way to circumvent the trouble is renaming directory ".bzr" to something else whilst you are developing.
Far from ideal, but keeps the ball rolling.
But this issue is BLOCKER when it's time to release the package.
The command below fails :(
python setup.py sdist --formats=zip
Richard Gomes (frgomes) wrote : | #3 |
OK. There's a simple way to fix this.
See: http://
The big question is: Why this very simple fix is hibernating for a full year and not pushed yet onto PyPI?
Barry Warsaw (barry) wrote : | #4 |
It's been languishing because I haven't used this package in ages. I found that using a MANIFEST.in explicitly worked better. However, since this is affecting you, I'll take a look at the fix and try to do a PyPI release. Unless you want to adopt the package ;)
Changed in setuptoolsbzr: | |
status: | New → Fix Released |
Tres Seaver (tseaver) wrote : | #5 |
In what release? I don't see anything newer than 2.1 here on launchpad, and there is no PyPI entry for 'setuptoolsbzr' at all.
Tres Seaver (tseaver) wrote : | #6 |
Oops: https:/
but the released version there is 2.1.
Richard Gomes (frgomes) wrote : Re: [Bug 887518] Re: AttributeError: 'CHKInventoryRepository' object has no attribute 'get_revision_inventory' | #7 |
I'm still releasing. I should have closed the bugs after finishing the
release.
Richard Gomes
http://
http://
mobile: +44(77)9955-6813
inum <http://
sip:<email address hidden>
On 09/01/14 22:24, Tres Seaver wrote:
> In what release? I don't see anything newer than 2.1 here on launchpad,
> and there is no PyPI entry for 'setuptoolsbzr' at all.
>
Richard Gomes (frgomes) wrote : | #8 |
Hello,
It's available now from PyPI and from Launchpad:
https:/
https:/
I'm the new maintainer and I closed all open bugs since it's working
very well now for me.
Please let me know if you find issues.
Cheers
Richard Gomes
http://
http://
mobile: +44(77)9955-6813
inum <http://
sip:<email address hidden>
On 09/01/14 22:24, Tres Seaver wrote:
> In what release? I don't see anything newer than 2.1 here on launchpad,
> and there is no PyPI entry for 'setuptoolsbzr' at all.
>
Tres Seaver (tseaver) wrote : | #9 |
On 01/09/2014 06:24 PM, Richard Gomes wrote:
> It's available now from PyPI and from Launchpad:
>
> https:/
>
>
https:/
>
> I'm the new maintainer and I closed all open bugs since it's working
> very well now for me. Please let me know if you find issues
Thank you!
Tres.
--
=======
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://
It is working now. Thanks to Barry for starting this package and thanks to Richard for taking over maintenance.
Oddly, I cannot even install the previous setuptools_bzr 2.1 to double check the previous behavior, because pip or easy_install complains about a missing ez_setup module. Ah well, installing the latest 2.2 works fine and 'python setup.py egg_info' or other setup.py commands then work fine.
Thanks.
Richard Gomes (frgomes) wrote : | #11 |
Hello Maurits,
Thanks a lot for the feedback.
Cheers :)
Richard Gomes
http://
http://
mobile: +44(77)9955-6813
inum <http://
sip:<email address hidden>
On 10/01/14 01:11, Maurits van Rees wrote:
> It is working now. Thanks to Barry for starting this package and thanks
> to Richard for taking over maintenance.
>
> Oddly, I cannot even install the previous setuptools_bzr 2.1 to double
> check the previous behavior, because pip or easy_install complains about
> a missing ez_setup module. Ah well, installing the latest 2.2 works
> fine and 'python setup.py egg_info' or other setup.py commands then work
> fine.
>
> Thanks.
>
+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)