GNU bug report logs - #11941
24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc

Previous Next

Packages: gnus, emacs;

Reported by: Chong Yidong <cyd <at> gnu.org>

Date: Sat, 14 Jul 2012 05:35:02 UTC

Severity: normal

Tags: fixed

Found in version 24.1.50

Fixed in version 24.4

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11941 in the body.
You can then email your comments to 11941 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11941; Package emacs. (Sat, 14 Jul 2012 05:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 14 Jul 2012 05:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Sat, 14 Jul 2012 13:28:59 +0800
With latest trunk, I do this:

1. M-x debbugs-gnu-search RET [some search string] RET
2. [Move point to one of the entries in the *Emacs Bugs* buffer]
3. RET
4. In the ephemeral Gnus buffer, type `r' to reply to a message.
5. In the *unsent reply* buffer, type `C-c C-c' to send.

Debugger entered--Lisp error: (error "No such function: nnspool-request-create-group")
  signal(error ("No such function: nnspool-request-create-group"))
  error("No such function: %s" nnspool-request-create-group)
  gnus-get-function((nnspool "" (nnspool-active-file "/dev/null")) request-create-group)
  gnus-request-create-group("sent.2012-07" (nnspool "" (nnspool-active-file "/dev/null")))
  gnus-inews-do-gcc()
  run-hooks(message-sent-hook)
  message-send(nil)
  message-send-and-exit(nil)

The message still gets delivered, so only the gcc seems to be failing.
I guess something in Gnus has changed.

Note that any fix committed to the debbug-gnus package should continue
to work with Emacs 24.1.


In GNU Emacs 24.1.50.10 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
 of 2012-07-14 on ulysses
Bzr revision: 109085 cyd <at> gnu.org-20120714021907-0txw01oym3aoqrwt




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11941; Package emacs. (Tue, 17 Jul 2012 10:37:02 GMT) Full text and rfc822 format available.

Message #8 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Tue, 17 Jul 2012 12:22:36 +0200
Chong Yidong <cyd <at> gnu.org> writes:

package 11941 emacs,gnus
thanks

> With latest trunk, I do this:
>
> 1. M-x debbugs-gnu-search RET [some search string] RET
> 2. [Move point to one of the entries in the *Emacs Bugs* buffer]
> 3. RET
> 4. In the ephemeral Gnus buffer, type `r' to reply to a message.
> 5. In the *unsent reply* buffer, type `C-c C-c' to send.
>
> Debugger entered--Lisp error: (error "No such function: nnspool-request-create-group")
>   signal(error ("No such function: nnspool-request-create-group"))
>   error("No such function: %s" nnspool-request-create-group)
>   gnus-get-function((nnspool "" (nnspool-active-file "/dev/null")) request-create-group)
>   gnus-request-create-group("sent.2012-07" (nnspool "" (nnspool-active-file "/dev/null")))
>   gnus-inews-do-gcc()
>   run-hooks(message-sent-hook)
>   message-send(nil)
>   message-send-and-exit(nil)
>
> The message still gets delivered, so only the gcc seems to be failing.
> I guess something in Gnus has changed.

This does not look like a debbugs-gnu bug. I suspect rather a gnus
problem.

I've added the "gnus" package to the report. This might increase the
visibility for the gnus maintainers :-)

Best regards, Miuchael.




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Sun, 29 Jul 2012 23:14:01 GMT) Full text and rfc822 format available.

Message #11 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Chong Yidong <cyd <at> gnu.org>, 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Sun, 29 Jul 2012 19:06:08 -0400
Michael Albinus wrote:

> package 11941 emacs,gnus
> thanks

You want "reassign" not "package", and must send such commands to the
control server. (And it only affects bug comments from that point
onwards.)

> This does not look like a debbugs-gnu bug. I suspect rather a gnus
> problem.
>
> I've added the "gnus" package to the report. This might increase the
> visibility for the gnus maintainers :-)




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Tue, 31 Jul 2012 07:55:01 GMT) Full text and rfc822 format available.

Message #14 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Chong Yidong <cyd <at> gnu.org>, 11941 <at> debbugs.gnu.org, help-debbugs <at> gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Tue, 31 Jul 2012 09:47:23 +0200
Glenn Morris <rgm <at> gnu.org> writes:

>> package 11941 emacs,gnus
>> thanks
>
> You want "reassign" not "package", and must send such commands to the
> control server. (And it only affects bug comments from that point
> onwards.)

Thanks for fixing this.

I've used blindly the control message template what I've got by accessing
<http://debbugs.gnu.org/11941;mboxmaint=yes;mboxstat=yes>. This proposes

package 11941 emacs,gnus

which seems to be wrong. Could you fix it on the server?

Sending to the wrong address is my own error, I haven't found an
excuse. Sorry for that.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Wed, 05 Sep 2012 19:08:02 GMT) Full text and rfc822 format available.

Message #17 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Wed, 05 Sep 2012 21:06:42 +0200
Chong Yidong <cyd <at> gnu.org> writes:

>   gnus-get-function((nnspool "" (nnspool-active-file "/dev/null")) request-create-group)
>   gnus-request-create-group("sent.2012-07" (nnspool "" (nnspool-active-file "/dev/null")))
>   gnus-inews-do-gcc()

Looking at the code, it seems likely that

(gnus-inews-group-method "sent.2012-07")

returns nnspool instead of the real backend you wanted to use, for some
reason or other.  Is that correct?

Or perhaps it only returns that if the group doesn't exist at all.  What
does the following return?

(gnus-inews-group-method "sent.2012-07.no-such-group")

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Wed, 05 Sep 2012 19:09:02 GMT) Full text and rfc822 format available.

