emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-element--cache: parser error [9.5.2 (release_9.5.2-378-g98588e.dirty @ c:/Users/micha/AppData/Roaming/.emacs.d/org-new/org-mode/lisp/)]
@ 2022-02-12  0:49 Michael Powe
  2022-02-13  9:09 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Powe @ 2022-02-12  0:49 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

This error occurred on startup. I was using my notes.org file earlier
today, without error. I think I did subsequently do a 'git pull && 
make', though.

Thanks.

mp

----------------------------------

Warning (org-element-cache): org-element--cache: Org parser error in 
notes.org::10472. Resetting.
  The error was: (error "Invalid search bound (wrong side of point)")
  Backtrace:
nil
  Please report this to Org mode mailing list (M-x org-submit-bug-report).

Warning (comp): org-refile.el:566:17: Warning: Missing format argument
Warning (comp): org-refile.el:574:19: Warning: Missing format argument


Emacs : GNU Emacs 29.0.50 (build 2, x86_64-w64-mingw32) of 2022-02-10

Package: Org mode version 9.5.2 (release_9.5.2-378-g98588e.dirty @ 
c:/Users/micha/AppData/Roaming/.emacs.d/org-new/org-mode/lisp/)

current state:
==============
(setq
  org-link-elisp-confirm-function 'yes-or-no-p
  org-bibtex-headline-format-function #[257 "\300\x01\236A\207" [:title] 3 
"\n\n(fn ENTRY)"]
  org-log-done 'note
  org-log-into-drawer t
  org-agenda-files '("g:/My Drive/org/calendar.org" "g:/My 
Drive/org/tasks.org" "g:/My Drive/org/daily.org"
             "g:/My Drive/org/chores.org" "g:/My Drive/org/chess.org")
  org-persist-after-read-hook '(org-element--cache-persist-after-read)
  org-refile-targets '((org-agenda-files :maxlevel . 2))
  org-export-before-parsing-hook '(org-attach-expand-links)
  org-archive-hook '(org-attach-archive-delete-maybe)
  org-cycle-hook '(org-cycle-hide-archived-subtrees 
org-cycle-hide-drawers org-cycle-show-empty-lines
           org-optimize-window-after-visibility-change)
  org-persist-before-read-hook '(org-element--cache-persist-before-read)
  org-mode-hook '(my-buffer-face-org-mode org-auto-tangle-mode 
org-fancy-priorities-mode
          #[0 "\300\301!\207" [org-superstar-mode 1] 2] org-clock-load
          #[0 "\300\301\302\303\304$\207" [add-hook 
change-major-mode-hook org-show-all append local] 5]
          #[0 "\300\301\302\303\304$\207"
            [add-hook change-major-mode-hook org-babel-show-result-all 
append local] 5]
          org-babel-result-hide-spec org-babel-hide-all-hashes
          #[0 "\301\211\x10\207" [imenu-create-index-function 
org-imenu-get-tree] 2] org-eldoc-load)
  org-babel-load-languages '((awk . t) (emacs-lisp . t) (ruby . t) 
(octave . t) (awk . t))
  org-confirm-shell-link-function 'yes-or-no-p
  outline-isearch-open-invisible-function 'outline-isearch-open-invisible
  org-agenda-before-write-hook '(org-agenda-add-entry-text)
  org-babel-tangle-lang-exts '(("ruby" . "rb") ("awk" . "awk") 
("emacs-lisp" . "el") ("elisp" . "el"))
  org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
  org-confirm-elisp-link-function 'yes-or-no-p
  org-todo-keywords '((sequence "TODO(t)" "INPROGRESS(i)" "|" "DONE(d@)" 
"DISCARDED(c!)"))
  org-speed-command-hook '(org-speed-command-activate 
org-babel-speed-command-activate)
  org-clock-persist 'history
  org-persist-before-write-hook '(org-element--cache-persist-before-write)
  org-tab-first-hook '(org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
  org-link-shell-confirm-function 'yes-or-no-p
  org-agenda-finalize-hook '(org-fancy-priorities-create-overlays)
  org-babel-pre-tangle-hook '(save-buffer)
  org-agenda-loop-over-headlines-in-active-region nil
  org-todo-keyword-faces '(("TODO" . org-warning) ("INPROGRESS" 
:foreground "yellow" :weight normal)
               ("DISCARDED" :foreground "blue" :weight bold) ("DONE" . 
"green") ("TOREAD" . org-warning)
               ("STARTED" :foreground "yellow" :weight normal) ("PAUSED" 
. "cornflower blue")
               ("FINISHED" :foreground "DarkTurquoise" :weight bold))
  org-occur-hook '(org-first-headline-recenter)
  org-metadown-hook '(org-babel-pop-to-session-maybe)
  org-link-parameters '(("attachment" :follow org-attach-follow 
