emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Error exporting a project
@ 2012-02-12 12:30 Leandro Noferini
  2012-02-12 15:43 ` Nick Dokos
  0 siblings, 1 reply; 9+ messages in thread
From: Leandro Noferini @ 2012-02-12 12:30 UTC (permalink / raw)
  To: emacs-orgmode

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

Ciao a tutti,

I am using org-mode 7.8.03 coming with emacs  24.0.93.1
(x86_64-pc-linux-gnu, GTK+ Version 3.2.3) from debian package.

I defined a project like this for my little blog:

(setq org-publish-project-alist
      '(("Blog"
	 :base-directory "~/Documenti/org/"
	 :publishing-directory "~/Documenti/Personali/Blog/"
	 :base-extension "org"
	 :section-numbers nil
	 :table-of-contents nil
	 :include "blog.org"
	 :tasks nil
	 :author "Leandro Noferini"
	 :email "lnoferin@cybervalley.org"

but when I try to export to html I get this error (in Messages buffer)

mapc: Wrong type argument: sequencep, 98

What's wrong?

P.S.: I am not subscribed to this list and I will read your kind answers
via gmane.

-- 
Ciao
leandro
http://oivabkctz4ajdnwa.onion/blog/
gpg fingerprint: 54A4 2612 FD50 0313 7FED  6A91 DA5C 1552 E7A4 D6C2
\    /
 ~~~~   The only ASCII history possible
/    \

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

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

* Re: Error exporting a project
  2012-02-12 12:30 Error exporting a project Leandro Noferini
@ 2012-02-12 15:43 ` Nick Dokos
  2012-02-12 17:35   ` Leandro Noferini
  0 siblings, 1 reply; 9+ messages in thread
From: Nick Dokos @ 2012-02-12 15:43 UTC (permalink / raw)
  To: Leandro Noferini; +Cc: nicholas.dokos, emacs-orgmode

Leandro Noferini <lnoferin@cybervalley.org> wrote:

> Ciao a tutti,
> 
> I am using org-mode 7.8.03 coming with emacs  24.0.93.1
> (x86_64-pc-linux-gnu, GTK+ Version 3.2.3) from debian package.
> 
> I defined a project like this for my little blog:
> 
> (setq org-publish-project-alist
>       '(("Blog"
> 	 :base-directory "~/Documenti/org/"
> 	 :publishing-directory "~/Documenti/Personali/Blog/"
> 	 :base-extension "org"
> 	 :section-numbers nil
> 	 :table-of-contents nil
> 	 :include "blog.org"
> 	 :tasks nil
> 	 :author "Leandro Noferini"
> 	 :email "lnoferin@cybervalley.org"
> 

This is incomplete - please send the complete entry.

> but when I try to export to html I get this error (in Messages buffer)
> 
> mapc: Wrong type argument: sequencep, 98
> 
> What's wrong?
> 

M-x toggle-debug-on-error RET and then try to publish. You should
get a backtrace: post the full backtrace to this list.

Nick

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

* Re: Error exporting a project
  2012-02-12 15:43 ` Nick Dokos
@ 2012-02-12 17:35   ` Leandro Noferini
  2012-02-12 17:50     ` Nick Dokos
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Leandro Noferini @ 2012-02-12 17:35 UTC (permalink / raw)
  To: emacs-orgmode

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

Nick Dokos <nicholas.dokos@hp.com> writes:


[...]

