qbrowse does not support sftp:// nor bzr+ssh://

Bug #241930 reported by Alexander Belchenko
2
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Medium
Alexander Belchenko

Bug Description

C:\work\>bzr -Derror qbrowse bzr+ssh://root@linux/root/src/
Connected (version 1.99, client OpenSSH_3.8.1p1)
Authentication (publickey) successful!
Secsh channel 1 opened.
Server does not understand Bazaar network protocol 3, reconnecting. (Upgrade the server to avoid this.)
Connected (version 1.99, client OpenSSH_3.8.1p1)
Authentication (publickey) successful!
Secsh channel 1 opened.
bzr: ERROR: bzrlib.errors.InvalidURL: Invalid url supplied to transport: "bzr+ssh://root@linux/root/src/": local urls must start with file:///, UNC path urls must start with file://

Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 932, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 883, in run_bzr
  File "bzrlib\commands.pyc", line 585, in run_argv_aliases
  File "C:\work\Bazaar\plugins-repo\qbzr\lib\__init__.py", line 110, in run
  File "C:\work\Bazaar\plugins-repo\qbzr\lib\__init__.py", line 175, in run
  File "bzrlib\lazy_import.pyc", line 125, in __call__
  File "C:\work\Bazaar\plugins-repo\qbzr\lib\browse.py", line 57, in __init__
  File "bzrlib\urlutils.pyc", line 241, in _win32_local_path_from_url
InvalidURL: Invalid url supplied to transport: "bzr+ssh://root@linux/root/src/": local urls must start with
file:///, UNC path urls must start with file://

Tags: qbrowse
Revision history for this message
Alexander Belchenko (bialix) wrote :

Similar traceback when invoking qbrowse from qlog sftp://URL

description: updated
Revision history for this message
Alexander Belchenko (bialix) wrote :

Looking at the code in question: self.location = local_path_from_url(branch.base) it's clear that qbrowse expects only local path. It's easy to teach it to support any other types too.

Changed in qbzr:
assignee: nobody → bialix
importance: Undecided → Medium
milestone: none → 0.9.2
status: New → In Progress
Changed in qbzr:
status: In Progress → Fix Committed
Changed in qbzr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.