:complete org-attach-complete-link)
                ("id" :follow org-id-open) ("eww" :follow org-eww-open 
:store org-eww-store-link)
                ("rmail" :follow org-rmail-open :store org-rmail-store-link)
                ("mhe" :follow org-mhe-open :store org-mhe-store-link)
                ("irc" :follow org-irc-visit :store org-irc-store-link 
:export org-irc-export)
                ("info" :follow org-info-open :export org-info-export 
:store org-info-store-link)
                ("gnus" :follow org-gnus-open :store org-gnus-store-link)
                ("docview" :follow org-docview-open :export 
org-docview-export :store org-docview-store-link)
                ("bibtex" :follow org-bibtex-open :store 
org-bibtex-store-link)
                ("bbdb" :follow org-bbdb-open :export org-bbdb-export 
:complete org-bbdb-complete-link :store
             org-bbdb-store-link)
                ("w3m" :store org-w3m-store-link) ("doi" :follow 
org-link-doi-open :export org-link-doi-export)
                ("treemacs" :store treemacs-store-org-link) ("file+sys") 
("file+emacs")
                ("shell" :follow org-link--open-shell)
                ("news" :follow #[514 "\301\300\302\x04Q\x02\"\207" ["news" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                ("mailto" :follow
             #[514 "\301\300\302\x04Q\x02\"\207" ["mailto" browse-url ":"] 6 
"\n\n(fn URL ARG)"])
                ("https" :follow #[514 "\301\300\302\x04Q\x02\"\207" ["https" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                ("http" :follow #[514 "\301\300\302\x04Q\x02\"\207" ["http" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                ("ftp" :follow #[514 "\301\300\302\x04Q\x02\"\207" ["ftp" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                ("help" :follow org-link--open-help :store 
org-link--store-help)
                ("file" :complete org-link-complete-file) ("elisp" 
:follow org-link--open-elisp))
  org-fancy-priorities-list '((65 . "High") (66 . "Medium") (67 . "Low"))
  org-metaup-hook '(org-babel-load-in-session-maybe)
  org-src-lang-modes '(("redis" . redis) ("php" . php) ("arduino" . 
arduino) ("C" . c) ("C++" . c++)
               ("asymptote" . asy) ("bash" . sh) ("beamer" . latex) 
("calc" . fundamental) ("cpp" . c++)
               ("ditaa" . artist) ("dot" . fundamental) ("elisp" . 
emacs-lisp) ("ocaml" . tuareg)
               ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql))
  org-superstar-item-bullet-alist '((42 . 8226) (43 . 10148) (45 . 167))
  )

-- 
"Do not neglect to do good, and to share what you have." - Hebrews 13:16a
Michael Powe
Naugatuck CT USA
powem@ctpowe.net



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

* Re: [BUG] org-element--cache: parser error [9.5.2 (release_9.5.2-378-g98588e.dirty @ c:/Users/micha/AppData/Roaming/.emacs.d/org-new/org-mode/lisp/)]
  2022-02-12  0:49 [BUG] org-element--cache: parser error [9.5.2 (release_9.5.2-378-g98588e.dirty @ c:/Users/micha/AppData/Roaming/.emacs.d/org-new/org-mode/lisp/)] Michael Powe
@ 2022-02-13  9:09 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-02-13  9:09 UTC (permalink / raw)
  To: Michael Powe; +Cc: emacs-orgmode

Michael Powe <powem@ctpowe.net> writes:

> This error occurred on startup. I was using my notes.org file earlier
> today, without error. I think I did subsequently do a 'git pull && 
> make', though.

Thanks for the report!

> Warning (org-element-cache): org-element--cache: Org parser error in 
> notes.org::10472. Resetting.
>   The error was: (error "Invalid search bound (wrong side of point)")

This error indicates some hidden issue with cache update during previous
Emacs session.

Can you set org-element--cache-self-verify to 'backtrace and increase
the value of org-element--cache-self-verify-frequency to a value between
0.05 and 0.2 in your config? The larger is better, but feel free to use
the smaller value if you experience significant performance slowdown.

Then, if you see a cache warning again, please report the warning text
in the reply. The warning will contain a lot of debugging info, which
will hopefully provide clues to what went wrong.

Best,
Ihor


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

end of thread, other threads:[~2022-02-13  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-12  0:49 [BUG] org-element--cache: parser error [9.5.2 (release_9.5.2-378-g98588e.dirty @ c:/Users/micha/AppData/Roaming/.emacs.d/org-new/org-mode/lisp/)] Michael Powe
2022-02-13  9:09 ` Ihor Radchenko

Code repositories for project(s) associated with this 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).