Package: reportbug
Version: 7.1.7
Severity: normal

Dear Maintainer,

while composing a bug-report, i wanted to type the paragraph symbol,
which was displayed with a trailing-space (using vi on a remote system),
which i consequently deleted (thus unknowingly turning the unicode character
into some garbage sequence).

after i finished the bugreport, i proceeded to send, at which point reportbug
crashed with a traceback:

~~~
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2234, in <module>
    main()
  File "/usr/bin/reportbug", line 1107, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 2150, in user_interface
    package, severity, mode, charset=charset, tags=tags)
  File "/usr/bin/reportbug", line 182, in handle_editing
    editor, charset)
  File "/usr/lib/python3/dist-packages/reportbug/ui/text_ui.py", line 1064, in 
spawn_editor
    newmessage = open(filename).read()
  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 912: 
ordinal not in range(128)
~~~

while one can argue that there shouldn't be garbage sequences in the report,
reportbug should under no circumstances crash because of this.
i think the proper response would be to print an error message an re-open the
report so the user can fix it.

luckily I could find the report text in /tmp.
i'm attaching it.

gmasdr
IOhannes

PS: this seems to be somewhat similar to #814454 (although the encoding problem 
happened
at a different stage)


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

** /home/noc/.reportbugrc:
reportbug_version "2.18"
mode standard
ui text
realname "IOhannes m zmoelnig"
email "n...@iem.at"

-- System Information:
Debian Release: 9.0
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C 
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages reportbug depends on:
ii  apt                1.4.6
ii  python3            3.5.3-1
ii  python3-reportbug  7.1.7

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                 <none>
pn  debconf-utils                              <none>
pn  debsums                                    <none>
pn  dlocate                                    <none>
pn  emacs24-bin-common | emacs25-bin-common    <none>
ii  exim4                                      4.89-2+deb9u1
ii  exim4-daemon-light [mail-transport-agent]  4.89-2+deb9u1
ii  file                                       1:5.30-1
pn  gir1.2-gtk-3.0                             <none>
pn  gir1.2-vte-2.91                            <none>
ii  gnupg                                      2.1.18-6
pn  python3-gi                                 <none>
pn  python3-gi-cairo                           <none>
pn  python3-gtkspellcheck                      <none>
pn  python3-urwid                              <none>
pn  xdg-utils                                  <none>

Versions of packages python3-reportbug depends on:
ii  apt                1.4.6
ii  file               1:5.30-1
ii  python3            3.5.3-1
ii  python3-debian     0.1.30
ii  python3-debianbts  2.6.1
ii  python3-requests   2.12.4-1

python3-reportbug suggests no packages.

-- no debconf information
Subject: fusiondirectory: maintainer address broken
Package: fusiondirectory
Version: 1.0.19-1
Severity: serious
Justification: Policy 3.3


the email address of fusiondirectory's maintainer is 
<packa...@lists.fusiondirectory.org>.
Unfortunately this mailinglist rejects mails from non-subscribers with
the following message:

On 2017-07-10 16:37, SYMPA wrote:
> Your message for list 'packages' (attached below) was rejected.
> You are not allowed to send this message for the following reason:
> 
>  Message distribution in the list is restricted to list subscribers.
> If you are subscribed to the list with a different email address, you
> should
> either use that other email address or update your list membership
> with the
> new email address.
> 
> 
> For further information, please contact packages-
> requ...@lists.fusiondirectory.org

this is a direct violation of the Debian policy, which states in Â3.3:
> The email address given in the Maintainer control field must accept
> mail from those role accounts in Debian used to send automated mails
> regarding the package.

please fix this issue.

gfmasdr
IOhannes


-- System Information:
Debian Release: 9.0
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C 
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fusiondirectory depends on:
ii  apache2 [httpd]                     2.4.25-3+deb9u1
ii  fusiondirectory-smarty3-acl-render  1.0.19-1
ii  gettext                             0.19.8.1-2
ii  javascript-common                   11
ii  libarchive-extract-perl             0.80-1
ii  libcrypt-cbc-perl                   2.33-1
ii  libfile-copy-recursive-perl         0.38-1
ii  libjs-prototype                     1.7.1-3
ii  libjs-scriptaculous                 1.9.0-2
ii  libnet-ldap-perl                    1:0.6500+dfsg-1
ii  libpath-class-perl                  0.37-1
ii  libperl5.24 [libdigest-sha-perl]    5.24.1-3
ii  libterm-readkey-perl                2.37-1
ii  libxml-twig-perl                    1:3.50-1
ii  openssl                             1.1.0f-3
ii  php                                 1:7.0+49
ii  php-cas                             1.3.3-4
ii  php-curl                            1:7.0+49
ii  php-fpdf                            3:1.8.1.dfsg-2
ii  php-gd                              1:7.0+49
ii  php-imagick                         3.4.3~rc2-2
ii  php-imap                            1:7.0+49
ii  php-ldap                            1:7.0+49
ii  php-recode                          1:7.0+49
ii  php7.0 [php]                        7.0.19-1
ii  php7.0-cli [php-cli]                7.0.19-1
ii  php7.0-curl [php-curl]              7.0.19-1
ii  php7.0-gd [php-gd]                  7.0.19-1
ii  php7.0-imap [php-imap]              7.0.19-1
ii  php7.0-ldap [php-ldap]              7.0.19-1
ii  php7.0-recode [php-recode]          7.0.19-1
ii  schema2ldif                         1.2-1
ii  smarty-gettext                      1.5.0-2
ii  smarty3                             3.1.31+20161214.1.c7d42e4+selfpack1-2

fusiondirectory recommends no packages.

Versions of packages fusiondirectory suggests:
pn  argonaut-server         <none>
ii  fusiondirectory-schema  1.0.19-1
ii  slapd                   2.4.44+dfsg-5

-- Configuration Files:
/etc/fusiondirectory/fusiondirectory-apache.conf changed [not included]

-- no debconf information

Reply via email to