[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2926: `tahoe status` unhandled KeyError: 'progress'
Tahoe-LAFS
trac at tahoe-lafs.org
Wed May 23 15:58:56 UTC 2018
#2926: `tahoe status` unhandled KeyError: 'progress'
-----------------------------------+-----------------------
Reporter: exarkun | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code-frontend-cli | Version:
Resolution: | Keywords:
Launchpad Bug: |
-----------------------------------+-----------------------
Comment (by exarkun):
From the implementation of `allmydata.web.status.Status` it looks like
only `IDownloadStatus` items have a `"progress"` key. The CLI-side
rendering code assumes that if `"progress-hash"` is not present then
`"progress"` will be. However, there are six cases represented by the
`Status` renderer. And, indeed, `"mapupdate"` is one of those other
cases.
So, the CLI-side rendering code needs to support these other cases as
well.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2926#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list