Bug#796435: reportbug fails on filing against wnpp

2015-08-29 Thread Sandro Tosi
control: reassign -1 python-debianbts

the crash happens in python-debianbts, reassigning this bug accordingly.

On Fri, Aug 21, 2015 at 9:24 PM, Sergei Ianovich s...@asutp.io wrote:
 Package: reportbug
 Version: 6.6.4
 Severity: important


 8
 sergei@host5:~$ reportbug wnpp
 *** 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 'Sergei Ianovich s...@asutp.io' as your from address.
 Will send report to Debian (per lsb_release).
 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 OThe 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
need 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: iojs
 Checking status database...
 Please briefly describe this package; this should be an appropriate short 
 description for the eventual package:
 evented I/O for V8 javascript
 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 2235, in module
 main()
   File /usr/bin/reportbug, line 1099, in main
 return iface.user_interface()
   File /usr/bin/reportbug, line 1721, in user_interface
 latest_first=self.options.latest_first)
   File /usr/lib/python2.7/dist-packages/reportbug/ui/text_ui.py, line 517, 
 in handle_bts_query
 source=source, http_proxy=http_proxy, archived=archived)
   File /usr/lib/python2.7/dist-packages/reportbug/debbugs.py, line 1289, in 
 get_reports
 stats = debianbts.get_status(bugs)
   File /usr/lib/python2.7/dist-packages/debianbts.py, line 211, in 
 get_status
 bugs.extend(parse(reply))
   File /usr/lib/python2.7/dist-packages/debianbts.py, line 199, in parse
 return [_parse_status(elem) for elem in reply[0]]
   File /usr/lib/python2.7/dist-packages/debianbts.py, line 291, in 
 _parse_status
 bug.owner = _uc(tmp['owner'])
   File /usr/lib/python2.7/dist-packages/debianbts.py, line 321, in _uc
 return unicode(string, 'utf-8', 'replace')
 TypeError: coercing to Unicode: need string or buffer, int found
 sergei@host5:~$
 8

 -- Package-specific info:
 ** Environment settings:
 INTERFACE=text

 ** /home/sergei/.reportbugrc:
 reportbug_version 6.6.4
 mode expert
 ui text
 smtphost smtp.yandex.ru
 smtpuser s...@asutp.io
 smtptls

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

 Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
 Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash
 Init: systemd (via /run/systemd/system)

 Versions of packages reportbug depends on:
 ii  apt   1.0.10.1
 ii  python2.7.9-1
 ii  python-reportbug  6.6.4
 pn  python:anynone

 reportbug recommends no packages.

 Versions of packages reportbug suggests:
 pn  claws-mail none
 ii  debconf-utils  1.5.57
 ii  debsums2.1.2
 pn  dlocatenone
 pn  emacs23-bin-common | emacs24-bin-commonnone
 ii  exim4  4.86-2
 ii  exim4-daemon-light [mail-transport-agent]  4.86-2
 ii  file   1:5.22+15-2
 ii  gnupg  1.4.19-5
 ii  python-gtk22.24.0-4
 pn  python-gtkspellnone
 pn  python-urwid   none
 ii  python-vte 1:0.28.2-5
 ii  xdg-utils  1.1.0~rc1+git20111210-7.4


Bug#796435: reportbug fails on filing against wnpp

2015-08-22 Thread Yao Wei
After digging debianbts.py a bit, I found that bug #792509 has Owner: -1
that python considers it a number.  It might be also a problem to the
bug tracker.


signature.asc
Description: Digital signature


Bug#796435: reportbug fails on filing against wnpp

2015-08-22 Thread Yao Wei
I workarounded the problem by wrapping str() on string in
debianbts.py:321. Hope it could be useful before real fix pushed into
repository.


signature.asc
Description: Digital signature


Bug#796435:

2015-08-21 Thread Jeremy Whiting
I just got the same errors here with both the text and the gtk ui.



Bug#796435: reportbug fails on filing against wnpp

2015-08-21 Thread Sergei Ianovich
Package: reportbug
Version: 6.6.4
Severity: important


8
sergei@host5:~$ reportbug wnpp
*** 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 'Sergei Ianovich s...@asutp.io' as your from address.
Will send report to Debian (per lsb_release).
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 OThe 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
   need 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: iojs
Checking status database...
Please briefly describe this package; this should be an appropriate short 
description for the eventual package:
 evented I/O for V8 javascript
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 2235, in module
main()
  File /usr/bin/reportbug, line 1099, in main
return iface.user_interface()
  File /usr/bin/reportbug, line 1721, in user_interface
latest_first=self.options.latest_first)
  File /usr/lib/python2.7/dist-packages/reportbug/ui/text_ui.py, line 517, in 
handle_bts_query
source=source, http_proxy=http_proxy, archived=archived)
  File /usr/lib/python2.7/dist-packages/reportbug/debbugs.py, line 1289, in 
get_reports
stats = debianbts.get_status(bugs)
  File /usr/lib/python2.7/dist-packages/debianbts.py, line 211, in get_status
bugs.extend(parse(reply))
  File /usr/lib/python2.7/dist-packages/debianbts.py, line 199, in parse
return [_parse_status(elem) for elem in reply[0]]
  File /usr/lib/python2.7/dist-packages/debianbts.py, line 291, in 
_parse_status
bug.owner = _uc(tmp['owner'])
  File /usr/lib/python2.7/dist-packages/debianbts.py, line 321, in _uc
return unicode(string, 'utf-8', 'replace')
TypeError: coercing to Unicode: need string or buffer, int found
sergei@host5:~$ 
8

-- Package-specific info:
** Environment settings:
INTERFACE=text

** /home/sergei/.reportbugrc:
reportbug_version 6.6.4
mode expert
ui text
smtphost smtp.yandex.ru
smtpuser s...@asutp.io
smtptls

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

Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages reportbug depends on:
ii  apt   1.0.10.1
ii  python2.7.9-1
ii  python-reportbug  6.6.4
pn  python:anynone

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail none
ii  debconf-utils  1.5.57
ii  debsums2.1.2
pn  dlocatenone
pn  emacs23-bin-common | emacs24-bin-commonnone
ii  exim4  4.86-2
ii  exim4-daemon-light [mail-transport-agent]  4.86-2
ii  file   1:5.22+15-2
ii  gnupg  1.4.19-5
ii  python-gtk22.24.0-4
pn  python-gtkspellnone
pn  python-urwid   none
ii  python-vte 1:0.28.2-5
ii  xdg-utils  1.1.0~rc1+git20111210-7.4

Versions of packages python-reportbug depends on:
ii  apt   1.0.10.1
ii  python-debian 0.1.27
ii  python-debianbts  1.14
pn  python:anynone

python-reportbug suggests no packages.

-- no debconf information