emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Publish error: wrong argument number
@ 2021-09-15  6:07 Colin Baxter
  2021-09-16 19:32 ` Colin Baxter
  0 siblings, 1 reply; 4+ messages in thread
From: Colin Baxter @ 2021-09-15  6:07 UTC (permalink / raw)
  To: emacs-orgmode

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)



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

* Re: Publish error: wrong argument number
  2021-09-15  6:07 Publish error: wrong argument number Colin Baxter
@ 2021-09-16 19:32 ` Colin Baxter
  2021-09-16 21:34   ` Tim Cross
  0 siblings, 1 reply; 4+ messages in thread
From: Colin Baxter @ 2021-09-16 19:32 UTC (permalink / raw)
  To: emacs-orgmode

>>>>> Colin Baxter <m43cap@yandex.com> writes:

    > 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.

Odd - error vanished after a fresh git pull and make - very odd. 8-)




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

* Re: Publish error: wrong argument number
  2021-09-16 19:32 ` Colin Baxter
@ 2021-09-16 21:34   ` Tim Cross
  2021-09-17  6:01     ` Colin Baxter
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Cross @ 2021-09-16 21:34 UTC (permalink / raw)
  To: emacs-orgmode


Colin Baxter <m43cap@yandex.com> writes:

>>>>>> Colin Baxter <m43cap@yandex.com> writes:
>
>     > 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.
>
> Odd - error vanished after a fresh git pull and make - very odd. 8-)

I was going to post to say that the error you saw is very common type of
error for when you have a 'mixed' install. Could it be possible that you
already had org loaded when you upgraded the org package (which would
result in a mixed install), but later when you upgraded again, it was
not and therefore gave you a clean 'unmixed' install? 


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

* Re: Publish error: wrong argument number
  2021-09-16 21:34   ` Tim Cross
@ 2021-09-17  6:01     ` Colin Baxter
  0 siblings, 0 replies; 4+ messages in thread
From: Colin Baxter @ 2021-09-17  6:01 UTC (permalink / raw)
  To: Tim Cross; +Cc: emacs-orgmode

Hello Tim,
>>>>> Tim Cross <theophilusx@gmail.com> writes:

    > Colin Baxter <m43cap@yandex.com> writes:

    >>>>>>> Colin Baxter <m43cap@yandex.com> writes:
    >> 
    >> > 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.
    >> 
    >> Odd - error vanished after a fresh git pull and make - very
    >> odd. 8-)

    > I was going to post to say that the error you saw is very common
    > type of error for when you have a 'mixed' install. Could it be
    > possible that you already had org loaded when you upgraded the org
    > package (which would result in a mixed install), but later when
    > you upgraded again, it was not and therefore gave you a clean
    > 'unmixed' install?

Yes, I think that is very likely. After pulling and compiling, I update
org-mode via "C-c C-x !" I do that all the time, but I don't think I'd
seen that error before. However, my emacs had been running for 3 or 4
weeks so perhaps things had gotten a little "confused" after that length
of time.

Thanks for the information.

Best wishes,


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

end of thread, other threads:[~2021-09-17  6:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-15  6:07 Publish error: wrong argument number Colin Baxter
2021-09-16 19:32 ` Colin Baxter
2021-09-16 21:34   ` Tim Cross
2021-09-17  6:01     ` Colin Baxter

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).