Problem with sftp and paramiko
micky
mouze at gmx.de
Fri Mar 14 18:49:08 GMT 2008
Hello,
when i try a connect to a bazzar machine via sftp with the command line,
bzr branch ftp://<username>@<ip><path>
i got the error,
bzr: ERROR: Unsupported protocol for url "sftp://<username>@<ip><path>":
Unable to import paramiko (required for sftp support): cannot import
name util
I have compiled bzr-1.1 with sftp support and paramiko-1.7.2. Here still
the entry in the log message.
bzr arguments: [u'branch', u'sftp://<username>@<ip><path>']
looking for plugins in /home/<username>/.bazaar/plugins
looking for plugins in /usr/lib64/python2.5/site-packages/bzrlib/plugins
Plugin name __init__ already loaded
Plugin name __init__ already loaded
encoding stdout as sys.stdout encoding 'UTF-8'
failed to instantiate transport <bzrlib.registry._LazyObjectGetter
object at 8e8410, module='bzrlib.transport.sftp'
attribute='SFTPTransport'> for 'sftp://<username>@<ip><path>':
ParamikoNotPresent()
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/bzrlib/commands.py", line
806, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib64/python2.5/site-packages/bzrlib/commands.py", line
762, in run_bzr
ret = run(*run_argv)
File "/usr/lib64/python2.5/site-packages/bzrlib/commands.py", line
492, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib64/python2.5/site-packages/bzrlib/builtins.py", line
878, in run
from_location)
File "/usr/lib64/python2.5/site-packages/bzrlib/bzrdir.py", line 773,
in open_tree_or_branch
bzrdir = klass.open(location)
File "/usr/lib64/python2.5/site-packages/bzrlib/bzrdir.py", line 650,
in open
t = get_transport(base, possible_transports=possible_transports)
File "/usr/lib64/python2.5/site-packages/bzrlib/lazy_import.py", line
125, in __call__
return obj(*args, **kwargs)
File
"/usr/lib64/python2.5/site-packages/bzrlib/transport/__init__.py", line
1616, in get_transport
base = convert_path_to_url(base, 'Unsupported protocol: %s')
File
"/usr/lib64/python2.5/site-packages/bzrlib/transport/__init__.py", line
1581, in convert_path_to_url
raise errors.UnsupportedProtocol(base, last_err)
UnsupportedProtocol: Unsupported protocol for url
"sftp://<username>@<ip><path>": Unable to import paramiko (required for
sftp support): cannot import name util
return code 3
Can somebody explain me that?
--
Greets
micky
More information about the bazaar
mailing list