From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87294 Path: news.gmane.org!.POSTED!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.gnus.general Subject: Re: broken cache causes wrong-type-argument error when selecting an nnimap group Date: Wed, 05 Oct 2016 18:38:49 +0200 Message-ID: <87int6lpie.fsf@gmail.com> References: <877faq4aod.fsf@tsuchiya.vaj.namazu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1475688922 11695 195.159.176.226 (5 Oct 2016 17:35:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2016 17:35:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+M35514@lists.math.uh.edu Wed Oct 05 19:35:18 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brq5s-000177-HT for ding-account@gmane.org; Wed, 05 Oct 2016 19:35:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.87) (envelope-from ) id 1brq5E-0005De-Og; Wed, 05 Oct 2016 12:34:20 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1brpEG-0004md-9N for ding@lists.math.uh.edu; Wed, 05 Oct 2016 11:39:36 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.87) (envelope-from ) id 1brpEE-0004pl-Oh for ding@lists.math.uh.edu; Wed, 05 Oct 2016 11:39:36 -0500 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1brpED-0001Oi-BE for ding@gnus.org; Wed, 05 Oct 2016 18:39:33 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1brpE1-0001YC-2e for ding@gnus.org; Wed, 05 Oct 2016 18:39:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 64 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:Gl+C9hyOg+Dwvyn/597JDqRHBOo= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87294 Archived-At: TSUCHIYA Masatoshi writes: Hi, > I saw the following error message when selecting an nnimap group. > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) > gnus-sorted-difference((1928 1929 1930 ...)) > gnus-select-newsgroup("admin.moderator" t nil) > gnus-summary-read-group-1("admin.moderator" t nil nil nil nil) > gnus-summary-read-group("admin.moderator" t nil nil nil nil nil) > gnus-group-read-group(nil) > call-interactively(gnus-group-read-group nil nil) > command-execute(gnus-group-read-group) > > I think this problem is caused by broken cached headers, because the > attached ad-hoc patch to remove broken cached headers resolves this > problem. Therefore, if I can remove broken cached headers, the attached > patch is unnecessary. > > The problem is that I cannot find the location where the cache is saved. > I have already searched ~/.emacs.d/, ~/.newsrc.eld and the directory > specified by `gnus-cache-directory'. However, I cannot find it. > > Could you give an advise to me? I see a similar error when I try to mark all groups as read: ,---- | Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) | gnus-sequence-of-unread-articles("nnimap+xyz:INBOX") | gnus-group-catchup("nnimap+xyz:INBOX" nil) | gnus-group-catchup-current(nil) | funcall-interactively(gnus-group-catchup-current nil) | call-interactively(gnus-group-catchup-current) | gnus-topic-catchup-articles(nil) | funcall-interactively(gnus-topic-catchup-articles nil) | call-interactively(gnus-topic-catchup-articles nil nil) | command-execute(gnus-topic-catchup-articles) `---- and access to my nnimap (google) accounts does not work anymore (access denied) since yesterday, although I already updated Emacs some days before and it worked. The only thing that changed is underlying Archlinux, since I updated it on a daily basis. Wrt to the cache: ,----[ C-h v gnus-cache-directory RET ] | gnus-cache-directory is a variable defined in ‘gnus.el’. | Its value is "~/News/cache/" | | Documentation: | *The directory where cached articles will be stored. `---- I can find it in my home directory, but there is not much in it, and nothing related to the gmail problems. Any hints are welcome. -- cheers, Thorsten