Message #20 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Wed, 05 Sep 2012 21:08:06 +0200
Hm.  Come to think of it, that Gcc header should have been something
like

nnfolder+archive:sent.2012w36

and not just the shorter form.  What does your Gcc header look like when
responding from a debbugs group?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Thu, 06 Sep 2012 04:09:01 GMT) Full text and rfc822 format available.

Message #23 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Thu, 06 Sep 2012 12:07:56 +0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Hm.  Come to think of it, that Gcc header should have been something
> like
>
> nnfolder+archive:sent.2012w36
>
> and not just the shorter form.  What does your Gcc header look like when
> responding from a debbugs group?

Gcc: sent.2012-09

> What does the following return?
>
> (gnus-inews-group-method "sent.2012-07.no-such-group")

(nnspool "" (nnspool-active-file "/dev/null"))




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Thu, 06 Sep 2012 14:13:01 GMT) Full text and rfc822 format available.

Message #26 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Thu, 06 Sep 2012 16:11:50 +0200
Chong Yidong <cyd <at> gnu.org> writes:

>> and not just the shorter form.  What does your Gcc header look like when
>> responding from a debbugs group?
>
> Gcc: sent.2012-09

Right.  That's the error.  Does your Gcc header look like this in all
groups?  It should look something like "nnfolder+archive:sent.2012-09".

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Fri, 07 Sep 2012 04:28:02 GMT) Full text and rfc822 format available.

Message #29 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Fri, 07 Sep 2012 12:26:47 +0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>>> and not just the shorter form.  What does your Gcc header look like when
>>> responding from a debbugs group?
>>
>> Gcc: sent.2012-09
>
> Right.  That's the error.  Does your Gcc header look like this in all
> groups?  It should look something like "nnfolder+archive:sent.2012-09".

When I reply to you via Gnus, the Gcc header is

  Gcc: nnfolder+archive:sent.2012-09

Similarly, on Emacs 24.2 when I respond from a debbugs group, the Gcc
header is also

  Gcc: nnfolder+archive:sent.2012-09

On trunk, when I respond from a debbugs group, the Gcc header is the
faulty one given above.




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Tue, 25 Dec 2012 17:30:02 GMT) Full text and rfc822 format available.

Message #32 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Tue, 25 Dec 2012 18:28:03 +0100
Chong Yidong <cyd <at> gnu.org> writes:

> When I reply to you via Gnus, the Gcc header is
>
>   Gcc: nnfolder+archive:sent.2012-09
>
> Similarly, on Emacs 24.2 when I respond from a debbugs group, the Gcc
> header is also
>
>   Gcc: nnfolder+archive:sent.2012-09
>
> On trunk, when I respond from a debbugs group, the Gcc header is the
> faulty one given above.

The Gcc header is inserted by `gnus-inews-insert-gcc'.  I've traced
through the function, and the following form is the one evaluated to
insert the group name.

(gnus-group-prefixed-name "sent.2012-09" gnus-message-archive-method)

What does it eval to for you?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Wed, 26 Dec 2012 02:49:02 GMT) Full text and rfc822 format available.

Message #35 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Wed, 26 Dec 2012 10:47:53 +0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> Similarly, on Emacs 24.2 when I respond from a debbugs group, the Gcc
>> header is also
>>
>>   Gcc: nnfolder+archive:sent.2012-09
>>
>> On trunk, when I respond from a debbugs group, the Gcc header is the
>> faulty one given above.
>
> The Gcc header is inserted by `gnus-inews-insert-gcc'.  I've traced
> through the function, and the following form is the one evaluated to
> insert the group name.
>
> (gnus-group-prefixed-name "sent.2012-09" gnus-message-archive-method)
>
> What does it eval to for you?

Evaluating this in the (Message mode) reply buffer, evaluating the above
gives "sent.2012-09".  Evaluating `gnus-message-archive-method' gives
"archive".  Looking through the `gnus-group-prefixed-name' function, I
see that this happens because

(gnus-server-to-method "archive")

returns nil.  Perhaps because some part of Gnus has not been
initialized?  (I did not run M-x gnus before using debbug-gnus.)

Am I to understand that you can't reproduce this?  It is 100%
reproducible for me.





Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Wed, 26 Dec 2012 13:27:02 GMT) Full text and rfc822 format available.

Message #38 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Wed, 26 Dec 2012 14:25:11 +0100
Chong Yidong <cyd <at> gnu.org> writes:

> (gnus-server-to-method "archive")
>
> returns nil.  Perhaps because some part of Gnus has not been
> initialized?  (I did not run M-x gnus before using debbug-gnus.)

Oh, I see.  I somehow missed that Gnus wasn't running.

I'm able to reproduce this now.  However, I'm not sure how to fix this.
Even if the right Gcc line were inserted, no message would be stored on
the backend, because Gnus sets up all that stuff during startup.  For
instance, if we're storing on IMAP (which is pretty common these days),
Gnus kinda really has to go through the startup process to find out how
to contact the IMAP server.

So I think the right fix here is to not insert a Gcc header at all if
Gnus isn't running.

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#11941; Package emacs,gnus. (Mon, 31 Dec 2012 17:05:01 GMT) Full text and rfc822 format available.

Message #41 received at 11941 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 11941 <at> debbugs.gnu.org
Subject: Re: bug#11941: 24.1.50; Error in debbugs-gnu with gnus-inews-do-gcc
Date: Mon, 31 Dec 2012 18:02:38 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> So I think the right fix here is to not insert a Gcc header at all if
> Gnus isn't running.

I've now done this.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 31 Dec 2012 17:05:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.4, send any further explanations to 11941 <at> debbugs.gnu.org and Chong Yidong <cyd <at> gnu.org> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 31 Dec 2012 17:05:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Jan 2013 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 196 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.