From mboxrd@z Thu Jan 1 00:00:00 1970 From: jingnan si Subject: Bug: ox-html report stringp nil and fails [N/A (N/A !!check installation!! @ /Users/stone/.emacs.d/elpa/org-20191027.1255/)] Date: Thu, 31 Oct 2019 21:38:03 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49911) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQOhW-0003G1-Bp for emacs-orgmode@gnu.org; Fri, 01 Nov 2019 00:38:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQOhU-0002RE-KT for emacs-orgmode@gnu.org; Fri, 01 Nov 2019 00:38:18 -0400 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:34885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQOhU-0002O9-A4 for emacs-orgmode@gnu.org; Fri, 01 Nov 2019 00:38:16 -0400 Received: by mail-pg1-x544.google.com with SMTP id c8so5683502pgb.2 for ; Thu, 31 Oct 2019 21:38:15 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org when do org-html-export-to-html, it fails with stringp, nil after toggole-debug-on-error, looks like the org-html-final-funciton failed with set-auto-mode t 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. ------------------------------------------------------------------------ Emacs : GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-09-02 Package: Org mode version N/A (N/A !!check installation!! @ /Users/stone/.emacs.d/elpa/org-20191027.1255/) current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-use-property-inheritance '("EXPORT_HUGO_FRONT_MATTER_FORMAT" "EXPORT_HUGO_PREFER_HYPHEN_IN_TAGS" "EXPORT_HUGO_PRESERVE_FILLING" "EXPORT_HUGO_DELETE_TRAILING_WS" "EXPORT_HUGO_ALLOW_SPACES_IN_TAGS" "EXPORT_HUGO_BLACKFRIDAY" "EXPORT_HUGO_SECTION" "EXPORT_HUGO_SECTION*" "EXPORT_HUGO_BUNDLE" "EXPORT_HUGO_BASE_DIR" "EXPORT_HUGO_CODE_FENCE" "EXPORT_HUGO_MENU" "EXPORT_HUGO_CUSTOM_FRONT_MATTER" "EXPORT_HUGO_DRAFT" "EXPORT_HUGO_ISCJKLANGUAGE" "EXPORT_KEYWORDS" "EXPORT_HUGO_MARKUP" "EXPORT_HUGO_OUTPUTS" "EXPORT_HUGO_TAGS" "EXPORT_HUGO_CATEGORIES" "EXPORT_HUGO_SERIES" "EXPORT_HUGO_TYPE" "EXPORT_HUGO_LAYOUT" "EXPORT_HUGO_WEIGHT" "EXPORT_HUGO_RESOURCES" "EXPORT_HUGO_FRONT_MATTER_KEY_REPLACE" "EXPORT_HUGO_DATE_FORMAT" "EXPORT_HUGO_WITH_LOCALE" "EXPORT_HUGO_LOCALE" "EXPORT_HUGO_PAIRED_SHORTCODES" "EXPORT_DATE" "EXPORT_HUGO_PUBLISHDATE" "EXPORT_HUGO_EXPIRYDATE" "EXPORT_HUGO_LASTMOD" "EXPORT_HUGO_SLUG" "EXPORT_HUGO_PANDOC_CITATIONS" "EXPORT_BIBLIOGRAPHY" "EXPORT_HUGO_AUTO_SET_LASTMOD" "EXPORT_AUTHOR") org-odt-format-headline-function 'org-odt-format-headline-default-function org-agenda-files '("/Users/stone/Work/Conf_Repo/org") org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-mode-hook '(#[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 \207" [imenu-create-index-function org-imenu-get-tree] 2] org-eldoc-load) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-startup-indented t org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-comment-trees nil org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-log-done 'time org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-src-lang-modes '(("arduino" . arduino) ("redis" . redis) ("php" . php) ("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-occur-hook '(org-first-headline-recenter) org-export-before-processing-hook '(org-blackfriday--reset-org-blackfriday--code-block-num-backticks) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-open-link :export org-attach-export-link :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow eww :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) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[257 "\301\300\302 Q!\207" ["news" browse-url ":"] 5 "\n\n(fn URL)"]) ("mailto" :follow #[257 "\301\300\302 Q!\207" ["mailto" browse-url ":"] 5 "\n\n(fn URL)"]) ("https" :follow #[257 "\301\300\302 Q!\207" ["https" browse-url ":"] 5 "\n\n(fn URL)"]) ("http" :follow #[257 "\301\300\302 Q!\207" ["http" browse-url ":"] 5 "\n\n(fn URL)"]) ("ftp" :follow #[257 "\301\300\302 Q!\207" ["ftp" browse-url ":"] 5 "\n\n(fn URL)"]) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-latex-format-headline-function 'org-latex-format-headline-default-function org-capture-templates '(("h" "Hugo post") ("hc" "OpenGL" entry (file+olp "~/org/blog/opengl.org" "OpenGL") (function org-hugo-new-subtree-post-capture-template) :clock-in t :clock-resume t) ("hl" "Life" entry (file+olp "~/org/blog/life.org" "Life") (function org-hugo-new-subtree-post-capture-template) :clock-in t :clock-resume t) ("ho" "Other" entry (file+olp "~/org/blog/other.org" "Other") (function org-hugo-new-subtree-post-capture-template) :clock-in t :clock-resume t) ) org-link-elisp-confirm-function 'yes-or-no-p org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-html-format-headline-function 'org-html-format-headline-default-function org-agenda-skip-archived-trees nil )