urwid 2.6.4-1 exception when rendering an empty Pile or Columns as a flow widget
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Invalid
|
Undecided
|
Unassigned | ||
urwid (Debian) |
Fix Released
|
Unknown
|
|||
urwid (Ubuntu) |
Fix Released
|
Undecided
|
Olivier Gayot |
Bug Description
When attempting to render an empty Pile or Columns as a flow widget using urwid 2.6.4-1, it fails with the following exception:
File "/usr/lib/
canv = fn(self, size, focus=focus)
File "/usr/lib/
_widths, heights, size_args = self.get_
File "/usr/lib/
heights.
File "/usr/lib/
return super().pack(size, focus)
File "/usr/lib/
raise WidgetError(
urwid.widget.
Minimal code to reproduce:
```python
from urwid import Pile
Pile([
("pack", Pile([])),
]).render((10,))
```
This looks like a regression in 2.6.4-1 since the same code was not failing on 2.1.2-4
There is an upstream fix [1] that is released in urwid 2.6.5.
Changed in subiquity: | |
status: | New → Invalid |
Changed in urwid (Ubuntu): | |
assignee: | nobody → Olivier Gayot (ogayot) |
status: | New → In Progress |
summary: |
- urwid 2.6.4-1 exception when drawing an empty Pile or Columns + urwid 2.6.4-1 exception when using an empty Pile or Columns as a flow + widget |
description: | updated |
summary: |
- urwid 2.6.4-1 exception when using an empty Pile or Columns as a flow - widget + urwid 2.6.4-1 exception when rendering an empty Pile or Columns as a + flow widget |
Changed in urwid (Debian): | |
status: | Unknown → New |
Changed in urwid (Debian): | |
status: | New → Fix Released |
Adding debdiff. The updated package is available in ppa:ogayot/ noble-proposed
https:/ /launchpad. net/~ogayot/ +archive/ ubuntu/ noble-proposed/ +packages