selftest broken when Paramiko absent

Martin Pool mbp at sourcefrog.net
Fri Jan 13 05:51:48 GMT 2006


On 13 Jan 2006, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> In the latest bzr, selftest does not run if sftp can't be loaded.  I'm
> having trouble pinpointing the precise problem, because I'm running on
> Windows, and I don't know where .bzr.log is.

Running

  print os.path.expanduser('~/.bzr.log')

under the same version of Python should tell you.

> I assume this has something to do with test-providers.
> 
> C:\bzr.ttransform\bzrlib\transport\ftp.py:311: UserWarning: There are no
> FTP transport provider tests yet.
> ~  warn("There are no FTP transport provider tests yet.")
> C:\bzr.ttransform\bzrlib\transport\http.py:434: UserWarning: There are
> no HTTPS
> transport provider tests yet.
> ~  warn("There are no HTTPS transport provider tests yet.")
> bzr: ERROR: The SFTP transport requires paramiko.
> bzr: ERROR: exceptions.ImportError: No module named paramiko
> ~  at C:\bzr.ttransform\bzrlib\transport\sftp.py line 45
> ~  in ?

I'll check it.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060113/5cef3299/attachment.pgp 


More information about the bazaar mailing list