emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: emacs-orgmode@gnu.org
Subject: Publish error: wrong argument number
Date: Wed, 15 Sep 2021 07:07:06 +0100	[thread overview]
Message-ID: <871r5qv0c5.fsf@yandex.com> (raw)

Hello,

Today I get a "wrong-number-of-arguments" publish error. This was not
present a few weeks ago. It is also not present in Org-version 9.4.4 but
does occur in the latest version of org-mode.

I'd appreciate some help in tracking down the error. My debugger file is
below.

Thanks.

Best wishes,

Colin Baxter.

Debugger entered--Lisp error: (wrong-number-of-arguments (0 . 0) 1)
  (org-macro-initialize-templates nil)
  (org-export-as html nil nil nil (:output-file "/home/redknight/public_html/index.html" :base-directory "~/colin/org/pub/" :base-extension "org" :publishing-directory "~/public_html/" :recursive t :publishing-function org-html-publish-to-html :headline-levels 4 :auto-preamble t :auto-sitemap t :sitemap-filename "sitemap.org" :sitemap-title "Sitemap" :sitemap-style tree :sitemap-sort-folders "first" :sitemap-ignore-case t :sitemap-alphabetically t :makeindex t :crossrefs (((other "Publishing" "Data" "for" "this" "Web-Site") . 139416212) ((headline "Publishing" "Data" "for" "this" "Web-Site") . 139416212) ((other "About" "me") . 151707758) ((headline "About" "me") . 151707758) ((other "Gnupg" "Fingerprint" "and" "Public" "Key") . 157297869) ((headline "Gnupg" "Fingerprint" "and" "Public" "Key") . 157297869) ((other "Contact" "me") . 229971501) ((headline "Contact" "me") . 229971501) ((other "About" "this" "Web-Site") . 243924766) ((headline "About" "this" "Web-Site") . 243924766)) :filter-final-output (org-publish--store-crossrefs org-publish-collect-index)))
  (org-export-to-file html "/home/redknight/public_html/index.html" nil nil nil nil (:base-directory "~/colin/org/pub/" :base-extension "org" :publishing-directory "~/public_html/" :recursive t :publishing-function org-html-publish-to-html :headline-levels 4 :auto-preamble t :auto-sitemap t :sitemap-filename "sitemap.org" :sitemap-title "Sitemap" :sitemap-style tree :sitemap-sort-folders "first" :sitemap-ignore-case t :sitemap-alphabetically t :makeindex t :crossrefs (((other "Publishing" "Data" "for" "this" "Web-Site") . 139416212) ((headline "Publishing" "Data" "for" "this" "Web-Site") . 139416212) ((other "About" "me") . 151707758) ((headline "About" "me") . 151707758) ((other "Gnupg" "Fingerprint" "and" "Public" "Key") . 157297869) ((headline "Gnupg" "Fingerprint" "and" "Public" "Key") . 157297869) ((other "Contact" "me") . 229971501) ((headline "Contact" "me") . 229971501) ((other "About" "this" "Web-Site") . 243924766) ((headline "About" "this" "Web-Site") . 243924766)) :filter-final-output (org-publish--store-crossrefs org-publish-collect-index)))
  (org-publish-org-to html "/home/redknight/colin/org/pub/index.org" ".html" (:base-directory "~/colin/org/pub/" :base-extension "org" :publishing-directory "~/public_html/" :recursive t :publishing-function org-html-publish-to-html :headline-levels 4 :auto-preamble t :auto-sitemap t :sitemap-filename "sitemap.org" :sitemap-title "Sitemap" :sitemap-style tree :sitemap-sort-folders "first" :sitemap-ignore-case t :sitemap-alphabetically t :makeindex t) "/home/redknight/public_html/")
  (org-html-publish-to-html (:base-directory "~/colin/org/pub/" :base-extension "org" :publishing-directory "~/public_html/" :recursive t :publishing-function org-html-publish-to-html :headline-levels 4 :auto-preamble t :auto-sitemap t :sitemap-filename "sitemap.org" :sitemap-title "Sitemap" :sitemap-style tree :sitemap-sort-folders "first" :sitemap-ignore-case t :sitemap-alphabetically t :makeindex t) "/home/redknight/colin/org/pub/index.org" "/home/redknight/public_html/")
  (org-publish-file "/home/redknight/colin/org/pub/index.org")
  (org-publish-current-file nil nil)
  (org-export-dispatch nil)
  (funcall-interactively org-export-dispatch nil)
  (call-interactively org-export-dispatch nil nil)
  (command-execute org-export-dispatch)



             reply	other threads:[~2021-09-15  6:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-15  6:07 Colin Baxter [this message]
2021-09-16 19:32 ` Publish error: wrong argument number Colin Baxter
2021-09-16 21:34   ` Tim Cross
2021-09-17  6:01     ` Colin Baxter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871r5qv0c5.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).