emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [org-publish] Error exporting my project
@ 2014-09-28  8:42 Leandro Noferini
  2014-09-28 17:05 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Leandro Noferini @ 2014-09-28  8:42 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

Ciao a tutti,

I have this error trying to publish my project that worked fine:

Loading /home/leandro/.org-timestamps/Blog.cache...done
Publishing file /home/leandro/Desktop/Documenti/org/blog.org using `org-html-publish-to-html'
org-html-publish-to-html: Wrong number of arguments: #[(format plist filename pub-dir)
 "ÆÇ!ˆÈ\b!„É\bÊ\"ˆË	!ŠÌ
†Í	!!ˆÎÊ\vBBp`Ï \x1fÐ ÑÒ!ˆÓÔ!P!Õ\vÖ\"\vÐÕ\v×\"\b% Ø !ƒjÙ !ƒj qˆÑÚ!ˆÛ ƒeÜ ˆÝ !ˆ\fqˆÛ\f!ƒ€Þ ˆ\x1fcˆÜ ˆbˆ
?…ˆÝ\f!.\a‡" [pub-dir filename visiting plist init-buf init-point require org file-exists-p make-directory ...] 7 ("/usr/share/emacs/24.3/lisp/org/org-publish.elc" . 18806)], 5

The relevant part og my .emacs is:

(setq org-publish-project-alist
      '(("Blog"
	:base-directory "~/Desktop/Documenti/org/"
	:publishing-directory "~/Desktop/Blog/"
	:base-extension "org"
	:section-numbers nil
	:table-of-contents nil
	:include ("blog.org")
	:exclude ".*"
	:tasks nil
	:author "Leandro Noferini"
	:email "lnoferin@cybervalley.org"
	:link-up nil                   
	:convert-org-links t
	:publishing-function org-html-publish-to-html
	)

What's wrong?

-- 
leandro
http://6xukrlqedfabdjrb.onion

[-- Attachment #2: Type: application/pgp-signature, Size: 464 bytes --]

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

* Re: [org-publish] Error exporting my project
  2014-09-28  8:42 [org-publish] Error exporting my project Leandro Noferini
@ 2014-09-28 17:05 ` Nicolas Goaziou
  2014-10-01  9:12   ` Leandro Noferini
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2014-09-28 17:05 UTC (permalink / raw)
  To: Leandro Noferini; +Cc: emacs-orgmode

Hello,

Leandro Noferini <lnoferin@cybervalley.org> writes:

> I have this error trying to publish my project that worked fine:
>
> Loading /home/leandro/.org-timestamps/Blog.cache...done
> Publishing file /home/leandro/Desktop/Documenti/org/blog.org using `org-html-publish-to-html'
> org-html-publish-to-html: Wrong number of arguments: #[(format plist filename pub-dir)
>  "ÆÇ!ˆÈ\b!„É\bÊ\"ˆË	!ŠÌ
> †Í	!!ˆÎÊ\vBBp`Ï \x1fÐ ÑÒ!ˆÓÔ!P!Õ\vÖ\"\vÐÕ\v×\"\b% Ø !ƒjÙ !ƒj qˆÑÚ!ˆÛ ƒeÜ ˆÝ !ˆ\fqˆÛ\f!ƒ€Þ ˆ\x1fcˆÜ ˆbˆ
> ?…ˆÝ\f!.\a‡" [pub-dir filename visiting plist init-buf
> init-point require org file-exists-p make-directory ...]
> 7 ("/usr/share/emacs/24.3/lisp/org/org-publish.elc" . 18806)], 5
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

It looks like you have a mixed installation: you're using org-publish.el
from Org 7.x instead of 8.x.


Regards,

-- 
Nicolas Goaziou

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

* Re: [org-publish] Error exporting my project
  2014-09-28 17:05 ` Nicolas Goaziou
@ 2014-10-01  9:12   ` Leandro Noferini
  2014-10-01 15:02     ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Leandro Noferini @ 2014-10-01  9:12 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:


[...]

>> I have this error trying to publish my project that worked fine:
>>
>> Loading /home/leandro/.org-timestamps/Blog.cache...done
>> Publishing file /home/leandro/Desktop/Documenti/org/blog.org using
>> org-html-publish-to-html'
>> org-html-publish-to-html: Wrong number of arguments: #[(format plist filename pub-dir)
>>  "ÆÇ!ˆÈ\b!„É\bÊ\"ˆË	!ŠÌ
>> †Í !!ˆÎÊ\vBBp`Ï \x1fÐ ÑÒ!ˆÓÔ!P!Õ\vÖ\"\vÐÕ\v×\"\b% Ø !ƒjÙ
>> !ƒj qˆÑÚ!ˆÛ ƒeÜ ˆÝ !ˆ\fqˆÛ\f!ƒ€Þ
>> ˆ\x1fcˆÜ ˆbˆ
>> ?…ˆÝ\f!.\a‡" [pub-dir filename visiting plist init-buf
>> init-point require org file-exists-p make-directory ...]
>> 7 ("/usr/share/emacs/24.3/lisp/org/org-publish.elc" . 18806)], 5
>       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> It looks like you have a mixed installation: you're using org-publish.el
> from Org 7.x instead of 8.x.

Yes, I have on Debian unstable, either emacs24 and org-mode package: how
could I choose to use only org-mode package?


-- 
leandro
http://6xukrlqedfabdjrb.onion

[-- Attachment #2: Type: application/pgp-signature, Size: 464 bytes --]

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

* Re: [org-publish] Error exporting my project
  2014-10-01  9:12   ` Leandro Noferini
@ 2014-10-01 15:02     ` Nicolas Goaziou
  2014-10-01 21:02       ` Brady Trainor
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2014-10-01 15:02 UTC (permalink / raw)
  To: Leandro Noferini; +Cc: emacs-orgmode

Hello,

Leandro Noferini <lnoferin@cybervalley.org> writes:

> Yes, I have on Debian unstable, either emacs24 and org-mode package: how
> could I choose to use only org-mode package?

You have to make sure that newer Org is loaded before bundled one, i.e.,
nothing in your config requires (or autoloads) the bundled Org.


Regards,

-- 
Nicolas Goaziou

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

* Re: [org-publish] Error exporting my project
  2014-10-01 15:02     ` Nicolas Goaziou
@ 2014-10-01 21:02       ` Brady Trainor
  0 siblings, 0 replies; 5+ messages in thread
From: Brady Trainor @ 2014-10-01 21:02 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Leandro Noferini <lnoferin@cybervalley.org> writes:
>
>> Yes, I have on Debian unstable, either emacs24 and org-mode package: how
>> could I choose to use only org-mode package?


Do you use the built-in package manager? I do, so I think I simply need
(package-initialize) before anything calls org.


>
> You have to make sure that newer Org is loaded before bundled one, i.e.,
> nothing in your config requires (or autoloads) the bundled Org.
>
>
> Regards,


--
Brady

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

end of thread, other threads:[~2014-10-01 21:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-28  8:42 [org-publish] Error exporting my project Leandro Noferini
2014-09-28 17:05 ` Nicolas Goaziou
2014-10-01  9:12   ` Leandro Noferini
2014-10-01 15:02     ` Nicolas Goaziou
2014-10-01 21:02       ` Brady Trainor

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