[Python-modules-team] Bug#698892: urwid: TypeError due to comparison of int and str
brian m. carlson
sandals at crustytoothpaste.net
Sun Jan 27 23:54:17 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20130127/feba7df7/attachment-0001.pgp>
More information about the Python-modules-team
mailing list