>> (setq org-publish-project-alist
>>       '(("Blog"
>> 	 :base-directory "~/Documenti/org/"
>> 	 :publishing-directory "~/Documenti/Personali/Blog/"
>> 	 :base-extension "org"
>> 	 :section-numbers nil
>> 	 :table-of-contents nil
>> 	 :include "blog.org"
>> 	 :tasks nil
>> 	 :author "Leandro Noferini"
>> 	 :email "lnoferin@cybervalley.org"
>> 
>
> This is incomplete - please send the complete entry.

It lacks only the three closing parenthesis.

>> but when I try to export to html I get this error (in Messages buffer)
>> 
>> mapc: Wrong type argument: sequencep, 98
>> 
>> What's wrong?
>> 
>
> M-x toggle-debug-on-error RET and then try to publish. You should
> get a backtrace: post the full backtrace to this list.

I did not remember how to have the debug, thanks!

This is the Backtrace:

Debugger entered--Lisp error: (wrong-type-argument sequencep 98)
  #[(f) "\304\b	P!\305\n\v\"\203\0\v\202\0\n\vB\211)\207" [base-dir f x org-publish-temp-files expand-file-name memql] 3](98)
  mapc(#[(f) "\304\b	P!\305\n\v\"\203\0\v\202\0\n\vB\211)\207" [base-dir f x org-publish-temp-files expand-file-name memql] 3] "blog.org")
  org-publish-get-base-files(("Blog" :base-directory "~/Documenti/org/" :publishing-directory "~/Documenti/Personali/Blog/" :base-extension "org" :section-numbers nil :table-of-contents nil :include "blog.org" :tasks nil :author "Leandro Noferini" :email "lnoferin@cybervalley.org") nil)
  #[(project) "\306\b@!\210\bA\307	\310\"\307	\311\"\307	\312\"\206\0\313\307	\314\"\206#\315\307	\316\"\206-\x0e\x1f \307	\317\"\2068\x0e!\"\307	\320\"\x15\307	\321\"\x1d\322\b\n\"#\323$\x15\203X\324\325!\210\v\203a\r\b\f\"\210#\211A#@\211$\203x\326$\b\327#\210\202a\307	\330\"\203\222\331\307	\332\"!\210\326\333\334\307	\332\"\"\b\327#\210\x1d\203\233\324\335!\210\336 .\v\207" [project project-plist exclude-regexp sitemap-p sitemap-filename sitemap-function org-publish-initialize-cache plist-get :exclude :auto-sitemap :sitemap-filename "sitemap.org" :sitemap-function org-publish-org-sitemap :sitemap-date-format :sitemap-file-entry-format :preparation-function :completion-function org-publish-get-base-files nil run-hooks preparation-function org-publish-file t :makeindex org-publish-index-generate-theindex :base-directory expand-file-name "theindex.org" completion-function org-publish-write-cache-file org-publish-sitemap-date-format org-sitemap-date-format org-publish-sitemap-file-entry-format org-sitemap-file-entry-format files file] 6](("Blog" :base-directory "~/Documenti/org/" :publishing-directory "~/Documenti/Personali/Blog/" :base-extension "org" :section-numbers nil :table-of-contents nil :include "blog.org" :tasks nil :author "Leandro Noferini" :email "lnoferin@cybervalley.org"))
  mapc(#[(project) "\306\b@!\210\bA\307	\310\"\307	\311\"\307	\312\"\206\0\313\307	\314\"\206#\315\307	\316\"\206-\x0e\x1f \307	\317\"\2068\x0e!\"\307	\320\"\x15\307	\321\"\x1d\322\b\n\"#\323$\x15\203X\324\325!\210\v\203a\r\b\f\"\210#\211A#@\211$\203x\326$\b\327#\210\202a\307	\330\"\203\222\331\307	\332\"!\210\326\333\334\307	\332\"\"\b\327#\210\x1d\203\233\324\335!\210\336 .\v\207" [project project-plist exclude-regexp sitemap-p sitemap-filename sitemap-function org-publish-initialize-cache plist-get :exclude :auto-sitemap :sitemap-filename "sitemap.org" :sitemap-function org-publish-org-sitemap :sitemap-date-format :sitemap-file-entry-format :preparation-function :completion-function org-publish-get-base-files nil run-hooks preparation-function org-publish-file t :makeindex org-publish-index-generate-theindex :base-directory expand-file-name "theindex.org" completion-function org-publish-write-cache-file org-publish-sitemap-date-format org-sitemap-date-format org-publish-sitemap-file-entry-format org-sitemap-file-entry-format files file] 6] (("Blog" :base-directory "~/Documenti/org/" :publishing-directory "~/Documenti/Personali/Blog/" :base-extension "org" :section-numbers nil :table-of-contents nil :include "blog.org" :tasks nil :author "Leandro Noferini" :email "lnoferin@cybervalley.org")))
  org-publish-projects((("Blog" :base-directory "~/Documenti/org/" :publishing-directory "~/Documenti/Personali/Blog/" :base-extension "org" :section-numbers nil :table-of-contents nil :include "blog.org" :tasks nil :author "Leandro Noferini" :email "lnoferin@cybervalley.org")))
  org-publish(("Blog" :base-directory "~/Documenti/org/" :publishing-directory "~/Documenti/Personali/Blog/" :base-extension "org" :section-numbers nil :table-of-contents nil :include "blog.org" :tasks nil :author "Leandro Noferini" :email "lnoferin@cybervalley.org") nil)
  call-interactively(org-publish)
  org-export(nil)
  call-interactively(org-export nil nil)

What should I look for?

-- 
Ciao
leandro
http://oivabkctz4ajdnwa.onion/blog/
gpg fingerprint: 54A4 2612 FD50 0313 7FED  6A91 DA5C 1552 E7A4 D6C2
\    /
 ~~~~   The only ASCII history possible
/    \

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

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

* Re: Error exporting a project
  2012-02-12 17:35   ` Leandro Noferini
@ 2012-02-12 17:50     ` Nick Dokos
  2012-02-12 17:55     ` Nick Dokos
  2012-02-12 18:02     ` Nick Dokos
  2 siblings, 0 replies; 9+ messages in thread
From: Nick Dokos @ 2012-02-12 17:50 UTC (permalink / raw)
  To: Leandro Noferini; +Cc: nicholas.dokos, emacs-orgmode

Leandro Noferini <lnoferin@cybervalley.org> wrote:

> Nick Dokos <nicholas.dokos@hp.com> writes:
> 
> 
> [...]
> 
> >> (setq org-publish-project-alist
> >>       '(("Blog"
> >> 	 :base-directory "~/Documenti/org/"
> >> 	 :publishing-directory "~/Documenti/Personali/Blog/"
> >> 	 :base-extension "org"
> >> 	 :section-numbers nil
> >> 	 :table-of-contents nil
> >> 	 :include "blog.org"
> >> 	 :tasks nil
> >> 	 :author "Leandro Noferini"
> >> 	 :email "lnoferin@cybervalley.org"
> >> 
> >
> > This is incomplete - please send the complete entry.
> 
> It lacks only the three closing parenthesis.
> 
> >> but when I try to export to html I get this error (in Messages buffer)
> >> 
> >> mapc: Wrong type argument: sequencep, 98
> >> 
> >> What's wrong?
> >> 
> >
> > M-x toggle-debug-on-error RET and then try to publish. You should
> > get a backtrace: post the full backtrace to this list.
> 
> I did not remember how to have the debug, thanks!
> 
> This is the Backtrace:
> 
> Debugger entered--Lisp error: (wrong-type-argument sequencep 98)
>   #[(f) "\304\b	P!\305\n\v\"\203map-function org-publish-initialize-cache plist-get :exclude :auto-sitemap :sitemap-filename "sitemap.org" :sitemap-function org-publish-org-sitemap :sitemap-date-format :sitemap-file-entry-format :preparation-function :completion-function org-publish-get-base-files nil run-hooks preparation-function org-publish-file t :makeindex org-publish-index-generate-theindex :base-directory expand-file-name "theindex.org" completion-function org-publish-write-cache-file org-publish-sitemap-date-format org-sitemap-date-format org-publish-sitemap-file-entry-format org-sitemap-file-entry-format files file] 6] (("Blog" :base-directory "~/Documenti/org/" :publishing-directory "~/Documenti/Personali/Blog/" :base-extension "org" :section-numbers nil :table-of-contents nil :i
 nclude "blog.org" :tasks nil :author "Leandro Noferini" :email "lnoferin@cybervalley.org")))
>   org-publish-projects((("Blog" :base-directory "~/Documenti/org/" :publishing-directory "~/Documenti/Personali/Blog/" :base-extension "org" :section-numbers nil :table-of-contents nil :include "blog.org" :tasks nil :author "Leandro Noferini" :email "lnoferin@cybervalley.org")))
>   org-publish(("Blog" :base-directory "~/Documenti/org/" :publishing-directory "~/Documenti/Personali/Blog/" :base-extension "org" :section-numbers nil :table-of-contents nil :include "blog.org" :tasks nil :author "Leandro Noferini" :email "lnoferin@cybervalley.org") nil)
>   call-interactively(org-publish)
>   org-export(nil)
>   call-interactively(org-export nil nil)
> 
> What should I look for?
> 
> -- 
> Ciao
> leandro
> http://oivabkctz4ajdnwa.onion/blog/
> gpg fingerprint: 54A4 2612 FD50 0313 7FED  6A91 DA5C 1552 E7A4 D6C2
> \    /
>  ~~~~   The only ASCII history possible
> /    \

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

* Re: Error exporting a project
  2012-02-12 17:35   ` Leandro Noferini
  2012-02-12 17:50     ` Nick Dokos
@ 2012-02-12 17:55     ` Nick Dokos
  2012-02-12 18:02     ` Nick Dokos
  2 siblings, 0 replies; 9+ messages in thread
From: Nick Dokos @ 2012-02-12 17:55 UTC (permalink / raw)
  To: Leandro Noferini; +Cc: nicholas.dokos, emacs-orgmode

[OK - let me try this again. Not sure what happened.]

Leandro Noferini <lnoferin@cybervalley.org> wrote:


> >> 	 :include "blog.org"

> Debugger entered--Lisp error: (wrong-type-argument sequencep 98)
>   #[(f) "\304\b	P!\305\n\v\"\203

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

* Re: Error exporting a project
  2012-02-12 17:35   ` Leandro Noferini
  2012-02-12 17:50     ` Nick Dokos
  2012-02-12 17:55     ` Nick Dokos
@ 2012-02-12 18:02     ` Nick Dokos
  2012-02-12 18:25       ` Leandro Noferini
  2 siblings, 1 reply; 9+ messages in thread
From: Nick Dokos @ 2012-02-12 18:02 UTC (permalink / raw)
  To: Leandro Noferini; +Cc: nicholas.dokos, emacs-orgmode

[AAARGH - third attempt - not having much luck]

Leandro Noferini <lnoferin@cybervalley.org> wrote:


> >> 	 :include "blog.org"
> >> 
> >> mapc: Wrong type argument: sequencep, 98
> >> 
> >> What's wrong?
> >> 
> >
> > M-x toggle-debug-on-error RET and then try to publish. You should
> > get a backtrace: post the full backtrace to this list.
> 
> I did not remember how to have the debug, thanks!
> 
> This is the Backtrace:
> 

:include takes a list of files as argument. The mapc iterates over
the list. Here it iterates over the string and chokes on the first
letter (b = 98 in ascii)

Try

:include ("blog.org")

Nick

PS If this doesn't go through unscathed, I'll give up and go take a nap.

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

* Re: Error exporting a project
  2012-02-12 18:02     ` Nick Dokos
@ 2012-02-12 18:25       ` Leandro Noferini
  2012-02-12 18:39         ` Nick Dokos
  0 siblings, 1 reply; 9+ messages in thread
From: Leandro Noferini @ 2012-02-12 18:25 UTC (permalink / raw)
  To: emacs-orgmode

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

Nick Dokos <nicholas.dokos@hp.com> writes:

> [AAARGH - third attempt - not having much luck]

This was the right one!

;-)

