No one? Re: Ready in bzr/proposed: subvertpy 0.7.5 - special request for hardy / jaunty testers of bzr-svn

Francis Devereux francis at devrx.org
Fri Nov 12 17:12:54 GMT 2010


On 12 Nov 2010, at 17:05, Max Bowsher wrote:

> On 12/11/10 10:10, Francis Devereux wrote:
>> On 12 Nov 2010, at 01:32, Max Bowsher wrote:
>> 
>>> On 11/11/10 20:40, Francis Devereux wrote:
>>>> Sorry, I didn't read your original email properly and was using 0.6.9.  I've upgraded to 0.7.5 and bzr co svn+ssh://foo fails with the following error:
>>>> bzr: ERROR: exceptions.ImportError: ('Unable to load subvertpy extensions: %s', 'No module named client')
>>>> 
>>>> Traceback (most recent call last):
>>> ...
>>>> File "/usr/lib/python2.5/site-packages/subvertpy/__init__.py", line 114, in <module>
>>>> ImportError: ('Unable to load subvertpy extensions: %s', 'No module named client')
>>> 
>>> The file path listed in your traceback here is NOT installed by the
>>> python-subvertpy package in the bzr/proposed PPA.
>> 
>> I've just had a look, and on my system (which I had downgraded to 0.6.9 again) /usr/lib/python2.5/site-packages/subvertpy/__init__.py was a symlink to /usr/share/pyshared/subvertpy/__init__.py.  I removed python-subvertpy-0.6.9 with "dpkg -r --force-depends python-subvertpy" and after this /usr/lib/python2.5/site-packages/subvertpy/__init__.py did not exist any more.
>> 
>>> I have installed bzr/proposed's bzr-svn and python-subvertpy on my own
>>> lenny server, and it works perfectly.
>>> 
>>> I've also done some testing in a jaunty chroot.
>>> 
>>> Based on my testing, I have now promoted subvertpy 0.7.5 to bzr/ppa.
>> 
>> I've upgraded to 0.7.5 again on my Lenny system and it's working fine there too.  Don't know what was happening yesterday.
> 
> 
> Aha, it was the *upgrade* that was the problem - I had done a fresh
> installation.
> 
> Based on some testing using pbuilder chroots, the problem does not seem
> to affect Ubuntu, but for some reason on Debian lenny when upgrading
> from a version using python-central to a version using python-support,
> the python-central symlinks and bytecode files are not removed.

That makes sense, today I "upgraded" by doing dpkg -r --force-deps python-subvertpy; apt-get install python-subvertpy.  I can't remember for sure what I did yesterday but it's definitely possible that I upgraded without removing the old version beforehand.

Francis




More information about the bazaar mailing list