bzr: ERROR: Transport operation not possible: readonly transport
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Bazaar History Cache |
Low
|
Unassigned |
Bug Description
This doesn't seem to happen in all cases, but it does seem to point at this plugin since it only happens when plugins are enabled, and the backtrace (below) includes it.
Some work:
$ bzr tags -d lp:bzr-diffstat
0.2.0 16bzr+ssh > 5KB 2KB/s |
Others do not:
$ bzr tags -d lp:bzr
bzr: ERROR: Transport operation not possible: readonly transport
$ bzr tags -d lp:bzrtools
bzr: ERROR: Transport operation not possible: readonly transport
$ bzr tags -d lp:qbzr
bzr: ERROR: Transport operation not possible: readonly transport
I'm wondering if it may possibly be related to the format of the target branch/repo?
Backtrace from one of the failures:
1.122 ssh implementation is OpenSSH
7.865 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
revno_map = branch.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
mapping = self._gen_
File "/usr/lib/
in self.iter_
File "/home/
br._revno_cache = _branch_
File "/home/
max_
File "/home/
self.store = _RevnoStore(branch, max_mergelines_
File "/home/
self.
File "/usr/lib/
self.mkdir('.')
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
remote.
File "/usr/lib/
raise errors.
TransportNotPos
7.866 return code 3
Jes (jes-trucken8) wrote : | #1 |
Martin Pool (mbp) wrote : | #2 |
The plugin seems to be assuming that it can write to any branch you open, and that's obviously a silly assumption. You don't have access to write to every branch on Launchpad. If you would like to fix this, just catch the exception in revnocache, and don't write if you can't. I don't think this plugin is very active any more.
@Jes, I think you're having a different problem that coincidentally gets the same message. Please file a different bug and include the traceback you get by adding the -Derror option.
Changed in bzr-historycache: | |
status: | New → Confirmed |
importance: | Undecided → Low |
C:\Documents and Settings\ jssu\cool\ cool>bzr push lp:cool lp-73544784: ///%2Bbranch/ cool/.bzr/ branchlock) : Transport operation not possible: readonly transport
Connected (version 2.0, client Twisted)
Authentication (publickey) successful!
Secsh channel 1 opened.
bzr: ERROR: Cannot lock LockDir(
C:\Documents and Settings\ jssu\cool\ cool>echo %errorlevel%
3