* org-koma-letter-template: Wrong type argument: char-or-string-p, nil
@ 2019-03-08 8:11 Joseph Vidal-Rosset
2019-03-08 9:31 ` Joseph Vidal-Rosset
2019-03-08 9:36 ` Eric S Fraga
0 siblings, 2 replies; 7+ messages in thread
From: Joseph Vidal-Rosset @ 2019-03-08 8:11 UTC (permalink / raw)
To: emacs-orgmode list
Hello,
I'm trying to export to koma class, and especially to get the export to
koma letter but I meet always the same message:
"org-koma-letter-template: Wrong type argument: char-or-string-p, nil"
and I do not succeed to see what is wrong in my setup. Therefore your
help is welcome.
Best wishes,
Jo.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-koma-letter-template: Wrong type argument: char-or-string-p, nil
2019-03-08 8:11 org-koma-letter-template: Wrong type argument: char-or-string-p, nil Joseph Vidal-Rosset
@ 2019-03-08 9:31 ` Joseph Vidal-Rosset
2019-03-08 10:46 ` Eric S Fraga
2019-03-08 9:36 ` Eric S Fraga
1 sibling, 1 reply; 7+ messages in thread
From: Joseph Vidal-Rosset @ 2019-03-08 9:31 UTC (permalink / raw)
To: emacs-orgmode list; +Cc: Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 795 bytes --]
Hello,
There was a problem with the last version of ox-koma-letter.el , I have
replaced it with an old version:
;;; ox-koma-letter.el --- KOMA Scrlttr2 Back-End for Org Export Engine
;; Copyright (C) 2007-2012, 2014 Free Software Foundation, Inc.
and now the export works.
I hope that it will be helpful.
Best wishes,
Jo.
Le ven. 8 mars 2019 à 09:11, Joseph Vidal-Rosset <
joseph.vidal.rosset@gmail.com> a écrit :
> Hello,
>
> I'm trying to export to koma class, and especially to get the export to
> koma letter but I meet always the same message:
>
> "org-koma-letter-template: Wrong type argument: char-or-string-p, nil"
>
> and I do not succeed to see what is wrong in my setup. Therefore your
> help is welcome.
>
> Best wishes,
>
> Jo.
>
[-- Attachment #2: Type: text/html, Size: 2416 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-koma-letter-template: Wrong type argument: char-or-string-p, nil
2019-03-08 9:31 ` Joseph Vidal-Rosset
@ 2019-03-08 10:46 ` Eric S Fraga
0 siblings, 0 replies; 7+ messages in thread
From: Eric S Fraga @ 2019-03-08 10:46 UTC (permalink / raw)
To: Joseph Vidal-Rosset; +Cc: Nicolas Goaziou, emacs-orgmode list
On Friday, 8 Mar 2019 at 10:31, Joseph Vidal-Rosset wrote:
> Hello,
>
> There was a problem with the last version of ox-koma-letter.el , I have
> replaced it with an old version:
Great, but the current version works just fine for me. I think it would
be helpful to isolate why it doesn't work for you as others may fall
into the same problem.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.2.2-249-g51444a
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-koma-letter-template: Wrong type argument: char-or-string-p, nil
2019-03-08 8:11 org-koma-letter-template: Wrong type argument: char-or-string-p, nil Joseph Vidal-Rosset
2019-03-08 9:31 ` Joseph Vidal-Rosset
@ 2019-03-08 9:36 ` Eric S Fraga
2019-03-08 16:53 ` Joseph Vidal-Rosset
1 sibling, 1 reply; 7+ messages in thread
From: Eric S Fraga @ 2019-03-08 9:36 UTC (permalink / raw)
To: Joseph Vidal-Rosset; +Cc: emacs-orgmode list
On Friday, 8 Mar 2019 at 09:11, Joseph Vidal-Rosset wrote:
> Hello,
>
> I'm trying to export to koma class, and especially to get the export to
> koma letter but I meet always the same message:
Two things:
1. could you post a minimal example?
2. what do you see if you M-x toggle-debug-on-error RET first.
I use koma letter export all the time and it works fine for me but I do
think it's fragile.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.2.2-249-g51444a
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-koma-letter-template: Wrong type argument: char-or-string-p, nil
2019-03-08 9:36 ` Eric S Fraga
@ 2019-03-08 16:53 ` Joseph Vidal-Rosset
2019-03-08 17:19 ` Eric S Fraga
0 siblings, 1 reply; 7+ messages in thread
From: Joseph Vidal-Rosset @ 2019-03-08 16:53 UTC (permalink / raw)
To: emacs-orgmode list
Le ven. 08 mars 2019 à 09:36:51 , Eric S Fraga <esflists@gmail.com> a
envoyé ce message:
> On Friday, 8 Mar 2019 at 09:11, Joseph Vidal-Rosset wrote:
>> Hello,
>>
>> I'm trying to export to koma class, and especially to get the export to
>> koma letter but I meet always the same message:
>
> Two things:
>
> 1. could you post a minimal example?
>
> 2. what do you see if you M-x toggle-debug-on-error RET first.
Hello,
I have reinstalled the current version of ox-koma-letter.el to compile
the example given here
https://code.orgmode.org/bzg/worg/raw/master/exporters/koma-letter-new-example.org
and here is the result with M-x toggle-debug-on-error:
Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
format-spec(nil ((116 . #("Mis-shapen chaos of well-seeming forms!" 0 39 (:parent (#("Mis-shapen chaos of well-seeming forms!" 0 39 (:parent #7)))))) (97 . #("Romeo" 0 5 (:parent (#("Romeo" 0 5 (:parent #8)))))) (116 . #("Mis-shapen chaos of well-seeming forms!" 0 39 (:parent (#("Mis-shapen chaos of well-seeming forms!" 0 39 (:parent #9)))))) (107 . "") (100 . "") (99 . "Emacs 27.0.50 (Org mode 9.2.2)") (108 . "french") (76 . "French") (68 #("1580" 0 4 (:parent #12)))))
org-koma-letter-template(#("\n\n\\begin{verse}\nThen plain..." 16 61 (:parent (verse-block ... ...)) 64 101 (:parent (verse-block ... ...)) 104 144 (:parent (verse-block ... ...)) 147 192 (:parent (verse-block ... ...)) 195 237 (:parent (verse-block ... ...)) 240 283 (:parent (verse-block ... ...)) 286 329 (:parent (verse-block ... ...)) 332 369 (:parent (verse-block ... ...)) ...) (:export-options nil :back-end #s(org-export-backend :name koma-letter :parent latex :transcoders (... ... ... ... ...) :options (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :filters nil :blocks nil :menu (107 "Export with KOMA Scrlttr2" ...)) :translate-alist ((export-block . org-koma-letter-export-block) (export-snippet . org-koma-letter-export-snippet) (headline . org-koma-letter-headline) (keyword . org-koma-letter-keyword) (template . org-koma-letter-template) (bold . org-latex-bold) (center-block . org-latex-center-block) (clock . org-latex-clock) (code . org-latex-code) (drawer . org-latex-drawer) (dynamic-block . org-latex-dynamic-block) (entity . org-latex-entity) (example-block . org-latex-example-block) (export-block . org-latex-export-block) (export-snippet . org-latex-export-snippet) (fixed-width . org-latex-fixed-width) (footnote-definition . org-latex-footnote-definition) (footnote-reference . org-latex-footnote-reference) (headline . org-latex-headline) (horizontal-rule . org-latex-horizontal-rule) (inline-src-block . org-latex-inline-src-block) (inlinetask . org-latex-inlinetask) (italic . org-latex-italic) (item . org-latex-item) (keyword . org-latex-keyword) (latex-environment . org-latex-latex-environment) ...) :exported-data #<hash-table eq 64/4001 0x155a9ad8ff3d> :input-buffer "koma-letter-new-example.or..." :input-file "/home/joseph/MEGA/lettre/k..." :latex-class "my-letter" :lco "DINmtext" :author (#("Romeo" 0 5 ...)) :author-changed-in-buffer-p "Romeo" :from-address "" :phone-number "" :url "" ...))
org-export-as(koma-letter nil nil nil (:output-file "koma-letter-new-example.tex"))
org-export-to-file(koma-letter "koma-letter-new-example.tex" nil nil nil nil nil #f(compiled-function (file) #<bytecode 0x155a9ac0fda1>))
org-koma-letter-export-to-pdf(nil nil nil nil)
(org-open-file (org-koma-letter-export-to-pdf nil s v b))
(if a (org-koma-letter-export-to-pdf t s v b) (org-open-file (org-koma-letter-export-to-pdf nil s v b)))
(lambda (a s v b) (if a (org-koma-letter-export-to-pdf t s v b) (org-open-file (org-koma-letter-export-to-pdf nil s v b))))(nil nil nil nil)
org-export-dispatch(nil)
funcall-interactively(org-export-dispatch nil)
call-interactively(org-export-dispatch nil nil)
command-execute(org-export-dispatch)
I hope it helps (because I am unable to understand this output).
Best wishes,
--
Joseph
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-koma-letter-template: Wrong type argument: char-or-string-p, nil
2019-03-08 16:53 ` Joseph Vidal-Rosset
@ 2019-03-08 17:19 ` Eric S Fraga
2019-03-09 8:50 ` Joseph Vidal-Rosset
0 siblings, 1 reply; 7+ messages in thread
From: Eric S Fraga @ 2019-03-08 17:19 UTC (permalink / raw)
To: Joseph Vidal-Rosset; +Cc: emacs-orgmode list
On Friday, 8 Mar 2019 at 17:53, Joseph Vidal-Rosset wrote:
> I have reinstalled the current version of ox-koma-letter.el to compile
> the example given here
> https://code.orgmode.org/bzg/worg/raw/master/exporters/koma-letter-new-example.org
> and here is the result with M-x toggle-debug-on-error:
This is very strange. That file works just fine for me.
What version of org are you using? (I apologise if you already told us.)
I have no special customization for ox-koma-letter.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.2.2-249-g51444a
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-koma-letter-template: Wrong type argument: char-or-string-p, nil
2019-03-08 17:19 ` Eric S Fraga
@ 2019-03-09 8:50 ` Joseph Vidal-Rosset
0 siblings, 0 replies; 7+ messages in thread
From: Joseph Vidal-Rosset @ 2019-03-09 8:50 UTC (permalink / raw)
To: emacs-orgmode list
Le ven. 08 mars 2019 à 05:19:13 , Eric S Fraga <esflists@gmail.com> a
envoyé ce message:
> On Friday, 8 Mar 2019 at 17:53, Joseph Vidal-Rosset wrote:
>> I have reinstalled the current version of ox-koma-letter.el to compile
>> the example given here
>
>> https://code.orgmode.org/bzg/worg/raw/master/exporters/koma-letter-new-example.org
>
>> and here is the result with M-x toggle-debug-on-error:
>
> This is very strange. That file works just fine for me.
>
> What version of org are you using? (I apologise if you already told us.)
>
> I have no special customization for ox-koma-letter.
I'm using the elpa version, both for org-plus-contrib and org:
joseph@debian ~ $ cat MEGA/git/scimax/elpa/org-plus-contrib-20190304/ox-koma-letter.el
;;; ox-koma-letter.el --- KOMA Scrlttr2 Back-End for Org Export Engine
;; Copyright (C) 2007-2018 Free Software Foundation, Inc.
joseph@debian ~ $ cd MEGA/git/scimax/elpa/org-20190304/
I'm going to install the older version of ox-koma-letter.el that works
in my setup, because I am unable to understand why the current version
fails presently.
Best wishes,
--
Jo.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-03-09 8:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-08 8:11 org-koma-letter-template: Wrong type argument: char-or-string-p, nil Joseph Vidal-Rosset
2019-03-08 9:31 ` Joseph Vidal-Rosset
2019-03-08 10:46 ` Eric S Fraga
2019-03-08 9:36 ` Eric S Fraga
2019-03-08 16:53 ` Joseph Vidal-Rosset
2019-03-08 17:19 ` Eric S Fraga
2019-03-09 8:50 ` Joseph Vidal-Rosset
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).