[Reportbug-maint] Bug#496210: reportbug crached after severity level question when used for the first time.

nathael nathael at nathael.net
Sat Aug 23 13:22:54 UTC 2008


Package: reportbug
Version: 3.45

Hi!

Architecture: armel

Trying to fill in a bug for the first time using reportbug:

root at drzmoko:~# reportbug libsasl2-2 --body-file=body_bug 
--email=nathael at nathael.net
Warning: no reportbug configuration found.  Proceeding in novice mode.
Running 'reportbug' as root is probably insecure! Continue [y|N|q|?]? y
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'root <nathael at nathael.net>' as your from address.
Getting status for libsasl2-2...
Checking for newer versions at packages.debian.org...
Querying Debian BTS for reports on cyrus-sasl2 (source)...
19 bug reports found:
[....]
(1-19/19) Is the bug you found listed above [y|N|m|r|q|s|f|?]?
Maintainer for libsasl2-2 is 'Debian Cyrus SASL Team 
<pkg-cyrus-sasl2-debian-devel at lists.alioth.debian.org>'.
Looking up dependencies of libsasl2-2...

Please briefly describe your problem (you can elaborate in a moment; an empty 
response will stop reportbug). This will be the bug email subject, so
write a concise summary of what is wrong with the package, for example, "fails 
to send email" or "does not start with -q option specified."
 > Package description misses a space at the begining of a line, causing "dpkg 
-l" to fail.
Rewriting subject to 'libsasl2-2: Package description misses a space at the 
begining of a line, causing "dpkg -l" to fail.'
How would you rate the severity of this problem or report?

[....]

Please select a severity level: [normal]
Traceback (most recent call last):
   File "/usr/bin/reportbug", line 1827, in <module>
     main()
   File "/usr/bin/reportbug", line 850, in main
     return iface.user_interface()
   File "/usr/bin/reportbug", line 1728, in user_interface
     klass, subject, tags, body, mode, pseudos)
   File "/usr/share/reportbug/reportbuglib/reportbug.py", line 753, in 
generate_blank_report
     body = NEWBIELINE+u'\n\n'+body
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 288: 
ordinal not in range(128)
root at drzmoko:~#



here is the content of the file "body_bug" :
/-----------
Package: libsasl2-2
Status: install ok installed
Architecture: armel
Source: cyrus-sasl2
Version: 2.1.22.dfsg1-22
Replaces: libsasl2

Hi!

Here is a small problem with this package (Or I think it comes from the package)

# dpkg -l
dpkg-query: erreur d'analyse syntaxique, dans le fichier « /var/lib/dpkg/status 
» près de la ligne 1760 paquet « libsasl2-2 »:
  le nom de champ « suse » doit être suivi de deux points (:)

In english it says that the field "suse" should be followed by ':'
but in fact there's a space missing at the beginning of the line.

In the Description:
   .
   Any of: ANONYMOUS, CRAM-MD5, DIGEST-MD5, GSSAPI (MIT or Heimdal
   Kerberos 5), NTLM, OTP, PLAIN, or LOGIN can be used. If you intend to
-suse this package on a server that provides SASL authentication, then
+ suse this package on a server that provides SASL authentication, then
   you must install some of the libsasl2-modules* packages.
  Homepage: http://asg.web.cmu.edu/sasl/sasl-library.html


Thanks.
Have fun
/-----------







More information about the Reportbug-maint mailing list