emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] org-element--cache Cached element is incorrect (ox-hugo) [9.6.10 (


From: George Kettleborough
Subject: [BUG] org-element--cache Cached element is incorrect (ox-hugo) [9.6.10 (release_9.6.10 @ /home/gk/.emacs.d/lib/org/lisp/)]
Date: Mon, 23 Oct 2023 20:44:40 +0100
User-agent: Mozilla Thunderbird



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've been having a problem where some of my exports get truncated
randomly at the end. I haven't been able to figure out the exact
problem, but by bisecting org-mode I found the problem appears in
072ddbc9 which sets `org-element--cache-self-verify' to t. By setting
this back to nil manually the truncation goes away, but the warning then
appears.

Interestingly I can only reproduce this when running emacs in batch
mode, not in regular mode.

I know ox-hugo and caching has come up before, but I don't think this
was the same problem as before.


Warning (org-element-cache): org-element--cache: (nil) Cached element is incorrect in *Ox-hugo Pre-processed programming.org *. (Cache tic up to date: "yes") Resetting. If this warning appears regularly, please report the warning text to Org mode mailing list (M-x org-submit-bug-report). The element is: "(headline (:raw-value \"Working on Multiple Web Projects with Docker Compose and Traefik\" :begin 85 :end 10406 :pre-blank 0 :contents-begin 201 :contents-end 10405 :robust-begin 344 :robust-end 10403 :level 1 :priority nil :tags (\"networking\" \"web\" \"development\" \"traefik\" \"docker\") :todo-keyword \"DONE\" :todo-type done :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 85 :closed (timestamp (:type inactive :raw-value \"[2023-10-02 Mon 09:00]\" :year-start 2023 :month-start 10 :day-start 2 :hour-start 9 :minute-start 0 :year-end 2023 :month-end 10 :day-end 2 :hour-end 9 :minute-end 0 :begin 209 :end 231 :post-blank 0)) :EXPORT_FILE_NAME \"multiple-web-projects-traefik\" :EXPORT_HUGO_LASTMOD \"<2023-10-19 Thu 21:24>\" :title \"Working on Multiple Web Projects with Docker Compose and Traefik\" :mode nil :granularity element :cached t ...))" The real element is: "(headline (:raw-value \"Working on Multiple Web Projects with Docker Compose and Traefik\" :begin 85 :end 10620 :pre-blank 0 :contents-begin 201 :contents-end 10619 :robust-begin 344 :robust-end 10617 :level 1 :priority nil :tags (\"networking\" \"web\" \"development\" \"traefik\" \"docker\") :todo-keyword \"DONE\" :todo-type done :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 85 :closed (timestamp (:type inactive :raw-value \"[2023-10-02 Mon 09:00]\" :year-start 2023 :month-start 10 :day-start 2 :hour-start 9 :minute-start 0 :year-end 2023 :month-end 10 :day-end 2 :hour-end 9 :minute-end 0 :begin 209 :end 231 :post-blank 0)) :EXPORT_FILE_NAME \"multiple-web-projects-traefik\" :EXPORT_HUGO_LASTMOD \"<2023-10-19 Thu 21:24>\" :title \"Working on Multiple Web Projects with Docker Compose and Traefik\" :mode nil :granularity element :parent (org-data (:begin 1 :contents-begin 1 :contents-end 26390 :end 26390 :robust-begin 3 :robust-end 26388 :post-blank 0 :post-affiliated 1 :path \"/home/gk/blog/content-org/programming.org\" :mode org-data :CATEGORY \"programming\"))))"
Cache around :begin:
(keyword (:key "HUGO_CATEGORIES" :value "programming" :begin 53 :end 85 :post-blank 1 :post-affiliated 53 :mode nil :granularity element :cached t :parent (section (:begin 1 :end 85 :contents-begin 1 :contents-end 84 :robust-begin 1 :robust-end 82 :post-blank 1 :post-affiliated 1 :mode first-section :granularity element :cached t :parent (org-data (:begin 1 :contents-begin 1 :contents-end 26390 :end 26390 :robust-begin 3 :robust-end 26388 :post-blank 0 :post-affiliated 1 :path "/home/gk/blog/content-org/programming.org" :mode org-data :CATEGORY "programming" :cached t)))))) (keyword (:key "HUGO_CATEGORIES" :value "programming" :begin 53 :end 85 :post-blank 1 :post-affiliated 53 :mode nil :granularity element :cached t :parent (section (:begin 1 :end 85 :contents-begin 1 :contents-end 84 :robust-begin 1 :robust-end 82 :post-blank 1 :post-affiliated 1 :mode first-section :granularity element :cached t :parent (org-data (:begin 1 :contents-begin 1 :contents-end 26390 :end 26390 :robust-begin 3 :robust-end 26388 :post-blank 0 :post-affiliated 1 :path "/home/gk/blog/content-org/programming.org" :mode org-data :CATEGORY "programming" :cached t))))))
nil

Emacs : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8)
of 2023-10-02
Package: Org mode version 9.6.10 (release_9.6.10 @ /home/gk/.emacs.d/lib/org/lisp/)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]