From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kOBND0m0oWSPigAASxT56A (envelope-from ) for ; Sun, 02 Jul 2023 19:30:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8KgqD0m0oWSwTAAAauVa8A (envelope-from ) for ; Sun, 02 Jul 2023 19:30:49 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D78BC5DD6 for ; Sun, 2 Jul 2023 19:30:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qG0th-00039e-TF; Sun, 02 Jul 2023 13:30:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qG0tf-00039B-8X for emacs-orgmode@gnu.org; Sun, 02 Jul 2023 13:30:03 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qG0tc-0007Um-PO for emacs-orgmode@gnu.org; Sun, 02 Jul 2023 13:30:02 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 655F7240028 for ; Sun, 2 Jul 2023 19:29:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1688318998; bh=Rc9CdCSXudxOP9P3RwKDdY/PonJAxGotgWuZ1+10Ro8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=BnP4/P/dzOXeJjIShB8ocaJaa3YEI3+Xh7TwgYo98vBznUA+jZ8Dwznt1SJH51BNu 9zrnjrzOidcnKqarYmvITdRDRIwn5TQCqPddd+Rv7mimIO8davg1DsdFuqZrJ5mQXe jl4Ehz2gkSwtHhyJQk2yzjsmVj/dF2yv2/UitGiTxDLmpTtkjwjYh2GcfmWykN+V3l Bu26pFoyPAIuqGPzIoZyHSiCnUeITEgRwMHxRDw0JtsIImvkrEJY0QaWfUz/xD/U8r TVQTttmM6jh2g4pLv3WHNHYk2xgfDsu25ZTWLfALfK6/67CP0fMb/rNEdR9tVJIBSN /kL9xl3fKMyTA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QvGK16qP5z9rxG; Sun, 2 Jul 2023 19:29:57 +0200 (CEST) From: Ihor Radchenko To: m43cap@yandex.com Cc: emacs-orgmode@gnu.org Subject: Re: Cache must be active error In-Reply-To: <871qhqp6tw.fsf@yandex.com> References: <875y72p9z2.fsf@yandex.com> <87o7ku8em9.fsf@localhost> <871qhqp6tw.fsf@yandex.com> Date: Sun, 02 Jul 2023 17:29:54 +0000 Message-ID: <87ilb28bn1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688319048; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=D9OpRQ00KsyOCZjnCf9kSwju7syD36qRcPmkANA22S4=; b=hWryehewqL3Kb44RtNWXNz28Jp36kbRx6VtIC0hUItAXJdRPi8E6w5VVQBpQLiHQOA/LJ/ ZZcjyo2ix/1BJxQoDzgc73hwGvrMcc4DumicuDjQtBnITwc6prg9F52pa9QUP7ieOJZXJ0 MRPH+8DIXKnRbl2XDNL4SCzGVMeJbu/eo91/fkHnmGTgFJcX0p0r4VScAhMocKM7Y6niJM 28Dfby08RnYYfBO9Chd+66ZeJW/AMIQRtlZwHJHB6Q62GC3PnFbQgPSP9sZHXEjNWcEgnw dwSvzcHk5uy1lPKFOJ0ygNSCIPTcJEdYnmLonZvsX+E9Y/0IP3xUNurVUq91/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="BnP4/P/d"; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688319048; a=rsa-sha256; cv=none; b=ei4RST+BGhaSMy77TopBayIacZ0HFo2QxP14aowbSKhrfwYQL1blaSU3b/olOUdZAY4Z5o mFs0QfVpKNHK5xzKZ28JMg7PYdjO0hK3fJ+SeEJQo7VvnHcdLYIMBWDqdGQRVgPxC3Qg0k NWk5DkRsBNaZdfZDi6cM48yISNQ+/ISqNBIN8PLE3JUpoQaDiyK/RbsB/9Zezj1uSIKvkA XNQvrOgYIo3ZBK+hck4nwSjBpoC1KTLoB/2dBTmNYm6jKaNS+ipet/GSk9HWJ9ARIOwlJb nBM+RypouzVgJ9ZQCGOhDNftq4v1vKZ2q7X7lqSa9efeeFcq216/afRQcnHR3A== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="BnP4/P/d"; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D78BC5DD6 X-Spam-Score: -6.23 X-TUID: lItg/QBFP7CC Colin Baxter writes: > > This should not matter and should not cause the error. Please > > provide more details. > > The debugger output on the error is: > > --8<---------------cut here---------------start------------->8--- > Debugger entered--Lisp error: (error "Cache must be active.") > (signal error ("Cache must be active.")) > (error "Cache must be active.") > (org-element-cache-map #f(compiled-function (el) #)) Just for context, the new version `org-element-cache-map' uses a new macro `org-element-with-enabled-cache' that temporarily enabled cache for the duration of `org-element-cache-map'. > There is an odd feature. If I reload org-mode on a org buffer, > using "C- C-x !" then the error vanishes on using "C-c C-a m". If I > launch a new emacs (28.2 or 30.50.0) then the error returns and only > vanishes if I reload org-mode again. This sounds like you got mixed Org installation or org-element.el from built-in Org. If it is the case, you may need to check your config. You can also try WIP branch feature/shadowcheck that tries more to fight mixed version issue: https://git.sr.ht/~yantar92/org-mode/tree/feature/shadowcheck -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at