problems with bzr 0.10 and paramiko sftp transfer
Lukáš Lalinský
lalinsky at gmail.com
Tue Aug 29 09:34:00 BST 2006
Hi,
When I tried to run "bzr push" with bzr 0.10 and paramiko 1.6, I get:
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\bzrlib\commands.py", line 612, in
run_bzr_catch_errors
return run_bzr(argv)
File "C:\Python24\Lib\site-packages\bzrlib\commands.py", line 574, in run_bzr
ret = run(*run_argv)
File "C:\Python24\Lib\site-packages\bzrlib\commands.py", line 283, in
run_argv_aliases
return self.run(**all_cmd_args)
File "C:\Python24\Lib\site-packages\bzrlib\builtins.py", line 561, in run
to_transport = transport.get_transport(location)
File "C:\Python24\Lib\site-packages\bzrlib\transport\__init__.py", line 801,
in get_transport
t, last_err = _try_transport_factories(base, factory_list)
File "C:\Python24\Lib\site-packages\bzrlib\transport\__init__.py", line 817,
in _try_transport_factories
return factory(base), None
File "C:\Python24\Lib\site-packages\bzrlib\transport\__init__.py", line 91, in
_loader
return klass(base)
File "C:\Python24\Lib\site-packages\bzrlib\transport\sftp.py", line 343, in
__init__
self._sftp_connect()
File "C:\Python24\Lib\site-packages\bzrlib\transport\sftp.py", line 854, in
_sftp_connect
self._paramiko_connect()
File "C:\Python24\Lib\site-packages\bzrlib\transport\sftp.py", line 883, in
_paramiko_connect
BZR_HOSTKEYS[self._host] = {}
AttributeError: HostKeys instance has no attribute '__setitem__'
I upgraded to 1.6.2, where this method was added (with a comment "don't use this
please."), but appears to be broken:
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\bzrlib\commands.py", line 612, in
run_bzr_catch_errors
return run_bzr(argv)
File "C:\Python24\Lib\site-packages\bzrlib\commands.py", line 574, in run_bzr
ret = run(*run_argv)
File "C:\Python24\Lib\site-packages\bzrlib\commands.py", line 283, in
run_argv_aliases
return self.run(**all_cmd_args)
File "C:\Python24\Lib\site-packages\bzrlib\builtins.py", line 561, in run
to_transport = transport.get_transport(location)
File "C:\Python24\Lib\site-packages\bzrlib\transport\__init__.py", line 801,
in get_transport
t, last_err = _try_transport_factories(base, factory_list)
File "C:\Python24\Lib\site-packages\bzrlib\transport\__init__.py", line 817,
in _try_transport_factories
return factory(base), None
File "C:\Python24\Lib\site-packages\bzrlib\transport\__init__.py", line 91, in
_loader
return klass(base)
File "C:\Python24\Lib\site-packages\bzrlib\transport\sftp.py", line 343, in
__init__
self._sftp_connect()
File "C:\Python24\Lib\site-packages\bzrlib\transport\sftp.py", line 854, in
_sftp_connect
self._paramiko_connect()
File "C:\Python24\Lib\site-packages\bzrlib\transport\sftp.py", line 883, in
_paramiko_connect
BZR_HOSTKEYS[self._host] = {}
File "build\bdist.win32\egg\paramiko\hostkeys.py", line 235, in __setitem__
AttributeError: HostKeys instance has no attribute '_keys'
So my question is, is there a known version of paramiko that works with bzr 0.10?
-Lukáš
More information about the bazaar
mailing list