all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-export-as-html: Wrong type argument: stringp, t
@ 2010-09-09 15:45 Emanuele Santoro
  2010-09-09 20:15 ` Emanuele Santoro
  0 siblings, 1 reply; 2+ messages in thread
From: Emanuele Santoro @ 2010-09-09 15:45 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 4530 bytes --]

Hello,
I've been using GNU Emacs and the magnificent org-mode for about a
year, but now I'm having troubles at exporting a org document to html
as i always did up to this morning.

I am running Debian GNU/Linux 6.0 «Squeeze» (now still in testing) and
emacs 23.2.1 .

Debian ships org-mode 7.01g as separate, optional package.
I used to use org-mode 6.33x i had in my home folder.

But let's assume i want to use the debian package, since keeping an
old version of the package isn't an adviceable thing, and since i get
the same error despite the version switch.

The error i get when publishing a file is:

      org-export-as-html: Wrong type argument: stringp, t

So i try M-x toggle-debug-on-error.
Then i try C-e F (publish this file).

That's what i get:

----8<-----8<----8<------8<----8<------8<----8<------8< 

Debugger entered--Lisp error: (wrong-type-argument stringp t)
  string-match("\\S-" t)
  org-export-as-html(1 nil (:buffer-will-be-killed t :base-directory "~/sito/org-files/" :publishing-directory "~/sito/html/" :publish-function org-publish-org-to-html :style "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />" :auto-index nil :convert-org-links t :section-numbers nil :author "Emanuele Santoro" :email "santoro@autistici.org" :table-of-contents 1 :headline-levels 1 :language it :link-home t :plain-source nil :auto-preamble t) nil nil "/home/manu/sito/html/")
  org-publish-org-to("html" (:base-directory "~/sito/org-files/" :publishing-directory "~/sito/html/" :publish-function org-publish-org-to-html :style "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />" :auto-index nil :convert-org-links t :section-numbers nil :author "Emanuele Santoro" :email "santoro@autistici.org" :table-of-contents 1 :headline-levels 1 :language it :link-home t :plain-source nil :auto-preamble t) "/home/manu/sito/org-files/fortune-manager.org" "/home/manu/sito/html/")
  org-publish-org-to-html((:base-directory "~/sito/org-files/" :publishing-directory "~/sito/html/" :publish-function org-publish-org-to-html :style "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />" :auto-index nil :convert-org-links t :section-numbers nil :author "Emanuele Santoro" :email "santoro@autistici.org" :table-of-contents 1 :headline-levels 1 :language it :link-home t :plain-source nil :auto-preamble t) "/home/manu/sito/org-files/fortune-manager.org" "/home/manu/sito/html/")
  org-publish-file("/home/manu/sito/org-files/fortune-manager.org")
  byte-code("205
  Debugger entered--Lisp error: (wrong-type-argument stringp t)
  string-match("\\S-" t)
  org-export-as-html(1 nil (:buffer-will-be-killed t :base-directory "~/sito/org-files/" :publishing-directory "~/sito/html/" :publish-function org-publish-org-to-html :style "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />" :auto-index nil :convert-org-links t :section-numbers nil :author "Emanuele Santoro" :email "santoro@autistici.org" :table-of-contents 1 :headline-levels 1 :language it :link-home t :plain-source nil :auto-preamble t) nil nil "/home/manu/sito/html/")
  org-publish-org-to("html" (:base-directory "~/sito/org-files/" :publishing-directory "~/sito/html/" :publish-function org-publish-org-to-html :style "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />" :auto-index nil :convert-org-links t :section-numbers nil :author "Emanuele Santoro" :email "santoro@autistici.org" :table-of-contents 1 :headline-levels 1 :language it :link-home t :plain-source nil :auto-preamble t) "/home/manu/sito/org-files/fortune-manager.org" "/home/manu/sito/html/")
  org-publish-org-to-html((:base-directory "~/sito/org-files/" :publishing-directory "~/sito/html/" :publish-function org-publish-org-to-html :style "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />" :auto-index nil :convert-org-links t :section-numbers nil :author "Emanuele Santoro" :email "santoro@autistici.org" :table-of-contents 1 :headline-levels 1 :language it :link-home t :plain-source nil :auto-preambl


\302\303 !)\207" [force org-publish-use-timestamps-flag org-publish-file buffer-file-name] 2)
  org-publish-current-file(nil)
  call-interactively(org-publish-current-file)
  org-export(nil)
  call-interactively(org-export nil nil)

----8<-----8<----8<------8<----8<------8<----8<------8< 


And now i cannot export org-files and update my website anymore.

Any hints on how to solve this problem?

Thanks in advance.

Cheers,
-- 
Emanuele Santoro

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: org-export-as-html: Wrong type argument: stringp, t
  2010-09-09 15:45 org-export-as-html: Wrong type argument: stringp, t Emanuele Santoro
@ 2010-09-09 20:15 ` Emanuele Santoro
  0 siblings, 0 replies; 2+ messages in thread
From: Emanuele Santoro @ 2010-09-09 20:15 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 581 bytes --]

On Thu, Sep 09, 2010 at 05:45:46PM +0200, Emanuele Santoro wrote:
>       org-export-as-html: Wrong type argument: stringp, t
> 
Ok, ok.
Thank you all (all?) for the great answers, but I solved by myself.

There was an error in my org-publish-project-alist.

My main project had a wrong :link-home property, which lead to an error
raised when the option was evaluated.

After some debugging, i then fixed setting an appropriate value.

Seems that older emacs versions didn't actually what was the content
of the value.. 

Ok, bye people :-)
-- 
Emanuele Santoro

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2010-09-09 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-09 15:45 org-export-as-html: Wrong type argument: stringp, t Emanuele Santoro
2010-09-09 20:15 ` Emanuele Santoro

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.