* Wrong Type Error When Publishing Project
@ 2013-07-26 21:01 Brian Callies
2013-07-27 1:33 ` Nick Dokos
0 siblings, 1 reply; 7+ messages in thread
From: Brian Callies @ 2013-07-26 21:01 UTC (permalink / raw)
To: emacs-orgmode
Good Day,
I'm sure I must be doing something obviously wrong, but I've had no
success at publishing a project I've just created. I've been working on
this error for some time, incidentally fixing other mistakes, but I'm
unable to get it working. I get the same error on Arch Linux, as I do
on Win8. I'm using Org-mode 8.0.5.
I get the following error: Wrong type argument: stringp
My project config is below. Images-w and css-w export fine on their own,
but alpharednotes-w and AlphaRedWin both fail with the error above.
(setq org-publish-project-alist
'(
("alpharednotes-w"
:base-directory "C:/Users/bcallies/Dropbox/RPG/Alpha Red/org"
:base-extension "org"
:publishing-directory "C:/Users/bcallies/Dropbox/RPG/Alpha
Red/org/html/"
; :recursive t
:publishing-function org-publish-org-to-html
; :headline-levels 5
; :auto-preamble t
)
("images-w"
:base-directory "C:\\Users\\bcallies\\Dropbox\\RPG\\Alpha
Red\\org\\img"
:base-extension "jpg\\|gif\\|png"
:publishing-directory "C:\\Users\\bcallies\\Dropbox\\RPG\\Alpha
Red\\org\\html\\images\\"
:publishing-function org-publish-attachment
)
("css-w"
:base-directory "C:\\Users\\bcallies\\Dropbox\\RPG\\Alpha
Red\\org\\css"
:base-extension "css"
:publishing-directory "C:\\Users\\bcallies\\Dropbox\\RPG\\Alpha
Red\\org\\html\\css\\"
:publishing-function org-publish-attachment
)
("AlphaRedWin" :components ("alpharednotes-w" "images-w" "css-w"))
))
Thank You,
Brian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Wrong Type Error When Publishing Project
2013-07-26 21:01 Wrong Type Error When Publishing Project Brian Callies
@ 2013-07-27 1:33 ` Nick Dokos
2013-07-27 6:21 ` Nick Dokos
2013-07-27 13:58 ` Brian Callies
0 siblings, 2 replies; 7+ messages in thread
From: Nick Dokos @ 2013-07-27 1:33 UTC (permalink / raw)
To: emacs-orgmode
Brian Callies <brian@gibbous.org> writes:
> I'm sure I must be doing something obviously wrong, but I've had no
> success at publishing a project I've just created. I've been working
> on this error for some time, incidentally fixing other mistakes, but
> I'm unable to get it working. I get the same error on Arch Linux, as
> I do on Win8. I'm using Org-mode 8.0.5.
>
> I get the following error: Wrong type argument: stringp
>
> My project config is below. Images-w and css-w export fine on their
> own, but alpharednotes-w and AlphaRedWin both fail with the error
> above.
>
> (setq org-publish-project-alist
> '(
> ("alpharednotes-w"
> :base-directory "C:/Users/bcallies/Dropbox/RPG/Alpha Red/org"
> :base-extension "org"
> :publishing-directory "C:/Users/bcallies/Dropbox/RPG/Alpha
> Red/org/html/"
> ; :recursive t
> :publishing-function org-publish-org-to-html
This was valid for org 7.x, but for org 8.x you have to say
:publishing-function org-html-publish-to-html
--
Nick
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Wrong Type Error When Publishing Project
2013-07-27 1:33 ` Nick Dokos
@ 2013-07-27 6:21 ` Nick Dokos
2013-07-27 14:20 ` Brian Callies
2013-07-27 13:58 ` Brian Callies
1 sibling, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2013-07-27 6:21 UTC (permalink / raw)
To: emacs-orgmode
Nick Dokos <ndokos@gmail.com> writes:
> Brian Callies <brian@gibbous.org> writes:
>
>> I'm sure I must be doing something obviously wrong, but I've had no
>> success at publishing a project I've just created. I've been working
>> on this error for some time, incidentally fixing other mistakes, but
>> I'm unable to get it working. I get the same error on Arch Linux, as
>> I do on Win8. I'm using Org-mode 8.0.5.
>>
>> I get the following error: Wrong type argument: stringp
>>
>> My project config is below. Images-w and css-w export fine on their
>> own, but alpharednotes-w and AlphaRedWin both fail with the error
>> above.
>>
>> (setq org-publish-project-alist
>> '(
>> ("alpharednotes-w"
>> :base-directory "C:/Users/bcallies/Dropbox/RPG/Alpha Red/org"
>> :base-extension "org"
>> :publishing-directory "C:/Users/bcallies/Dropbox/RPG/Alpha
>> Red/org/html/"
>> ; :recursive t
>> :publishing-function org-publish-org-to-html
>
> This was valid for org 7.x, but for org 8.x you have to say
>
> :publishing-function org-html-publish-to-html
>
BTW, you should check your installation: presumably you are not getting
on error when calling org-publish-org-to-html, which means that it is
somehow defined - but it should not be if you are running 8.x. You might
be getting the orgmode bundled with emacs: if that's true, that's a
state of affairs that is bound to be confusing.
--
Nick
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Wrong Type Error When Publishing Project
2013-07-27 1:33 ` Nick Dokos
2013-07-27 6:21 ` Nick Dokos
@ 2013-07-27 13:58 ` Brian Callies
2013-07-28 15:47 ` Nick Dokos
1 sibling, 1 reply; 7+ messages in thread
From: Brian Callies @ 2013-07-27 13:58 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]
Thank you. I thought it was probably something like this.
Is there updated documentation yet for 8.x?
The Worg link below is one site I based my attempt on:
http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html
-Brian
On 07/26/2013 08:33 PM, Nick Dokos wrote:
> Brian Callies <brian@gibbous.org> writes:
>
>> I'm sure I must be doing something obviously wrong, but I've had no
>> success at publishing a project I've just created. I've been working
>> on this error for some time, incidentally fixing other mistakes, but
>> I'm unable to get it working. I get the same error on Arch Linux, as
>> I do on Win8. I'm using Org-mode 8.0.5.
>>
>> I get the following error: Wrong type argument: stringp
>>
>> My project config is below. Images-w and css-w export fine on their
>> own, but alpharednotes-w and AlphaRedWin both fail with the error
>> above.
>>
>> (setq org-publish-project-alist
>> '(
>> ("alpharednotes-w"
>> :base-directory "C:/Users/bcallies/Dropbox/RPG/Alpha Red/org"
>> :base-extension "org"
>> :publishing-directory "C:/Users/bcallies/Dropbox/RPG/Alpha
>> Red/org/html/"
>> ; :recursive t
>> :publishing-function org-publish-org-to-html
> This was valid for org 7.x, but for org 8.x you have to say
>
> :publishing-function org-html-publish-to-html
>
> --
> Nick
>
>
[-- Attachment #2: Type: text/html, Size: 2052 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Wrong Type Error When Publishing Project
2013-07-27 6:21 ` Nick Dokos
@ 2013-07-27 14:20 ` Brian Callies
0 siblings, 0 replies; 7+ messages in thread
From: Brian Callies @ 2013-07-27 14:20 UTC (permalink / raw)
To: emacs-orgmode
On 07/27/2013 01:21 AM, Nick Dokos wrote:
> Nick Dokos <ndokos@gmail.com> writes:
>
>>
>> This was valid for org 7.x, but for org 8.x you have to say
>>
>> :publishing-function org-html-publish-to-html
>>
> BTW, you should check your installation: presumably you are not getting
> on error when calling org-publish-org-to-html, which means that it is
> somehow defined - but it should not be if you are running 8.x. You might
> be getting the orgmode bundled with emacs: if that's true, that's a
> state of affairs that is bound to be confusing.
>
I was concerned about his too. But, when I do M-x org-version, it does
say 8.0.5 which is the version I downloaded manually and installed. For
some reason I could never get the ELPA version to load.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Wrong Type Error When Publishing Project
2013-07-27 13:58 ` Brian Callies
@ 2013-07-28 15:47 ` Nick Dokos
2013-07-30 10:56 ` Bastien
0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2013-07-28 15:47 UTC (permalink / raw)
To: emacs-orgmode
Brian Callies <brian@gibbous.org> writes:
> Thank you. I thought it was probably something like this.
>
> Is there updated documentation yet for 8.x?
>
> The Worg link below is one site I based my attempt on:
> http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html
>
The manual is updated, but it does not mention specific publishing
functions IIRC. The rule is that publishing functions are no longer
considered part of the publishing engine: instead, they are part of
the backend. So if you want to publish to HTML, you should be looking
for a publishing function whose name begins with "org-html-publish-...",
not "org-publish-...".
See
http://orgmode.org/worg/org-8.0.html
for a list of such changes (not just in publishing).
--
Nick
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Wrong Type Error When Publishing Project
2013-07-28 15:47 ` Nick Dokos
@ 2013-07-30 10:56 ` Bastien
0 siblings, 0 replies; 7+ messages in thread
From: Bastien @ 2013-07-30 10:56 UTC (permalink / raw)
To: Nick Dokos; +Cc: emacs-orgmode
Nick Dokos <ndokos@gmail.com> writes:
> The manual is updated, but it does not mention specific publishing
> functions IIRC.
Core publishing functions are here in the manual:
http://orgmode.org/org.html#Publishing-action
At least
org-html-publish-to-html
org-latex-publish-to-pdf
org-org-publish-to-org
But yes, we could not document all of them on the manual,
people have to check their export libraries.
2 cts,
--
Bastien
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-07-30 10:56 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 21:01 Wrong Type Error When Publishing Project Brian Callies
2013-07-27 1:33 ` Nick Dokos
2013-07-27 6:21 ` Nick Dokos
2013-07-27 14:20 ` Brian Callies
2013-07-27 13:58 ` Brian Callies
2013-07-28 15:47 ` Nick Dokos
2013-07-30 10:56 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.