[...]

>> >> 	 :include "blog.org"
>> >> 
>> >> mapc: Wrong type argument: sequencep, 98
>> >> 
>> >> What's wrong?
>> >> 
>> >
>> > M-x toggle-debug-on-error RET and then try to publish. You should
>> > get a backtrace: post the full backtrace to this list.
>> 
>> I did not remember how to have the debug, thanks!
>> 
>> This is the Backtrace:
>> 
>
> :include takes a list of files as argument. The mapc iterates over
> the list. Here it iterates over the string and chokes on the first
> letter (b = 98 in ascii)
>
> Try
>
> :include ("blog.org")

Now the error disapperead but now it exports every file of the directory
defined in the :base-directory variable.

> PS If this doesn't go through unscathed, I'll give up and go take a
> nap.

No no, please: this was the right answer!

:-)

-- 
Ciao
leandro
http://oivabkctz4ajdnwa.onion/blog/
gpg fingerprint: 54A4 2612 FD50 0313 7FED  6A91 DA5C 1552 E7A4 D6C2
\    /
 ~~~~   The only ASCII history possible
/    \

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

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

* Re: Error exporting a project
  2012-02-12 18:25       ` Leandro Noferini
@ 2012-02-12 18:39         ` Nick Dokos
  2012-02-12 21:02           ` Leandro Noferini
  0 siblings, 1 reply; 9+ messages in thread
From: Nick Dokos @ 2012-02-12 18:39 UTC (permalink / raw)
  To: Leandro Noferini; +Cc: nicholas.dokos, emacs-orgmode

Leandro Noferini <lnoferin@cybervalley.org> wrote:

> > Try
> >
> > :include ("blog.org")
> 
> Now the error disapperead but now it exports every file of the directory
> defined in the :base-directory variable.
> 

Every org file perhaps but not every file surely.  Section 13.1.3,
"Selecting files", of the the Org manual should be useful.

You can use (untested)

:exclude ".*"
:include ("blog.org")

to exclude everything and include just your blog.org. Or move all
the other .org files away from that base directory.

Nick

> > PS If this doesn't go through unscathed, I'll give up and go take a
> > nap.
> 
> No no, please: this was the right answer!
> 

I still need a nap...

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

* Re: Error exporting a project
  2012-02-12 18:39         ` Nick Dokos
