emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug Report: Org Agenda 'custom-initialize-reset: Cache must be active'
@ 2024-12-10 18:06 Zan Owsley
  2024-12-10 19:16 ` Zan Owsley
  0 siblings, 1 reply; 3+ messages in thread
From: Zan Owsley @ 2024-12-10 18:06 UTC (permalink / raw)
  To: emacs-orgmode

Hi,


Emacs version: 30.0.92. I had been using org-agenda fine for a while 
with the new version, but this just started and my init.el has no 
bearing on making it continue to happen.


This is being reproduced using 'emacs -Q' followed by evaluating '(setq 
org-agenda-files "~/sync/gtd/gtd.org")' in the scratch buffer to set my 
agenda file.


I receive the error 'custom-initialize-reset: Cache must be active' in 
the messages buffer when calling 'org-agenda' then pressing 'M'.


Strangely, if I try it again, this is in messages. Note that 
'/home/zan/org/' does not exist, but it is referencing tags from the 
'gtd.org' file I set.

File /home/zan/org/#+TAGS: [ @home : personal home errands casi ] is 
read-only on disk.  Make buffer read-only, too? (y or n) n

org-element-cache-map: Cache must be active



And if I try again, this:

org-element-cache-map: Cache must be active


Here's the full 'debug-on-error' output:

Debugger entered--Lisp error: (error "Cache must be active")
   error("Cache must be active")
   org-element-cache-map(#f(compiled-function (el) #<bytecode 
-0x1fabb98b0459a93c>))
   org-get-buffer-tags()
   #<subr 
F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_292>("/home/zan/org/#+TAGS: 
[ @home : personal home errands casi ]")
   org-global-tags-completion-table()
   org-make-tags-matcher(nil)
   org-tags-view((4))
   funcall-interactively(org-tags-view (4))
   call-interactively(org-tags-view)
   org-agenda(nil)
   funcall-interactively(org-agenda nil)
   command-execute(org-agenda record)
   execute-extended-command(nil "org-agenda" "org-agen")
   funcall-interactively(execute-extended-command nil "org-agenda" 
"org-agen")
   command-execute(execute-extended-command)


Here's a folded version of the 'gtd.org' file:

#+TAGS: [ @home : personal home errands casi ]
#+TAGS: [ @away : personal errands casi ]
#+TAGS: [ @drive : daytime errands dave ]
#+TAGS: [ @fly : daytime personal dave ]

* Typical Searches
* Projects
* Urgent :urgent:
* Anytime :daytime:personal:
* Daytime :daytime:
* Visits
* Prospects :prospects:
* Personal :personal:
* Home :home:
* Errands :errands:
* Casi :casi:
* Dave :dave:
* Name on Accounts :name_on_accounts:
* Expense Reminders :expense:
* Waiting :waiting:
* Tickler :tickler:
* Someday :someday:
* Other Lists


Any other info I can provide?


Thanks!


Zan Owsley




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug Report: Org Agenda 'custom-initialize-reset: Cache must be active'
  2024-12-10 18:06 Bug Report: Org Agenda 'custom-initialize-reset: Cache must be active' Zan Owsley
@ 2024-12-10 19:16 ` Zan Owsley
  2024-12-10 19:48   ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Zan Owsley @ 2024-12-10 19:16 UTC (permalink / raw)
  To: emacs-orgmode

My apologies - I realised the mistake in how I changed how I was setting 
'org-agenda-files'. Continued head-banging was what I needed.


Zan

On 12/10/24 11:06 AM, Zan Owsley wrote:
> Hi,
>
>
> Emacs version: 30.0.92. I had been using org-agenda fine for a while 
> with the new version, but this just started and my init.el has no 
> bearing on making it continue to happen.
>
>
> This is being reproduced using 'emacs -Q' followed by evaluating 
> '(setq org-agenda-files "~/sync/gtd/gtd.org")' in the scratch buffer 
> to set my agenda file.
>
>
> I receive the error 'custom-initialize-reset: Cache must be active' in 
> the messages buffer when calling 'org-agenda' then pressing 'M'.
>
>
> Strangely, if I try it again, this is in messages. Note that 
> '/home/zan/org/' does not exist, but it is referencing tags from the 
> 'gtd.org' file I set.
>
> File /home/zan/org/#+TAGS: [ @home : personal home errands casi ] is 
> read-only on disk.  Make buffer read-only, too? (y or n) n
>
> org-element-cache-map: Cache must be active
>
>
>
> And if I try again, this:
>
> org-element-cache-map: Cache must be active
>
>
> Here's the full 'debug-on-error' output:
>
> Debugger entered--Lisp error: (error "Cache must be active")
>   error("Cache must be active")
>   org-element-cache-map(#f(compiled-function (el) #<bytecode 
> -0x1fabb98b0459a93c>))
>   org-get-buffer-tags()
>   #<subr 
> F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_292>("/home/zan/org/#+TAGS: 
> [ @home : personal home errands casi ]")
>   org-global-tags-completion-table()
>   org-make-tags-matcher(nil)
>   org-tags-view((4))
>   funcall-interactively(org-tags-view (4))
>   call-interactively(org-tags-view)
>   org-agenda(nil)
>   funcall-interactively(org-agenda nil)
>   command-execute(org-agenda record)
>   execute-extended-command(nil "org-agenda" "org-agen")
>   funcall-interactively(execute-extended-command nil "org-agenda" 
> "org-agen")
>   command-execute(execute-extended-command)
>
>
> Here's a folded version of the 'gtd.org' file:
>
> #+TAGS: [ @home : personal home errands casi ]
> #+TAGS: [ @away : personal errands casi ]
> #+TAGS: [ @drive : daytime errands dave ]
> #+TAGS: [ @fly : daytime personal dave ]
>
> * Typical Searches
> * Projects
> * Urgent :urgent:
> * Anytime :daytime:personal:
> * Daytime :daytime:
> * Visits
> * Prospects :prospects:
> * Personal :personal:
> * Home :home:
> * Errands :errands:
> * Casi :casi:
> * Dave :dave:
> * Name on Accounts :name_on_accounts:
> * Expense Reminders :expense:
> * Waiting :waiting:
> * Tickler :tickler:
> * Someday :someday:
> * Other Lists
>
>
> Any other info I can provide?
>
>
> Thanks!
>
>
> Zan Owsley
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug Report: Org Agenda 'custom-initialize-reset: Cache must be active'
  2024-12-10 19:16 ` Zan Owsley
@ 2024-12-10 19:48   ` Ihor Radchenko
  0 siblings, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2024-12-10 19:48 UTC (permalink / raw)
  To: Zan Owsley; +Cc: emacs-orgmode

Zan Owsley <zanowsley@gmail.com> writes:

> My apologies - I realised the mistake in how I changed how I was setting 
> 'org-agenda-files'. Continued head-banging was what I needed.

No problem.
Closing.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-12-10 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-10 18:06 Bug Report: Org Agenda 'custom-initialize-reset: Cache must be active' Zan Owsley
2024-12-10 19:16 ` Zan Owsley
2024-12-10 19:48   ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).