[Getan-devel] [getan-Bugs][6395] WidgetError: Widget <Pile selectable widget> rendered (46 x 2) canvas when passed size (46, 1)!

noreply at wald.intevation.org noreply at wald.intevation.org
Thu Nov 1 12:17:44 CET 2012


Bugs item #6395, was opened at 2012-11-01 11:17 by Bjoern Schilberg
You can respond by visiting: 
https://wald.intevation.org/tracker/?func=detail&atid=313&aid=6395&group_id=51

Status: Open
Priority: 3
Submitted By: Bjoern Schilberg (bjoern)
Assigned to: Bjoern Ricks (bricks)
Summary: WidgetError: Widget <Pile selectable widget> rendered (46 x 2) canvas when passed size (46, 1)! 
Hardware: None
Product: None
Operating System: None
Component: None
Version: None
Severity: blocker
Resolution: None
URL: 


Initial Comment:
Random crashes with similar messages (on  d88240a3a065 tip):

File "/home/bjoern/getan/urwid/widget.py", line 135, in cached_render
    canv = fn(self, size, focus=focus)
  File "/home/bjoern/getan/urwid/decoration.py", line 202, in render
    canv = self._original_widget.render(size, focus=focus)
  File "/home/bjoern/getan/urwid/widget.py", line 135, in cached_render
Traceback (most recent call last):
  File "./getan.py", line 15, in <module>
    main()
  File "/home/bjoern/getan/getan/main.py", line 64, in main
    controller.main()
  File "/home/bjoern/getan/getan/controller.py", line 39, in main
    self.view.run()
  File "/home/bjoern/getan/getan/view.py", line 449, in run
    self.loop.run()
  File "/home/bjoern/getan/urwid/main_loop.py", line 170, in run
    self.screen.run_wrapper(self._run)
  File "/home/bjoern/getan/urwid/raw_display.py", line 234, in run_wrapper
    return fn()
  File "/home/bjoern/getan/urwid/main_loop.py", line 188, in _run
    self.event_loop.run()
  File "/home/bjoern/getan/urwid/main_loop.py", line 498, in run
    self._loop()
  File "/home/bjoern/getan/urwid/main_loop.py", line 523, in _loop
    self._watch_files[fd]()
  File "/home/bjoern/getan/urwid/main_loop.py", line 231, in _update
    keys = self.input_filter(keys, raw)
  File "/home/bjoern/getan/urwid/main_loop.py", line 337, in input_filter
    return self._input_filter(keys, raw)
  File "/home/bjoern/getan/getan/controller.py", line 47, in input_filter
    self.view.loop.draw_screen()
  File "/home/bjoern/getan/urwid/main_loop.py", line 361, in draw_screen
    canvas = self.widget.render(self.screen_size, focus=True)
  File "/home/bjoern/getan/urwid/widget.py", line 135, in cached_render
    canv = fn(self, size, focus=focus)
  File "/home/bjoern/getan/urwid/container.py", line 569, in render
    focus and self.focus_part == 'body')
  File "/home/bjoern/getan/urwid/widget.py", line 135, in cached_render
    canv = fn(self, size, focus=focus)
  File "/home/bjoern/getan/urwid/decoration.py", line 202, in render
    canv = self._original_widget.render(size, focus=focus)
  File "/home/bjoern/getan/urwid/widget.py", line 135, in cached_render
    canv = fn(self, size, focus=focus)
  File "/home/bjoern/getan/urwid/container.py", line 1173, in render
    focus = focus and self.focus_col == i)
  File "/home/bjoern/getan/urwid/widget.py", line 135, in cached_render
    canv = fn(self, size, focus=focus)
  File "/home/bjoern/getan/getan/view.py", line 59, in render
    return self.frame.render((maxcol, maxrow), focus)
  File "/home/bjoern/getan/urwid/widget.py", line 135, in cached_render
    canv = fn(self, size, focus=focus)
  File "/home/bjoern/getan/urwid/container.py", line 569, in render
    focus and self.focus_part == 'body')
  File "/home/bjoern/getan/urwid/widget.py", line 135, in cached_render
    canv = fn(self, size, focus=focus)
  File "/home/bjoern/getan/urwid/decoration.py", line 202, in render
    canv = self._original_widget.render(size, focus=focus)
  File "/home/bjoern/getan/urwid/widget.py", line 135, in cached_render
    canv = fn(self, size, focus=focus)
  File "/home/bjoern/getan/urwid/widget.py", line 1302, in render
    canv = self._w.render(size, focus=focus)
  File "/home/bjoern/getan/urwid/widget.py", line 136, in cached_render
    validate_size(self, size, canv)
  File "/home/bjoern/getan/urwid/widget.py", line 106, in validate_size
    canv.rows(), size))
urwid.widget.WidgetError: Widget <Pile selectable widget> rendered (46 x 2) canvas when passed size (46, 1)!


----------------------------------------------------------------------

You can respond by visiting: 
https://wald.intevation.org/tracker/?func=detail&atid=313&aid=6395&group_id=51


More information about the Getan-devel mailing list