Debian Bug report logs - #893399
crashes with uncaught ValueError and IndexError

version graph

Package: urlscan; Maintainer for urlscan is Marcin Kulisz <[email protected]>; Source for urlscan is src:urlscan (PTS, buildd, popcon).

Reported by: Ryan Kavanagh <[email protected]>

Date: Sun, 18 Mar 2018 17:00:02 UTC

Severity: important

Found in version urlscan/0.8.2-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], David Carlos de Araujo Silva <[email protected]>:
Bug#893399; Package urlscan. (Sun, 18 Mar 2018 17:00:05 GMT) (full text, mbox, link).


Acknowledgement sent to Ryan Kavanagh <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], David Carlos de Araujo Silva <[email protected]>. (Sun, 18 Mar 2018 17:00:05 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Ryan Kavanagh <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: crashes with uncaught ValueError and IndexError
Date: Sun, 18 Mar 2018 12:58:04 -0400
[Message part 1 (text/plain, inline)]
Package: urlscan
Version: 0.8.2-1
Severity: important 

urlscan now crashes with the following error at startup on certain messages,
rendering it unusable:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urwid/listbox.py", line 177, in set_focus
    raise ValueError
ValueError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/urlscan", line 134, in <module>
    compact_mode=args.compact)
  File "/usr/lib/python3/dist-packages/urlscan/urlchoose.py", line 135, in __init__
    self.listbox.set_focus(firstbutton)
  File "/usr/lib/python3/dist-packages/urwid/listbox.py", line 581, in set_focus
    self._body.set_focus(position)
  File "/usr/lib/python3/dist-packages/urwid/listbox.py", line 179, in set_focus
    raise IndexError("No widget at position %s" % (position,))
IndexError: No widget at position 1

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

Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8), LANGUAGE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages urlscan depends on:
ii  libcanberra-gtk3-module  0.30-6
ii  python3                  3.6.4-1
ii  python3-urwid            2.0.1-1

urlscan recommends no packages.

Versions of packages urlscan suggests:
ii  chromium [www-browser]              65.0.3325.146-1
ii  firefox-esr [www-browser]           52.7.0esr-1
ii  google-chrome-stable [www-browser]  65.0.3325.162-1
ii  lynx [www-browser]                  2.8.9dev16-3
pn  mutt                                <none>
ii  uzbl [www-browser]                  0.0.0~git.20120514-1.2
ii  w3m [www-browser]                   0.5.3-36

-- no debconf information

-- 
|)|/  Ryan Kavanagh      | GPG: 4E46 9519 ED67 7734 268F
|\|\  https://rak.ac     |      BD95 8F7B F8FC 4A11 C97A
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:23:02 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.