[Reportbug-maint] Bug#848655: reportbug crashes with error "TypeError: * wants int"

Vincent Lefevre vincent at vinc17.net
Mon Dec 19 15:00:06 UTC 2016


On 2016-12-19 09:51:36 -0500, Sandro Tosi wrote:
> On Mon, Dec 19, 2016 at 9:37 AM, Vincent Lefevre <vincent at vinc17.net> wrote:
> > On 2016-12-19 09:16:29 -0500, Sandro Tosi wrote:
> >> i cant replicate this on multiple systems, nor all the testers for the
> >> version  in experimental so i suspect there might be something wrong
> >> on your machine: can you try remove the ~/.reportbugrc or on another
> >> host?
> >
> > Same problem on another machine. Note that one needs
> >
> > mode advanced
> 
> i have 'expert' but even setting advanced (or removing that line and
> passing --mode=advanced on the cli) doesnt show your problm

Same problem on a third machine!

> > in the ~/.reportbugrc file to be able to choose 2 for "grave".
> > Even with just this line, the bug is reproducible.
> >
> > This is a really serious regression!
> 
> that'd be true, but i suspect is more a local configuration issue (of
> some sort) - can you try on a clean/brand new chroot?

If there's an easy way to do that...

> maybe it's your locale (even if en_US.UTF8 is the one i would have
> suggested to use)

This fails with LC_ALL=en_US.UTF-8, and with LC_ALL=C, this is
even worse:

ypig:~> LC_ALL=C reportbug reportbug
*** Welcome to reportbug.  Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the submitter).
Detected character set: us-ascii
Please change your locale if this is incorrect.

Using 'Vincent Lefevre <vincent at vinc17.net>' as your from address.
Getting status for reportbug...
Verifying package integrity...
Checking for newer versions at madison, incoming.debian.org and http://ftp-master.debian.org/new.html
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on reportbug (source)...
191 bug reports found:

Bugs with severity grave
    1) #846657  ImportError: No module named 'requests'  [RESOLVED]
Bugs with severity important
    2) #532150  reportbug: [regression] no longer supports custom mua commands
    3) #564112  Checking status of source packages with many binaries can be sl
    4) #709862  reportbug: GTK interface crashes on continue from package selec
    5) #711404  reportbug's GTK interface crashes if spelling dictionaries for 
    6) #717563  reportbug: web access thru proxy not available
    7) #840003  reportbug: wrong reporting about bug
    8) #846639  reportbug: [sched_delayed] sched: RT throttling activated  [RES
    9) #848208  GUI segfaults when trying to collect system information
(2-9/191) Is the bug you found listed above [y|N|b|m|r|q|s|f|e|?]? s
Maintainer for reportbug is 'Reportbug Maintainers <reportbug-maint at lists.alioth.debian.org>'.
Looking up dependencies of reportbug...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2233, in <module>
    main()
  File "/usr/bin/reportbug", line 1107, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1775, in user_interface
    utils.get_dependency_info(package, recommends, "recommends") +
  File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 662, in get_dependency_info
    for info in get_package_info(dependencies):
  File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 597, in get_package_info
    for p in packinfo:
  File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 474, in __next__
    line = self.fp.readline()
  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3546: ordinal not in range(128)

This is also a regression. Perhaps related...

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Reportbug-maint mailing list