Your message dated Tue, 11 Mar 2014 23:12:51 -0700
with message-id 
<CACZd_tDdJTgvKKgscUDwz2N963+0nMab50Zq=F8e9BkhK=f...@mail.gmail.com>
and subject line Fixed in urwid/1.2.0-1
has caused the Debian Bug report #698892,
regarding urwid: TypeError due to comparison of int and str
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
698892: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698892
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-urwid
Version: 1.1.0-1
Severity: normal

When running an urwid-using program, I get the following exception:

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 2109, in 
move_cursor_to_coords
    if x > col and best is None:
TypeError: unorderable types: int() > str()

I can provide you with the program in which I see this bug, but I'm
fairly confident that this is a bug in urwid, and not my software.  I'm
suspicious of the "if type(x)==int" line in decoration.py:652; it seems
that if the data is not an integer, we probably don't want to pass it on
to a function that's going to expect an integer.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python3-urwid depends on:
ii  libc6    2.13-38
ii  python3  3.2.3-6

python3-urwid recommends no packages.

python3-urwid suggests no packages.

-- no debconf information

-- 
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

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 1.2.0-1

These bugs should be fixed with urwid/1.2.0-1, which was just uploaded
to unstable. Please reopen if this is not the case.

Regards,
Vincent

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to