* Lisp error: wrong-number-of-arguments when publishing current project file
@ 2014-09-10 18:27 Sebastien Vauban
2014-09-10 20:27 ` Nick Dokos
2014-09-11 15:50 ` Nicolas Goaziou
0 siblings, 2 replies; 6+ messages in thread
From: Sebastien Vauban @ 2014-09-10 18:27 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hello,
When publishing a site project, or some file from it, I get the
following error:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-number-of-arguments #[(&optional force) "\303 ^X\304\216 ?\205^K^@
^Z\305\306 !+\207" [wconfig force org-publish-use-timestamps-flag current-window-configuration ((set-window-configuration wconfig)) org-publish-file buffer-file-name] 2 ("c:/Program Files (x86)/emacs-24.3/lisp/org/org-publish.elc" . 30759) "P"] 2)
org-publish-current-file(nil nil)
(cond ((eql action (quote template)) (org-export-insert-default-template nil optns)) ((eql action (quote stack)) (org-export-stack)) ((eql action (quote publish-current-file)) (org-publish-current-file (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-current-project)) (org-publish-current-project (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-choose-project)) (org-publish (assoc (org-icompleting-read "Publish project: " org-publish-project-alist nil t) org-publish-project-alist) (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-all)) (org-publish-all (memq (quote force) optns) (memq (quote async) optns))) (t (save-excursion (if arg (progn (if (eq (marker-buffer org-export-dispatch-last-position) (org-base-buffer ...)) (goto-char org-export-dispatch-last-position) (move-marker org-export-dispatch-last-position nil)))) (funcall action (and (memq (quote async) optns) t) (and (memq (quote subtree) optns) t) (and (memq (quote visible) optns) t) (and (memq (quote body) optns) t)))))
(let* ((input (cond ((equal arg (quote (16))) (quote (stack))) ((and arg org-export-dispatch-last-action)) (t (let ((wconfig ...)) (unwind-protect (progn ...) (set-window-configuration wconfig)))))) (action (car input)) (optns (cdr input))) (if (memq (quote subtree) optns) nil (move-marker org-export-dispatch-last-position nil)) (cond ((eql action (quote template)) (org-export-insert-default-template nil optns)) ((eql action (quote stack)) (org-export-stack)) ((eql action (quote publish-current-file)) (org-publish-current-file (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-current-project)) (org-publish-current-project (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-choose-project)) (org-publish (assoc (org-icompleting-read "Publish project: " org-publish-project-alist nil t) org-publish-project-alist) (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-all)) (org-publish-all (memq (quote force) optns) (memq (quote async) optns))) (t (save-excursion (if arg (progn (if (eq ... ...) (goto-char org-export-dispatch-last-position) (move-marker org-export-dispatch-last-position nil)))) (funcall action (and (memq (quote async) optns) t) (and (memq (quote subtree) optns) t) (and (memq (quote visible) optns) t) (and (memq (quote body) optns) t))))))
org-export-dispatch(nil)
funcall(org-export-dispatch nil)
--8<---------------cut here---------------end--------------->8---
Do you have an idea how to chase this problem?
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Lisp error: wrong-number-of-arguments when publishing current project file
2014-09-10 18:27 Lisp error: wrong-number-of-arguments when publishing current project file Sebastien Vauban
@ 2014-09-10 20:27 ` Nick Dokos
2014-09-11 7:21 ` Sebastien Vauban
2014-09-11 7:38 ` Achim Gratz
2014-09-11 15:50 ` Nicolas Goaziou
1 sibling, 2 replies; 6+ messages in thread
From: Nick Dokos @ 2014-09-10 20:27 UTC (permalink / raw)
To: emacs-orgmode
Sebastien Vauban <sva-news@mygooglest.com>
writes:
> Hello,
>
> When publishing a site project, or some file from it, I get the
> following error:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments #[(&optional force) "\303 ^X\304\216 ?\205^K^@
> ^Z\305\306 !+\207" [wconfig force org-publish-use-timestamps-flag current-window-configuration ((set-window-configuration wconfig)) org-publish-file buffer-file-name] 2 ("c:/Program Files (x86)/emacs-24.3/lisp/org/org-publish.elc" . 30759) "P"] 2)
> org-publish-current-file(nil nil)
> ...
>
> Do you have an idea how to chase this problem?
>
First thing I would do is delete the org-publish.elc file and try with
uncompiled org-publish.el. That should at least give you a better
backtrace.
Nick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Lisp error: wrong-number-of-arguments when publishing current project file
2014-09-10 20:27 ` Nick Dokos
@ 2014-09-11 7:21 ` Sebastien Vauban
2014-09-11 7:38 ` Achim Gratz
1 sibling, 0 replies; 6+ messages in thread
From: Sebastien Vauban @ 2014-09-11 7:21 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hello Nick,
Nick Dokos wrote:
> Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org> writes:
>> When publishing a site project, or some file from it, I get the
>> following error:
>>
>> Debugger entered--Lisp error: (wrong-number-of-arguments #[(&optional force)
>> "\303 ^X\304\216 ?\205^K^@
>> ^Z\305\306 !+\207" [wconfig force org-publish-use-timestamps-flag
>> current-window-configuration ((set-window-configuration wconfig))
>> org-publish-file buffer-file-name] 2 ("c:/Program Files
>> (x86)/emacs-24.3/lisp/org/org-publish.elc" . 30759) "P"] 2)
>> org-publish-current-file(nil nil)
>> ...
>>
>> Do you have an idea how to chase this problem?
>>
>
> First thing I would do is delete the org-publish.elc file and try with
> uncompiled org-publish.el. That should at least give you a better
> backtrace.
You're right. I'll do it.
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Lisp error: wrong-number-of-arguments when publishing current project file
2014-09-10 20:27 ` Nick Dokos
2014-09-11 7:21 ` Sebastien Vauban
@ 2014-09-11 7:38 ` Achim Gratz
2014-09-11 7:51 ` Sebastien Vauban
1 sibling, 1 reply; 6+ messages in thread
From: Achim Gratz @ 2014-09-11 7:38 UTC (permalink / raw)
To: emacs-orgmode
Nick Dokos writes:
> First thing I would do is delete the org-publish.elc file and try with
> uncompiled org-publish.el. That should at least give you a better
> backtrace.
You could just do C-u C-c C-x ! (reload Org uncompiled) and then get
that backtrace.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Lisp error: wrong-number-of-arguments when publishing current project file
2014-09-11 7:38 ` Achim Gratz
@ 2014-09-11 7:51 ` Sebastien Vauban
0 siblings, 0 replies; 6+ messages in thread
From: Sebastien Vauban @ 2014-09-11 7:51 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Achim Gratz wrote:
> Nick Dokos writes:
>> First thing I would do is delete the org-publish.elc file and try with
>> uncompiled org-publish.el. That should at least give you a better
>> backtrace.
>
> You could just do C-u C-c C-x ! (reload Org uncompiled) and then get
> that backtrace.
Didn't know about that. Thanks Achim!
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Lisp error: wrong-number-of-arguments when publishing current project file
2014-09-10 18:27 Lisp error: wrong-number-of-arguments when publishing current project file Sebastien Vauban
2014-09-10 20:27 ` Nick Dokos
@ 2014-09-11 15:50 ` Nicolas Goaziou
1 sibling, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2014-09-11 15:50 UTC (permalink / raw)
To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ
Hello,
Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:
> When publishing a site project, or some file from it, I get the
> following error:
[...]
> ("c:/Program Files (x86)/emacs-24.3/lisp/org/org-publish.elc" . 30759) "P"] 2)
You seem to be using a "org-publish.el" library that doesn't match the
Org version you're using.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-09-11 15:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-10 18:27 Lisp error: wrong-number-of-arguments when publishing current project file Sebastien Vauban
2014-09-10 20:27 ` Nick Dokos
2014-09-11 7:21 ` Sebastien Vauban
2014-09-11 7:38 ` Achim Gratz
2014-09-11 7:51 ` Sebastien Vauban
2014-09-11 15:50 ` Nicolas Goaziou
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).