all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] org parser error [9.5.1 (release_9.5.1-256-gf1929a @  /Users/raymondjohn/org-mode/lisp/)]
@ 2022-06-25  4:28 Raymond John Abayan
  2022-06-26  8:07 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Raymond John Abayan @ 2022-06-25  4:28 UTC (permalink / raw)
  To: emacs-orgmode



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

I have the following error and coudn't seem to find a solution online.
Warning (org-element-cache): org-element--cache: Org parser error in *Org Src init.org[ elisp ]*::115. Resetting.
The error was: (error "rx ‘**’ range error")
Backtrace:
nil

Emacs  : GNU Emacs 28.1 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559))
of 2022-04-22
Package: Org mode version 9.5.1 (release_9.5.1-256-gf1929a @ /Users/raymondjohn/org-mode/lisp/)

current state:
==============
(setq
org-agenda-prefix-format '((dashboard-agenda . " %i %-12:c %s ")
			    (agenda . " %i %-12:c%?-12t% s")
			    (todo . " %i %-12:c") (tags . " %i %-12:c")
			    (search . " %i %-12:c"))
org-link-elisp-confirm-function 'yes-or-no-p
org-bibtex-headline-format-function '(closure (t) (entry)
				       (cdr (assq :title entry)))
org-log-done 'note
org-agenda-custom-commands '(("d" "Dashboard"
			       ((agenda "" ((org-deadline-warning-days 7)))
				(todo "REVIEW"
				 ((org-agenda-overriding-header
				   "Items to Review")
				  )
				 )
				(todo "NEXT"
				 ((org-agenda-overriding-header "Next Tasks")))
				(tags-todo "agenda/ACTIVE"
				 ((org-agenda-overriding-header
				   "Active Projects")
				  )
				 )
				)
			       )
			      ("n" "Next Tasks"
			       ((todo "NEXT"
				 ((org-agenda-overriding-header "Next Tasks")))
				)
			       )
			      ("W" "Work Tasks" tags-todo "+work-email")
			      ("w" "Workflow Status"
			       ((todo "WAIT"
				 ((org-agenda-overriding-header
				   "Waiting on External")
				  (org-agenda-files org-agenda-files))
				 )
				(todo "REVIEW"
				 ((org-agenda-overriding-header "In Review")
				  (org-agenda-files org-agenda-files))
				 )
				(todo "PLAN"
				 ((org-agenda-overriding-header "In Planning")
				  (org-agenda-todo-list-sublevels nil)
				  (org-agenda-files org-agenda-files))
				 )
				(todo "BACKLOG"
				 ((org-agenda-overriding-header
				   "Project Backlog")
				  (org-agenda-todo-list-sublevels nil)
				  (org-agenda-files org-agenda-files))
				 )
				(todo "READY"
				 ((org-agenda-overriding-header
				   "Ready for Move")
				  (org-agenda-files org-agenda-files))
				 )
				(todo "ACTIVE"
				 ((org-agenda-overriding-header
				   "Active Projects/Tasks")
				  (org-agenda-files org-agenda-files))
				 )
				(todo "COMPLETED"
				 ((org-agenda-overriding-header
				   "Completed Projects/Tasks")
				  (org-agenda-files org-agenda-files))
				 )
				(todo "CANC"
				 ((org-agenda-overriding-header
				   "Cancelled Projects/Tasks")
				  (org-agenda-files org-agenda-files))
				 )
				)
			       )
			      )
org-log-into-drawer t
org-startup-folded t
org-agenda-files '("~/Dropbox/org-roam/20220502102008-action_items.org"
		    "~/Dropbox/org-roam/20220517193319-habits.org"
		    "~/Dropbox/org-roam/20220517193404-important_dates.org"
		    "~/Dropbox/org-roam/20220517194835-meetings.org")
org-persist-after-read-hook '(org-element--cache-persist-after-read)
org-refile-targets '(("~/Dropbox/org-roam/20220517193229-archive.org"
		       :maxlevel . 1)
		      ("~/Dropbox/org-roam/20220502102008-action_items.org"
		       :maxlevel . 1)
		      )
org-export-before-parsing-hook '(org-attach-expand-links)
org-tag-alist '((:startgroup) (:endgroup) ("@errand" . 69) ("@home" . 72)
		 ("@school" . 83) ("@work" . 87) ("agenda" . 97)
		 ("planning" . 112) ("track" . 116) ("investigate" . 73)
		 ("note" . 110) ("idea" . 105))
org-archive-hook '(org-attach-archive-delete-maybe)
org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
org-edit-src-content-indentation 0
org-ascii-format-drawer-function '(closure (t) (_name contents _width)
				    contents)
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-modules '(org-habit ol-doi ol-w3m ol-bbdb ol-bibtex ol-docview ol-gnus
	       ol-info ol-irc ol-mhe ol-rmail ol-eww)
