emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Emanuele Santoro <santoro@autistici.org>
To: emacs-orgmode@gnu.org
Subject: org-export-as-html: Wrong type argument: stringp, t
Date: Thu, 9 Sep 2010 17:45:46 +0200	[thread overview]
Message-ID: <20100909154546.GA4944@joker.santoro.tk> (raw)


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

             reply	other threads:[~2010-09-09 15:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-09 15:45 Emanuele Santoro [this message]
2010-09-09 20:15 ` org-export-as-html: Wrong type argument: stringp, t Emanuele Santoro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100909154546.GA4944@joker.santoro.tk \
    --to=santoro@autistici.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).