GNU bug report logs - #41530
28.0.50; gnus-cloud-download-all-data does not mark articles as read

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Kévin Le Gouguec <kevin.legouguec@HIDDEN>; dated Mon, 25 May 2020 16:50:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 May 2020 16:49:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 12:49:23 2020
Received: from localhost ([127.0.0.1]:42336 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jdGHz-0000x2-Gy
	for submit <at> debbugs.gnu.org; Mon, 25 May 2020 12:49:23 -0400
Received: from lists.gnu.org ([209.51.188.17]:46982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kevin.legouguec@HIDDEN>) id 1jdGHx-0000wu-Au
 for submit <at> debbugs.gnu.org; Mon, 25 May 2020 12:49:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36474)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kevin.legouguec@HIDDEN>)
 id 1jdGHx-00011T-2c
 for bug-gnu-emacs@HIDDEN; Mon, 25 May 2020 12:49:21 -0400
Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:42716)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <kevin.legouguec@HIDDEN>)
 id 1jdGHv-0002e9-TR
 for bug-gnu-emacs@HIDDEN; Mon, 25 May 2020 12:49:20 -0400
Received: by mail-wr1-x432.google.com with SMTP id s8so17591497wrt.9
 for <bug-gnu-emacs@HIDDEN>; Mon, 25 May 2020 09:49:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=v7NBjTftZJ8fCnBv8MGU+HU04wJ4xUvT3XaBPG+j2s8=;
 b=UG+6dUb/19YNaGjVaBZXKBsr5n3W0XzJlYzJObIF/uJJo/9cwRFIYl1Uau57YAuEy2
 itVAvNm/CoHwO6xpsXPvPWiLb1lk21lBizAV3LLFNiu16yKi78TlYQOwrQcz3mHNgeZh
 aQLs9Da1BjAtDo5AuRhsz80gDpcqu/55WgBf/Z195gh6f/A/qTCZhZFoAUHg/m4+9ofF
 C4lbsmYg2YwXluHDg7XjfVhyW1AJvguUKVCHgSKj7Bj+mV0onAZKF1YMzTzgQX5uTqBU
 X+SlJsU/zO5J6NUK0NyXe5h7eT8/OGf2EsOjvqdgSOTlfAuExgfisR4AMLJrkMJD7jN3
 3Bug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=v7NBjTftZJ8fCnBv8MGU+HU04wJ4xUvT3XaBPG+j2s8=;
 b=sNthJndwN5FwcKflyjQeJ2f2Rb3czJmHbKRqlekiIwwC6xsapq0ubII0oab/lEXtal
 Kz5Qf57H3dp3W5nqdyUdt75eeetu+PlGLyJ9aOPy9LAChjGRwFyM8SY9ctU6IccpQEh1
 /8tLBPa8qeHztI1a5fce+EkKirG4dtL0Hxorik6TjVppA0nqiJLRg8r59rhiNVbOfd+p
 5AGbWjvKIk1QE2NNtl84qTIig167RkrEfmp/aJ0cr9pISuLPVWlSGv3x1+VFkXyk6mOs
 w/ymsiDRKHZVa0mMmSZc0ahEXRmCC2SjEnORvfH6HTA76+v1AUSnQAzE1vHSxoRjYXe5
 mxBw==
X-Gm-Message-State: AOAM5332nxk4ktiWmxB16aIw7k/4Mhnh9XuXsvp+rl2NiuXhVNxq39WC
 Qin6rEgilVV4IqeUe/Hqsmaf59dd
X-Google-Smtp-Source: ABdhPJx34u7lQT8rsP4G3E5Jf42mNaAibDLPJoSfiPlcfVhr1f4WLTIvQLU8KXVN2OKG13+ItqpliA==
X-Received: by 2002:adf:fb0f:: with SMTP id c15mr16946781wrr.410.1590425357408; 
 Mon, 25 May 2020 09:49:17 -0700 (PDT)
Received: from klegouguec-HP-ProBook-450-G1 (200.143.13.109.rev.sfr.net.
 [109.13.143.200])
 by smtp.gmail.com with ESMTPSA id b8sm9254816wrm.35.2020.05.25.09.49.16
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Mon, 25 May 2020 09:49:16 -0700 (PDT)
From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= <kevin.legouguec@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; gnus-cloud-download-all-data does not mark articles as read
Date: Mon, 25 May 2020 18:49:16 +0200
Message-ID: <87pnasarjn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::432;
 envelope-from=kevin.legouguec@HIDDEN; helo=mail-wr1-x432.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001,
 URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello,

I'm having trouble setting up gnus-cloud.  Here are the steps I
follow:

0. Clean the slate.
    - On my IMAP server's webmail:
        - delete all mails generated by gnus-cloud,
        - delete the Emacs-Cloud folder.
    - In system 1's .newsrc.eld:
        - remove all gnus-cloud-* variables,
        - remove Emacs-Cloud from gnus-newsrc-alist.
    - On system 2: remove .newsrc.eld.

On both systems 1 and 2, gnus-cloud-method is customized to
"nnimap:gmail".

1. On system 1: upload a CloudSynchronizationDataPack=E2=84=A2.
    - Start Emacs & Gnus.
    - In the *Server* buffer:
        - hit i on NNTP servers.
    - In the *Group* buffer:
        - hit ~ u, enter & confirm passphrase.

So far, things seem to be working=E2=80=A6 maybe?  I have a new mail from
nobody@HIDDEN in the Emacs-Cloud group, entitled

> (sequence: UNKNOWN type: :full storage-method: epg)

(Looking at gnus-cloud.el, i have no idea how this "UNKNOWN" ends up
here, since I see no reason for gnus-cloud-sequence to be nil.)

If I decrypt this mail, I can see one Lisp form per subscribed group,
of the form

> (:type :newsrc-data :name "=E2=80=A6" :contents (=E2=80=A6) :timestamp "=
=E2=80=A6")

Moving on=E2=80=A6

2. On system 2: try to download the CloudSynchronizationDataPack=E2=84=A2.
    - Start Emacs & Gnus.
    - In the *Server* buffer:
        - hit i on NNTP servers,
        - subscribe to groups system 1 is subscribed to.
    - In the *Group* buffer:
        - hit ~ d.

At this point I'd expect

1. to be prompted for the passphrase entered in step 1,
2. NNTP articles I've read on system 1 to be marked read on system 2.

Instead, nothing happens: no passphrase prompt, and all articles in the
NNTP groups I subscribed to remain unread.  I just get this in
*Messages*:

> nnimap read 0k from [IMAP server].

I tried to dig into this; all I could figure out is that
gnus-cloud-available-chunks returns nil.

I *think* this is not linked to bug#40280; I applied the patch and not
much changed.  From what I understand, the patch fixes a problem that
happens later, when processing whatever gnus-cloud-available-chunks is
supposed to return.

I don't know if this might be linked to bug#28845.


Let me know if there is anything I can do to help debug this.


Thank you for your time.


In GNU Emacs 28.0.50 (build 11, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, =
cairo version 1.15.10)
 of 2020-05-25 built on klegouguec-HP-ProBook-450-G1
Repository revision: 0cdedf612b9da14fccc39c4a4e81cbf400e4552f
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12005000
System Description: Ubuntu 18.04.4 LTS

Configured using:
 'configure --with-xwidgets --with-cairo'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS JSON
PDUMPER LCMS2 GMP

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix




Acknowledgement sent to Kévin Le Gouguec <kevin.legouguec@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#41530; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 May 2020 17:00:02 UTC

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