@ 2012-02-12 21:02           ` Leandro Noferini
  0 siblings, 0 replies; 9+ messages in thread
From: Leandro Noferini @ 2012-02-12 21:02 UTC (permalink / raw)
  To: emacs-orgmode

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

Nick Dokos <nicholas.dokos@hp.com> writes:


[...]

>> > :include ("blog.org")
>> 
>> Now the error disapperead but now it exports every file of the directory
>> defined in the :base-directory variable.
>> 
>
> Every org file perhaps but not every file surely.  Section 13.1.3,
> "Selecting files", of the the Org manual should be useful.
>
> You can use (untested)
>
> :exclude ".*"
> :include ("blog.org")
>
> to exclude everything and include just your blog.org. Or move all
> the other .org files away from that base directory.

Ok, this works!

>> > PS If this doesn't go through unscathed, I'll give up and go take a
>> > nap.
>> 
>> No no, please: this was the right answer!
>> 
>
> I still need a nap...

Have a good rest!

:-)

Thanks a lot!

-- 
Ciao
leandro
http://oivabkctz4ajdnwa.onion/blog/
gpg fingerprint: 54A4 2612 FD50 0313 7FED  6A91 DA5C 1552 E7A4 D6C2
\    /
 ~~~~   The only ASCII history possible
/    \

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

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

end of thread, other threads:[~2012-02-12 21:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-12 12:30 Error exporting a project Leandro Noferini
2012-02-12 15:43 ` Nick Dokos
2012-02-12 17:35   ` Leandro Noferini
2012-02-12 17:50     ` Nick Dokos
2012-02-12 17:55     ` Nick Dokos
2012-02-12 18:02     ` Nick Dokos
2012-02-12 18:25       ` Leandro Noferini
2012-02-12 18:39         ` Nick Dokos
2012-02-12 21:02           ` Leandro Noferini

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