org-image-actual-width nil
org-mode-hook '((closure
		  (org-agenda-skip-regexp org-table1-hline-regexp
		   org-table-tab-recognizes-table\.el
		   org-table-dataline-regexp org-table-any-border-regexp
		   org-agenda-restriction-lock-overlay
		   org-agenda-overriding-restriction org-agenda-diary-file
		   org-complex-heading-regexp t)
		  nil (setq imenu-create-index-function 'org-imenu-get-tree))
		 toc-org-enable org-auto-tangle-mode org-tempo-setup
		 (lambda nil evil-org-mode) org-bullets-mode
		 (lambda nil
		  (define-key evil-normal-state-map (kbd "TAB") 'org-cycle))
		 (closure
		  (org--rds reftex-docstruct-symbol
		   org-element-greater-elements visual-fill-column-width
		   org-clock-history org-agenda-current-date org-with-time
		   org-defdecode org-def org-read-date-inactive org-ans2
		   org-ans1 org-columns-current-fmt-compiled
		   org-clock-current-task org-clock-effort
		   org-agenda-skip-function org-agenda-skip-comment-trees
		   org-agenda-archives-mode org-end-time-was-given
		   org-time-was-given org-log-note-extra org-log-note-purpose
		   org-log-post-message org-last-inserted-timestamp
		   org-last-changed-timestamp
		   org-entry-property-inherited-from org-blocked-by-checkboxes
		   org-state org-agenda-headline-snapshot-before-repeat
		   org-agenda-buffer-name org-agenda-start-on-weekday
		   org-agenda-buffer-tmp-name org-priority-regexp
		   org-mode-abbrev-table org-mode-syntax-table
		   org-element-use-cache org-element-cache-persistent
		   buffer-face-mode-face org-tbl-menu org-org-menu
		   org-struct-menu org-entities org-last-state
		   org-id-track-globally org-clock-start-time texmathp-why
		   remember-data-file
		   org-agenda-tags-todo-honor-ignore-options
		   iswitchb-temp-buflist align-mode-rules-list
		   org-emphasis-alist org-emphasis-regexp-components
		   org-export-registered-backends org-modules crm-separator
		   org-babel-load-languages org-id-overriding-file-name
		   org-indent-indentation-per-level
		   org-element-paragraph-separate org-agenda-buffer-name
		   org-inlinetask-min-level t)
		  nil
		  (add-hook 'change-major-mode-hook 'org-show-all 'append
		   'local)
		  )
		 (closure
		  (org-src-window-setup *this*
		   org-babel-confirm-evaluate-answer-no
		   org-babel-tangle-uncomment-comments
		   org-src-preserve-indentation org-src-lang-modes
		   org-edit-src-content-indentation org-babel-library-of-babel
		   t)
		  nil
		  (add-hook 'change-major-mode-hook
		   #'org-babel-show-result-all 'append 'local)
		  )
		 org-babel-result-hide-spec org-babel-hide-all-hashes
		 efs/org-mode-setup)
org-babel-load-languages '((R . t) (python . t) (emacs-lisp . t))
org-agenda-start-with-log-mode t
org-latex-format-drawer-function '(closure (t) (_ contents) contents)
org-ellipsis " ▾"
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-confirm-shell-link-function 'yes-or-no-p
org-html-format-drawer-function '(closure
				   (htmlize-buffer-places
				    org-html-format-table-no-css
				    htmlize-css-name-prefix
				    htmlize-output-type htmlize-output-type
				    htmlize-css-name-prefix t)
				   (_name contents) contents)
outline-isearch-open-invisible-function 'outline-isearch-open-invisible
org-habit-graph-column 60
org-latex-classes '(("article" "\\documentclass{article}"
		      ("\\section{%s}" . "\\section*{%s}"))
		     ("article" "\\documentclass[11pt]{article}"
		      ("\\section{%s}" . "\\section*{%s}")
		      ("\\subsection{%s}" . "\\subsection*{%s}")
		      ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
		      ("\\paragraph{%s}" . "\\paragraph*{%s}")
		      ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
		     ("report" "\\documentclass[11pt]{report}"
		      ("\\part{%s}" . "\\part*{%s}")
		      ("\\chapter{%s}" . "\\chapter*{%s}")
		      ("\\section{%s}" . "\\section*{%s}")
		      ("\\subsection{%s}" . "\\subsection*{%s}")
		      ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
		     ("book" "\\documentclass[11pt]{book}"
		      ("\\part{%s}" . "\\part*{%s}")
		      ("\\chapter{%s}" . "\\chapter*{%s}")
		      ("\\section{%s}" . "\\section*{%s}")
		      ("\\subsection{%s}" . "\\subsection*{%s}")
		      ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
		     )
org-odt-format-headline-function 'org-odt-format-headline-default-function
org-link-translation-function 'toc-org-unhrefify
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-tangle-lang-exts '(("python" . "py") ("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)" "NEXT(n)" "|" "DONE(d!)")
		     (sequence "BACKLOG(b)" "PLAN(p)" "READY(r)" "ACTIVE(a)"
		      "REVIEW(v)" "WAIT(w@/!)" "HOLD(h)" "|" "COMPLETED(c)"
		      "CANC(k@)")
		     )
org-fontify-whole-heading-line t
org-speed-command-hook '(org-speed-command-activate
			  org-babel-speed-command-activate)
org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-odt-format-drawer-function '(closure
				  (hfy-user-sheet-assoc hfy-html-quote-regex
				   hfy-html-quote-map hfy-face-to-css
				   hfy-begin-span-handler hfy-end-span-handler
				   archive-zip-extract
				   nxml-auto-insert-xml-declaration-flag t)
				  (_name contents) contents)
org-bullets-bullet-list '("◉" "○" "●" "○" "●" "○" "●")
org-confirm-babel-evaluate nil
org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
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-babel-pre-tangle-hook '(save-buffer)
org-agenda-loop-over-headlines-in-active-region nil
org-fontify-quote-and-verse-blocks t
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)
		       ("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)
		       ("id" :follow org-id-open) ("file+sys") ("file+emacs")
		       ("shell" :follow org-link--open-shell)
		       ("news" :follow
			(closure
			 ((scheme . "news") (--dolist-tail--) org-ts-regexp
			  org-time-stamp-formats org-src-source-file-name
			  org-outline-regexp-bol org-inhibit-startup
			  org-id-link-to-org-use-id org-highlight-links
			  org-comment-string org-agenda-buffer-name
			  clean-buffer-list-kill-buffer-names t)
			 (url arg) (browse-url (concat scheme ":" url) arg))
			)
		       ("mailto" :follow
			(closure
			 ((scheme . "mailto") (--dolist-tail--) org-ts-regexp
			  org-time-stamp-formats org-src-source-file-name
			  org-outline-regexp-bol org-inhibit-startup
			  org-id-link-to-org-use-id org-highlight-links
			  org-comment-string org-agenda-buffer-name
			  clean-buffer-list-kill-buffer-names t)
			 (url arg) (browse-url (concat scheme ":" url) arg))
			)
		       ("https" :follow
			(closure
			 ((scheme . "https") (--dolist-tail--) org-ts-regexp
			  org-time-stamp-formats org-src-source-file-name
			  org-outline-regexp-bol org-inhibit-startup
			  org-id-link-to-org-use-id org-highlight-links
			  org-comment-string org-agenda-buffer-name
			  clean-buffer-list-kill-buffer-names t)
			 (url arg) (browse-url (concat scheme ":" url) arg))
			)
		       ("http" :follow
			(closure
			 ((scheme . "http") (--dolist-tail--) org-ts-regexp
			  org-time-stamp-formats org-src-source-file-name
			  org-outline-regexp-bol org-inhibit-startup
			  org-id-link-to-org-use-id org-highlight-links
			  org-comment-string org-agenda-buffer-name
			  clean-buffer-list-kill-buffer-names t)
			 (url arg) (browse-url (concat scheme ":" url) arg))
			)
		       ("ftp" :follow
			(closure
			 ((scheme . "ftp") (--dolist-tail--) org-ts-regexp
			  org-time-stamp-formats org-src-source-file-name
			  org-outline-regexp-bol org-inhibit-startup
			  org-id-link-to-org-use-id org-highlight-links
			  org-comment-string org-agenda-buffer-name
			  clean-buffer-list-kill-buffer-names t)
			 (url arg) (browse-url (concat scheme ":" 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-html-format-headline-function 'org-html-format-headline-default-function
org-metaup-hook '(org-babel-load-in-session-maybe)
org-return-follows-link t
org-tab-before-tab-emulation-hook '(org-tempo-complete-tag)
)


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

* Re: [BUG] org parser error [9.5.1 (release_9.5.1-256-gf1929a @ /Users/raymondjohn/org-mode/lisp/)]
  2022-06-25  4:28 [BUG] org parser error [9.5.1 (release_9.5.1-256-gf1929a @ /Users/raymondjohn/org-mode/lisp/)] Raymond John Abayan
@ 2022-06-26  8:07 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-06-26  8:07 UTC (permalink / raw)
  To: Raymond John Abayan; +Cc: emacs-orgmode

Raymond John Abayan <rrabayan@ucdavis.edu> writes:

> I have the following error and coudn't seem to find a solution online.
> Warning (org-element-cache): org-element--cache: Org parser error in *Org Src init.org[ elisp ]*::115. Resetting.
> The error was: (error "rx ‘**’ range error")
> Backtrace:
> nil

Thanks for reporting!
Note that your Org 9.5.1 version is not the latest version. Yet, you
appear to be using org-element.el from the latest version. This
situation is called "mixed installation" and can cause unpredictable
errors.

Please make sure that you set the correct load-path early in your
init.el before org-mode is loaded.

Best,
Ihor


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

end of thread, other threads:[~2022-06-26  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-25  4:28 [BUG] org parser error [9.5.1 (release_9.5.1-256-gf1929a @ /Users/raymondjohn/org-mode/lisp/)] Raymond John Abayan
2022-06-26  8:07 ` Ihor Radchenko

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.