[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#972148: marked as done (/usr/lib/python3/dist-packages/reportbug/debbugs.py: Crashes: TypeError: not all arguments converted during string formatting)



Your message dated Tue, 27 Oct 2020 20:39:37 +0000
with message-id <E1kXVkn-000ABi-UC@fasolo.debian.org>
and subject line Bug#964987: fixed in reportbug 7.8.0
has caused the Debian Bug report #964987,
regarding /usr/lib/python3/dist-packages/reportbug/debbugs.py: Crashes: TypeError: not all arguments converted during string formatting
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 owner@bugs.debian.org
immediately.)


-- 
964987: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964987
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python3-reportbug
Version: 7.7.0
Severity: normal
File: /usr/lib/python3/dist-packages/reportbug/debbugs.py

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

reportbug crashes when I try to send a report to release.debian.org

$ reportbug release.debian.org
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Craig Small <csmall@debian.org>' 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 binnmu      binNMU requests
2 britney     testing migration script bugs
3 buster-pu   buster proposed updates requests
4 other       None of the other options
5 rm          Stable/Testing removal requests
6 stretch-pu  stretch proposed updates requests
7 transition  transition tracking
8 unblock     unblock requests

Choose the request type: 3
Please enter the name of the package: net-snmp
Checking status database...
Latest version seems to be 5.7.3+dfsg-5+deb10u1, is this the proper one ? [Y|n|?]? 
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2302, in <module>
    main()
  File "/usr/bin/reportbug", line 1107, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1709, in user_interface
    res = special_prompts(package, bts, ui, fromaddr,
  File "/usr/bin/reportbug", line 531, in special_prompts
    return pkgprompts(package, bts, ui, fromaddr, timeout, online, http_proxy)
  File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 613, in handle_debian_release
    body = textwrap.dedent("""\
TypeError: not all arguments converted during string formatting

The issue is line 644 of /usr/lib/python3/dist-packages/reportbug/debbugs.py where there is:
                """ % (package, package, version))
This should be:
                """)
 
It seems to work with this change.

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

Kernel: Linux 5.8.0-3-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-reportbug depends on:
ii  apt                2.1.10
ii  file               1:5.38-5
ii  python3            3.8.2-3
ii  python3-apt        2.1.3
ii  python3-debian     0.1.38
ii  python3-debianbts  3.0.2
ii  python3-requests   2.23.0+dfsg-2
ii  sensible-utils     0.0.12+nmu1

python3-reportbug recommends no packages.

Versions of packages python3-reportbug suggests:
ii  reportbug  7.7.0

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEXT3w9TizJ8CqeneiAiFmwP88hOMFAl+FeU8SHGNzbWFsbEBk
ZWJpYW4ub3JnAAoJEAIhZsD/PITjb5IP/iSl0gn/oWoqYRVbZbS3EuZgEzJmnL45
lIMkmSoLNwvI8ZGDu9vJ5r9ssI93pY5saS7nbLMmDeQg94ekRZlLp+UdykmdbMia
Dav3FmJsFR8pa9oOnAPGgUi5OMAJLBAEEIUG4ZDO6bRNQUATc7atRCQ04jbZl9q4
gYps81UGTs7WEcuUO/ZpTBUMy4bkwV4h9dGdr4OAl1AyB/rTX5WZRDsn45PAExxu
yQGccfmBEeOg8OASwieJE2fvJs/mK5ZRCqfxgaeaEENIjSEuXdTKE7ZgTmbTPXBK
HQZ/dVlUnc2KUIR/n6/H6z3E+ur2wcZYDDcBgNRo9eZ5VFl6J8RkgeaD3Y0z6nsE
gFH56QyBpDyL4xH+tZvWM6yaZFPjb4NTyfuUyGQTVpOeKl8Xm8R1u47G84t+GBsx
/nfcTH77lLmN7Li48A+ERgY17887LeVfxALA9/uQaPBvy7MhjgRXKOLWjLqpY+Ce
8UfD/1ohkeDKDz8aIAWS1keXg7wwXN0FpDVO74N9J9azAPscCkxbGXbFcIA/PMaK
9Wm4bC8LQYA2G/Px+tAd/LHJUvJ0lzaSvf3wQVxqp+G8qKXFGLWKLRcwEPDIXW5O
KhMaS8MKAZFtjToh+Hcl74DfhjKbQU9pS6zMQrQOpYEJzjK7C1UN+/BaKXvEwhH9
KeXIjFG4uvYK
=zUGM
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Source: reportbug
Source-Version: 7.8.0
Done: Nis Martensen <nis.martensen@web.de>

We believe that the bug you reported is fixed in the latest version of
reportbug, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 964987@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nis Martensen <nis.martensen@web.de> (supplier of updated reportbug package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 25 Oct 2020 09:21:16 +0100
Source: reportbug
Architecture: source
Version: 7.8.0
Distribution: unstable
Urgency: medium
Maintainer: Reportbug Maintainers <debian-reportbug@lists.debian.org>
Changed-By: Nis Martensen <nis.martensen@web.de>
Closes: 717563 877850 964846 964987 965977 966480 968096
Changes:
 reportbug (7.8.0) unstable; urgency=medium
 .
   [ Anuradha Weeraman ]
   * reportbug/debbugs.py: Fix crash with stable-pu update request
     (Closes: #964987)
 .
   [ Nis Martensen ]
   * mailer.py,submit.py: only run MUA in terminal if needed (Closes: #964846)
   * reportbug/submit.py: use message_from_binary_file to attach messages
     (Closes: #966480)
   * bin/reportbug:
     - use raw string for regexp
     - do not submit without pseudoheaders
     - Fix crash in offer_configuration (Closes: #965977)
     - drop empty recipients from listcc
     - Warn that X-Debbugs-Cc via headers are now unreliable
   * man/reportbug.conf.5: fix bts help hint
   * man/*: updates for list-cc* and headers
   * reportbug/ui/gtk_ui.py:
     - editor: fix report split
     - Make pseudoheaders editable in Editor
     - Update empty buffer string
     - Always set window title
     - switch editor: TextView → SourceView
     - editor: do not rewrap pseudoheaders
     - Editor: show other buffer in monospace font
     - fix GetListPage
     - fix crash in _get_multiline
     - show "Thanks" in message, not in title
   * debian/control:
     - update package description
     - add dependency on gir1.2-gtksource-3.0
   * reportbug/bugreport.py: add second newline to empty body
   * reportbug/utils.py:
     - get_init_system: detect OpenRC (Closes: #968096)
     - fix test failure in get_init_system
   * test/test_utils.py: fix test_get_init_system
   * bin/reportbug, reportbug/urlutils.py: fix proxy support
     (Closes: #717563, #877850)
   * New release
Checksums-Sha1:
 c0a97d1eadc1ae45dc022f1bea79f118f9ac1a1b 1860 reportbug_7.8.0.dsc
 3acf0a5e1948da3054ba177ac83ace9697b7953d 200200 reportbug_7.8.0.tar.xz
 0eff32df1907353823095ba9bb53e1b9de03a604 7684 reportbug_7.8.0_amd64.buildinfo
Checksums-Sha256:
 64e6c43172a76f203ba3f1f42cd45022c923f1b03bcab6fbae972af9777c987f 1860 reportbug_7.8.0.dsc
 f1d0052c2b607f05107c0035e95df1cfdb3b1a109dea50b8fe5c422aead0fd14 200200 reportbug_7.8.0.tar.xz
 30472c315538838ee5f20e971cab7f8abfbb5003826fec2e95ac4b5942aecad0 7684 reportbug_7.8.0_amd64.buildinfo
Files:
 75f461faa146e113a0cccc671d728ed7 1860 utils standard reportbug_7.8.0.dsc
 64545839e2b54c9a67883a3edc37aa96 200200 utils standard reportbug_7.8.0.tar.xz
 6aa93308dfab138e56afb6c85cf1665a 7684 utils standard reportbug_7.8.0_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEElwagcOR0bw2C8YAgINUE/crqn1AFAl+Yel0ACgkQINUE/crq
n1AtuxAAo3bZjjHbhTaqRFvM+s5lI9DGNQUSx1zyd35RnN81ZUqV+1Zf3DD4KJzF
8WxDdFZ+EfW1QYAW6jAeXpVk9iwdk27s27TxEwe8qRnnskKXkDBCfA2d0eU7x5sD
BMzhBjrlkd07x/h2nMnIiYRI9eEy56S5daeyLDYYKygSX0tfw4iT9sUZhhLb6D8e
etZvBgBO9y8icVj7iLQfEcQiicfKHxz1vP8r8qdzDZX+8x8eWxx7uLBSkQ5TqLtU
IG9DA09080xmkK9q4+IsKVdNvN3798oXbxb7mXFSXM5mR9ZpsQcUrnlk3CHwoPtE
vkmZrZ2MN9J2j0gJvenr9oKNDPeyyHtjVNCEF5t5ZrimfTBlyta77q5ZOwQbP2+b
RMxDs7VxmbVzVC7fr1ml/NVzjXJzN/TdP8ar+DRUhKU4UadT/AgWitWgECkgfudS
qZ+KjPvTG7oBLcc3eFoAy5fUBTj4UUmzq7SlTHXyQvq3lfRJ8z8fplCX3sNOA12I
ve+tpaDZXqlcPAHfyFid0xractxkuHjO39nmMu6fCFy7MkkUu88N7wGb/EoLYQHt
MirXgZ10bLBpzEAmR6Qi9HQctNR+0DhMY/UjGULBfw0YpX9f5eN4lBruqOpzUj0r
uk9sRvRJT4zFFmPchZLAmvuMOvNtBskukiG3PRcHp1N+wIyOwto=
=gacI
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: