* error with cache
@ 2024-12-17 15:37 Fraga, Eric
2024-12-22 15:17 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Fraga, Eric @ 2024-12-17 15:37 UTC (permalink / raw)
To: Emacs Org mode mailing list
Hello all,
I use Emacs as my window manager (exwm). I don't often restart as my
system is up 24/7. Today, I had to restart and found Emacs hanging
during startup. I added a debug on quit directive so I could see why.
The backtrace looks like this:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (quit)
org-element--cache-active-p()
org-element--parse-to(211)
org-element-cache-map(#f(compiled-function (el) #<bytecode 0x14123237c7f8dc4b>) :next-re "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy/ \11.-]*\\)>" :fail-re "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy/ \11.-]*\\)>" :narrow t)
org-agenda-get-deadlines(t)
org-agenda-get-day-entries("/home/ucecesf/s/notes/ucltimetable.org" (12 17 2024) :deadline* :scheduled* :timestamp)
org-agenda-to-appt()
load-with-code-conversion("/home/ucecesf/s/emacs/esf-org.el" "/home/ucecesf/s/emacs/esf-org.el" nil nil)
load("esf-org")
load-with-code-conversion("/home/ucecesf/s/emacs/esf-common.el" "/home/ucecesf/s/emacs/esf-common.el" nil nil)
load("~/s/emacs/esf-common")
load-with-code-conversion("/home/ucecesf/.emacs" "/home/ucecesf/.emacs" t t)
load("~/.emacs" noerror nomessage)
#f(compiled-function () #<bytecode 0xf13c5274d3a4b11>)()
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x13ec00abe1cfb51>) #f(compiled-function () #cq
--8<---------------cut here---------------end--------------->8---
Asking Emacs to continue keeps it in an infinite loop of some sort.
Hitting C-g brings up a similar backtrace varying only in the argument
to org-element--parse-to. Repeat ad nauseam.
The offending org file is automatically generated by cron from an ICS
file. I tried resetting the cache but this did nothing.
I've removed the offending org file from the agenda list as my lectures
have finished so I don't need it and problem averted. But I'm curious
to know what I could do in such a situation, should it arise again; I do
have two other agenda files that are also automatically generated.
For good measure, I've subsequently updated Emacs from git so the
version of org that was causing the error was from Emacs master from
last week.
Thank you,
eric
--
: Eric S Fraga, with org 9.7.17-3ae179 in Emacs 31.0.50
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: error with cache
2024-12-17 15:37 error with cache Fraga, Eric
@ 2024-12-22 15:17 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-12-22 15:17 UTC (permalink / raw)
To: Fraga, Eric; +Cc: Emacs Org mode mailing list
"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:
> I use Emacs as my window manager (exwm). I don't often restart as my
> system is up 24/7. Today, I had to restart and found Emacs hanging
> during startup. I added a debug on quit directive so I could see why.
> The backtrace looks like this:
> ...
> Debugger entered--Lisp error: (quit)
> org-element--cache-active-p()
> org-element--parse-to(211)
> org-element-cache-map(#f(compiled-function (el) #<bytecode 0x14123237c7f8dc4b>) :next-re "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy/ \11.-]*\\)>" :fail-re "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy/ \11.-]*\\)>" :narrow t)
> ...
> Asking Emacs to continue keeps it in an infinite loop of some sort.
> Hitting C-g brings up a similar backtrace varying only in the argument
> to org-element--parse-to. Repeat ad nauseam.
> ...
> I've removed the offending org file from the agenda list as my lectures
> have finished so I don't need it and problem averted. But I'm curious
> to know what I could do in such a situation, should it arise again; I do
> have two other agenda files that are also automatically generated.
This sounds like https://list.orgmode.org/orgmode/875xwbq6mb.fsf@localhost/
--
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] 2+ messages in thread
end of thread, other threads:[~2024-12-22 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-17 15:37 error with cache Fraga, Eric
2024-12-22 15:17 ` 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).