[Reportbug-maint] Bug#850317: reportbug: crashes when attaching a .tar.gz

Dominik George nik at naturalnet.de
Thu Jan 5 20:56:11 UTC 2017


Package: reportbug
Version: 7.1.2
Severity: grave
Justification: causes non-serious data loss

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

When attaching a gzip'ed tarball to a bug report, reportbug crashes
without writing the drafted bug report anywhere:

application/gzip; charset=binary

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 2224, in user_interface
    self.options.envelopefrom)
  File "/usr/lib/python3/dist-packages/reportbug/submit.py", line 209, in send_report
    (message, failed) = mime_attach(body, attachments, charset, body_charset)
  File "/usr/lib/python3/dist-packages/reportbug/submit.py", line 177, in mime_attach
    email.Encoders.encode_base64(part)
AttributeError: module 'email' has no attribute 'Encoders'

- -- Package-specific info:
** Environment settings:
EDITOR="jupp"
PAGER="less"
DEBEMAIL="nik at naturalnet.de"
DEBFULLNAME="Dominik George"
INTERFACE="text"

** /home/nik/.reportbugrc:
reportbug_version "6.4.3"
mode advanced
ui text
realname "Dominik George"
email "nik at naturalnet.de"
smtphost "shore.naturalnet.de:587"
smtpuser "nik"
smtptls

- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/lksh
Init: systemd (via /run/systemd/system)

Versions of packages reportbug depends on:
ii  apt                1.4~beta2
ii  python3-reportbug  7.1.2
pn  python3:any        <none>

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                      <none>
ii  debconf-utils                   1.5.59
pn  debsums                         <none>
pn  dlocate                         <none>
ii  emacs24-bin-common              24.5+1-7.1
ii  file                            1:5.29-2
ii  gir1.2-gtk-3.0                  3.22.5-1
ii  gir1.2-vte-2.91                 0.46.1-1
ii  gnupg                           2.1.17-2
ii  postfix [mail-transport-agent]  3.1.3-6
ii  python3-gi                      3.22.0-2
pn  python3-gtkspellcheck           <none>
pn  python3-urwid                   <none>
ii  xdg-utils                       1.1.1-1

Versions of packages python3-reportbug depends on:
ii  apt                1.4~beta2
ii  file               1:5.29-2
ii  python3-debian     0.1.29
ii  python3-debianbts  2.6.1
ii  python3-requests   2.12.4-1
pn  python3:any        <none>

python3-reportbug suggests no packages.

- -- no debconf information

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

iQJ4BAEBCABiFiEEPJ1UpHV1wCb7F/0mt5o8FqDE8pYFAlhususxGmh0dHBzOi8v
d3d3LmRvbWluaWstZ2VvcmdlLmRlL2dwZy1wb2xpY3kudHh0LmFzYxIcbmlrQG5h
dHVyYWxuZXQuZGUACgkQt5o8FqDE8pbruhAAhPRFobJ3P2swV99KSKB1Fwhk/NhW
0z1Jk3tFJEj7IqMkuemNzurWBfMOiOgyGqblPBzkaoAavrkMlI38isbpP/cBoI/4
4/q6T4Ou7DogHkXCeENm3C7JKfuLX7I0PLrZV4sWnasQxK5IFKLI5amc8vnipSmF
k1ls1MQrEe5nGA480Qqa19BXWxfkbVFIGndxKFFdMf+NtbuWk5FWdR7gbsB/Pz66
3hbinSuVUH166x3qAlSXheUPV3zWhhVNZ+CM++7ixqR7UA7khjn9peYDr8VWQQ6J
574tKH5Kw3467mw9HANFBoPuEqWA/xlnYFbmxVS3OVD1dKmUK1GFXlx1teZOcjK6
FAzCEIBWk6qUGsOXeglfhS2D6IHa9E6nQbT9GYeMRy/ApL71Xf8mu1eLNPPOFFem
m9B4yp4RXu4K1Xuhfn/zuIahRY85e+rZ0trtLjV8+/IQlzjPtbYvlR8von9ngYZ/
mG5QkpOWznHHmowvScPUoJMoGuNgDRanRO8HJFhf018VoEadfAaUWd7zMw49JdYj
IphpH/bedoCMqc6b+0kySLoD/npKivku50LQyg6bGMHuPX2c4Lb746/1+kU8RiI8
Ry6yTjtyAKVSVdKMKQhBxB08nPJ+OE9t7MIWDTfuw64wkhDl2X5AJKcIDyUsr01B
Gm6doB3yOAIZXC8=
=3Abt
-----END PGP SIGNATURE-----



More information about the Reportbug-maint mailing list