[Reportbug-maint] Bug#864789: reportbug fails to search while submitting but against wnpp; UTF8 issues?

Don Armstrong don at debian.org
Wed Jun 14 20:30:12 UTC 2017

Package: reportbug
Severity: normal
Control: submitter -1 Ian A Mason <iam at csl.sri.com>

Ian messaged owner@ with the following issue:

On Wed, 14 Jun 2017, Ian A Mason wrote:
> So I am trying to submit an ITP against WNPP in order to start the
> mentoring process. I have tried to use reportbug on both a jessie
> machine and an ubuntu 14.04 machine. In both case reportbug throws a
> python exception.


> reportbug -B debian
> Please enter the name of the package in which you have found a problem, or
> type
> 'other' to report a more general problem.
> > wnpp
> Are you sure you want to file a WNPP report? [y|N|q|?]? y
> *** Welcome to reportbug.  Use ? for help at prompts. ***
> Note: bug reports are publicly archived (including the email address of the
> submitter).
> Detected character set: UTF-8
> Please change your locale if this is incorrect.
> Using '"Ian A. Mason" <iam at csl.sri.com>' as your from address.
> Will send report to Debian (per request).
> What sort of request is this? (If none of these things mean anything to you,
> or
> you are trying to report a bug in an existing package, please press Enter to
> exit reportbug.)
> 1 ITP  This is an `Intent To Package'. Please submit a package description
>        along with copyright and URL in such a report.
> 2 O    The package has been `Orphaned'. It needs a new maintainer as soon as
>        possible.
> 3 RFA  This is a `Request for Adoption'. Due to lack of time, resources,
>        interest or something similar, the current maintainer is asking for
>        someone else to maintain this package. They will maintain it in the
>        meantime, but perhaps not in the best possible way. In short: the
>        package needs a new maintainer.
> 4 RFH  This is a `Request For Help'. The current maintainer wants to
> continue
>        to maintain this package, but they needs some help to do this,
> because
>        their time is limited or the package is quite big and needs several
>        maintainers.
> 5 RFP  This is a `Request For Package'. You have found an interesting piece
> of
>        software and would like someone else to maintain it for Debian.
> Please
>        submit a package description along with copyright and URL in such a
>        report.
> Choose the request type: 1
> Please enter the proposed package name: yices2
> Checking status database...
> Please briefly describe this package; this should be an appropriate short
> description for the eventual package:
> > Yices2 is SRI International's SMT Solver.
> Your report will be carbon-copied to debian-devel, per Debian policy.
> Querying Debian BTS for reports on wnpp (source)...
> Traceback (most recent call last):
>   File "/usr/bin/reportbug", line 2217, in <module>
>     main()
>   File "/usr/bin/reportbug", line 1079, in main
>     return iface.user_interface()
>   File "/usr/bin/reportbug", line 1709, in user_interface
>     latest_first=self.options.latest_first)
>   File "/usr/lib/pymodules/python2.7/reportbug/ui/text_ui.py", line 517, in
> handle_bts_query
>     source=source, http_proxy=http_proxy, archived=archived)
>   File "/usr/lib/pymodules/python2.7/reportbug/debbugs.py", line 1276, in
> get_reports
>     stats = debianbts.get_status(bugs)
>   File "/usr/lib/pymodules/python2.7/debianbts.py", line 184, in get_status
>     bugs.extend(parse(reply))
>   File "/usr/lib/pymodules/python2.7/debianbts.py", line 176, in parse
>     return [_parse_status(elem) for elem in reply[0]]
>   File "/usr/lib/pymodules/python2.7/debianbts.py", line 265, in
> _parse_status
>     bug.owner = _uc(tmp['owner'])
>   File "/usr/lib/pymodules/python2.7/debianbts.py", line 294, in _uc
>     return unicode(string, 'utf-8', 'replace')
> TypeError: coercing to Unicode: need string or buffer, int found

Thanks for checking this out; let me know if there's something I can do
to clarify.

Don Armstrong                      https://www.donarmstrong.com

Certainly the game is rigged. Don't let that stop you. If you don't
bet, you can't win.
 -- Robert Heinlein _Time Enough For Love_ p240

More information about the Reportbug-maint mailing list