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

Sandro Tosi morph at debian.org
Fri Jan 6 15:26:08 UTC 2017


control: severity -1 normal

On Thu, Jan 5, 2017 at 3:56 PM, Dominik George <nik at naturalnet.de> wrote:
> Package: reportbug
> Version: 7.1.2
> Severity: grave
> Justification: causes non-serious data loss

severity greatly overstated: you're not losing any data

>
> -----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'

we'll look into that, thx for the report

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi



More information about the Reportbug-maint mailing list