Bug#695219: reportbug said Report has not been sent yet but it was sent

2012-12-05 Thread Vincent Lefevre
Package: reportbug
Version: 6.4.3
Severity: normal

After sending a bug report, I got:

Mutt users should be aware it is mandatory to edit the draft before sending.
Report has not been sent yet; what do you want to do now? [E|q|?]?

and thought that the bug report was not sent. So, I did 'E' and saw
an empty bug report, and then again I tought that the bug report
was lost! So, I started to write it again, until I saw the trace
in my mailbox.

This was the first time I got this problem.

-- Package-specific info:
** Environment settings:
EDITOR=emacs
VISUAL=emacs
EMAIL=vinc...@vinc17.net
INTERFACE=text

** /home/vlefevre/.reportbugrc:
reportbug_version 2.10
mode advanced
ui text
realname Vincent Lefevre
email vinc...@vinc17.net
mua mutt
cc

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

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt   0.9.7.6
ii  python2.7.3-3
ii  python-reportbug  6.4.3

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail none
pn  debconf-utils  none
ii  debsums2.0.52
ii  dlocate1.02
ii  emacs23-bin-common 23.4+1-4
ii  exim4  4.80-6
ii  exim4-daemon-light [mail-transport-agent]  4.80-6
ii  file   5.11-2
ii  gnupg  1.4.12-6
ii  python-gtk22.24.0-3
pn  python-gtkspellnone
pn  python-urwid   none
pn  python-vte none
ii  xdg-utils  1.1.0~rc1+git20111210-6

Versions of packages python-reportbug depends on:
ii  apt   0.9.7.6
ii  python2.7.3-3
ii  python-debian 0.1.21+nmu2
ii  python-debianbts  1.11
ii  python-support1.0.15

python-reportbug suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#695219: reportbug said Report has not been sent yet but it was sent

2012-12-05 Thread Vincent Lefevre
On 2012-12-05 16:32:11 +0100, Vincent Lefevre wrote:
 After sending a bug report, I got:
 
 Mutt users should be aware it is mandatory to edit the draft before sending.
 Report has not been sent yet; what do you want to do now? [E|q|?]?
 
 and thought that the bug report was not sent. So, I did 'E' and saw
 an empty bug report, and then again I tought that the bug report
 was lost! So, I started to write it again, until I saw the trace
 in my mailbox.
 
 This was the first time I got this problem.

I think I've found how to reproduce it. It occurs when:
  * the editor for Mutt is Emacs 24,
  * Emacs runs in the terminal (e.g. because X11 DISPLAY is not
available, but this can also be done with emacs -nw),
  * I type Ctrl-G in Emacs.

A Ctrl-G in Emacs 24 has the effect to send a SIGINT to the whole
process group (previous Emacs versions behave differently, and this
problem was fixed in the Emacs trunk[*]) since Emacs changes the
INTR character to Ctrl-G for internal use and doesn't put itself
in its own process group. Mutt itself is not affected and I could
check that it terminates normally, i.e. with a 0 exit status. So,
I suppose that reportbug can't handle the SIGINT gracefully. Or
it could be due to this dash bug:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683671

since a ps shows that reportbug runs Mutt via sh -c.

[*] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11886

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org