[Python-modules-team] Bug#698892: urwid: TypeError due to comparison of int and str
Ian Ward
ian at excess.org
Mon Jan 28 00:21:20 UTC 2013
And, this one too:
https://github.com/wardi/urwid/commit/ba5ab4d821f230d76e1176c14b4bdae75303c5ca.patch
On Sun, Jan 27, 2013 at 6:54 PM, brian m. carlson
<sandals at crustytoothpaste.net> wrote:
> On Sun, Jan 27, 2013 at 03:19:42PM -0500, Ian Ward wrote:
>> Please see if this fixes the problem:
>>
>> https://github.com/wardi/urwid/commit/acd3a7a9325f8cb080f3dfdc9a1f0bf3d1e60996.patch
>
> Nope. I get this:
>
> Traceback (most recent call last):
> File "/home/bmc/bin/newfol", line 1471, in <module>
> main(sys.argv[1:])
> File "/home/bmc/bin/newfol", line 1451, in main
> start_curses()
> File "/home/bmc/bin/newfol", line 1068, in start_curses
> loop.run()
> File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 272, in run
> self.screen.run_wrapper(self._run)
> File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 242, in run_wrapper
> return fn()
> File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 337, in _run
> self.event_loop.run()
> File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 708, in run
> self._loop()
> File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 787, in _loop
> self._watch_files[fd]()
> File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 388, in _update
> self.process_input(keys)
> File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 488, in process_input
> k = self._topmost_widget.keypress(self.screen_size, k)
> File "/usr/lib/python3/dist-packages/urwid/container.py", line 1103, in keypress
> return self.body.keypress( (maxcol, remaining), key )
> File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 834, in keypress
> return self._original_widget.keypress((maxcol,), key)
> File "/usr/lib/python3/dist-packages/urwid/container.py", line 1560, in keypress
> key = self.focus.keypress(tsize, key)
> File "/usr/lib/python3/dist-packages/urwid/container.py", line 379, in keypress
> key = self.__super.keypress(size, key)
> File "/usr/lib/python3/dist-packages/urwid/container.py", line 1589, in keypress
> tsize, self.pref_col, row):
> File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 652, in move_cursor_to_coords
> return self._original_widget.move_cursor_to_coords(maxvals, x, y)
> File "/usr/lib/python3/dist-packages/urwid/container.py", line 2107, in move_cursor_to_coords
> if (col == LEFT or x > col) and best is None:
> TypeError: unorderable types: int() > str()
>
>
> --
> brian m. carlson / brian with sandals: Houston, Texas, US
> +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
> OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
More information about the Python-modules-team
mailing list