Opened at 2015-07-07T17:58:48Z
Last modified at 2015-07-28T22:00:38Z
#2462 closed defect
remove bare asserts for segment out-of-range errors in mutable retrieve — at Version 1
| Reported by: | daira | Owned by: | daira |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.10.2 |
| Component: | code-mutable | Version: | 1.10.1 |
| Keywords: | cleanup error mutable retrieve download | Cc: | |
| Launchpad Bug: |
Description (last modified by daira)
Traceback (most recent call last):
File "/home/davidsarah/tahoe/git/trunk/src/allmydata/mutable/filenode.py", line 990, in <lambda>
self._serializer.addCallback(lambda ignore: cb(*args, **kwargs))
File "/home/davidsarah/tahoe/git/trunk/src/allmydata/mutable/filenode.py", line 980, in _read
d = r.download(consumer, offset, size)
File "/home/davidsarah/tahoe/git/trunk/src/allmydata/mutable/retrieve.py", line 244, in download
self._setup_encoding_parameters()
File "/home/davidsarah/tahoe/git/trunk/src/allmydata/mutable/retrieve.py", line 411, in _setup_encoding_parameters
assert start < self._num_segments
exceptions.AssertionError:
There are at least two bare asserts, one for the start segment and one for the end segment.
Change History (1)
comment:1 Changed at 2015-07-07T19:08:55Z by daira
- Description modified (diff)
- Status changed from new to assigned
- Summary changed from remove bare assert for segment out-of-range error in mutable retrieve to remove bare asserts for segment out-of-range errors in mutable retrieve
Note: See
TracTickets for help on using
tickets.
