[Pkg-bazaar-maint] Bug#488158: Bug#488158: bzr: Fails to retrieve branch

Jelmer Vernooij jelmer at samba.org
Thu Jun 26 20:43:37 UTC 2008


severity 488518 normal
thanks

bzr+ssh is only available when python-paramiko (recommended by the bzr
package) is installed. It should work once you install it. 

I agree the current situation in 0.11 is a far from ideal - bzr should
give a saner error message than this. It doesn't qualify as important
bug though imho.

Cheers,

Jelmer

Am Donnerstag, den 26.06.2008, 21:02 +0200 schrieb Helge Kreutzmann:
> Package: bzr
> Version: 0.11-1.1
> Severity: important
> X-Debbugs-CC: bazaar-ng at lists.ubuntu.com
> 
> A project I work on was recently converted from CVS to bzr. I tried to
> learn bzr, the whoami command works, but trying to retrieve a
> repository fails:
> bzr branch bzr+ssh://bzr.debian.org/bzr/pkg-aboot/aboot/branches/debian/
> 
> bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'SmartSSHTransport'
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 611, in run_bzr_catch_errors
>     return run_bzr(argv)
>   File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 573, in run_bzr
>     ret = run(*run_argv)
>   File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 282, in run_argv_aliases
>     return self.run(**all_cmd_args)
>   File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 684, in run
>     br_from = Branch.open(from_location)
>   File "/usr/lib/python2.4/site-packages/bzrlib/branch.py", line 113, in open
>     control = bzrdir.BzrDir.open(base, _unsupported)
>   File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 474, in open
>     t = get_transport(base)
>   File "/usr/lib/python2.4/site-packages/bzrlib/transport/__init__.py", line 1017, in get_transport
>     t, last_err = _try_transport_factories(base, factory_list)
>   File "/usr/lib/python2.4/site-packages/bzrlib/transport/__init__.py", line 1033, in _try_transport_factories
>     return factory(base), None
>   File "/usr/lib/python2.4/site-packages/bzrlib/transport/__init__.py", line 99, in _loader
>     klass = getattr(mod, classname)
> AttributeError: 'module' object has no attribute 'SmartSSHTransport'
> 
> bzr 0.11.0 on python 2.4.4.final.0 (linux2)
> arguments: ['/usr/bin/bzr', 'branch', 'bzr+ssh://bzr.debian.org/bzr/pkg-aboot/aboot/branches/debian/']
> 
> ** please send this report to bazaar-ng at lists.ubuntu.com
> 
> If I do something wrong, I apologize. Please adjust the severity as
> appropriate.
> 
> -- System Information:
> Debian Release: 4.0
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.24.5-grsec-cz02
> Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
> 
> Versions of packages bzr depends on:
> ii  python                     2.4.4-2       An interactive high-level object-o
> ii  python-celementtree        1.0.5-8       Light-weight toolkit for XML proce
> ii  python-central             0.5.12        register and build utility for Pyt
> ii  python2.4                  2.4.4-3+etch1 An interactive high-level object-o
> 
> Versions of packages bzr recommends:
> pn  python-paramiko               <none>     (no description available)
> pn  python-pycurl                 <none>     (no description available)
> 
> -- no debconf information
> _______________________________________________
> Pkg-bazaar-maint mailing list
> Pkg-bazaar-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-bazaar-maint
-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org





More information about the Pkg-bazaar-maint mailing list