Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Archive group broken since very recently
Date: Thu, 16 Sep 2010 10:21:49 +0900	[thread overview]
Message-ID: <b4meicujxea.fsf@jpl.org> (raw)
In-Reply-To: <201009151804.11061.tassilo@member.fsf.org>

Tassilo Horn wrote:
> I use the gnus version that comes with emacs 24 from bzr.  Since my last
> update, my archive group is broken.  The definition is as follows:

> (setq gnus-update-message-archive-method t
>       gnus-message-archive-method
>       `(nnml "archive"
>              (nnml-inhibit-expiry t)
>              (nnml-get-new-mail   nil)
>              (nnml-directory      ,(expand-file-name "archive" gnus-directory))
>              (nnml-active-file    ,(expand-file-name
> 				    "active"
> 				    (expand-file-name "archive" gnus-directory)))))

I tried this but couldn't reproduce such a problem.
(The archive method I usually use is `(nnml "")'.)

> When posting to some group, it seems the message is correctly saved.  At
> least that's in *Messages*:

> Wrote /home/horn/.gnus.d/News/archive/sent-postings/762
> 20100915T175512.137> Opening nnml server on archive+nnml+archive:sent-postings...
> 20100915T175512.137> Opening nnml server on archive+nnml+archive:sent-postings...done
> Sending...done

I got:

Sending...
Sending news via NewsServer using nntp...
20100916T094357.843> Opening nnml server on archive...
20100916T094357.844> Opening nnml server on archive...done
                                            ^^^^^^^
Wrote /home/yamaoka/News/archive/sent-news/12
Sending...done

Note that the server name appearing here should be the cadr of
gnus-message-archive-method, i.e. "archive".

> But I cannot enter the archive group (nnml+archive:sent-postings)
> anymore.  RET RET on it gives:

> 20100915T180005.759> Retrieving newsgroup: nnml+archive:sent-postings...
> 20100915T180006.431> Fetching headers for nnml+archive:sent-postings...
> 20100915T180006.433> nnml: Receiving headers... 2%
[...]
> 20100915T180006.479> nnml: Receiving headers... 99%
> 20100915T180006.480> nnml: Receiving headers...done
> 20100915T180006.481> Fetching headers for nnml+archive:sent-postings...done
[...]

This looks like the file
/home/horn/.gnus.d/News/archive/sent-postings/.overview is missing.
This may help:

M-x nnml-generate-nov-databases-directory RET
~/.gnus.d/News/archive/sent-postings RET

> And to make things even more strange, there are now several archive
> servers in the server buffer!

>      {nnml:archive} (opened)
>      {nnml:archive} (opened)
>      {nnml:archive+nnml+archive:sent-postings} (opened)
>      {nntp:Uni} (opened) (agent)
>      {nntp:Gmane} (opened) (agent)
>      {nntp:Eclipse} (opened) (agent)
[...]

IIUC the archive server should be only one.  How about trying
removal of useless servers?  To do that for example:

(let (archive)
  (while (setq archive (assoc "archive" gnus-server-alist))
    (setq gnus-server-alist (delq archive gnus-server-alist)))
  (push (cons "archive" gnus-message-archive-method)
	gnus-server-alist))

This should be done while Gnus is running.



  reply	other threads:[~2010-09-16  1:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15 16:04 Tassilo Horn
2010-09-16  1:21 ` Katsumi Yamaoka [this message]
2010-09-16 10:26   ` Tassilo Horn
2010-09-16 18:00     ` Lars Magne Ingebrigtsen
2010-09-16 19:03       ` Tassilo Horn
2010-09-17  1:25         ` Lars Magne Ingebrigtsen
2010-09-17  8:09           ` Tassilo Horn
2010-09-17 15:51             ` Lars Magne Ingebrigtsen
2010-09-17 18:40               ` Tassilo Horn
2010-09-17 19:13                 ` Lars Magne Ingebrigtsen
2010-09-17 19:17                   ` Tassilo Horn
2010-09-17 19:24                     ` Lars Magne Ingebrigtsen
2010-09-17 21:57                       ` Tassilo Horn
2010-09-18 17:16                         ` Lars Magne Ingebrigtsen
2010-09-19  8:24                           ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4meicujxea.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).