* bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument
@ 2012-10-24 7:15 Jambunathan K
2012-10-24 7:25 ` bug#12718: [PATCH] " Jambunathan K
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Jambunathan K @ 2012-10-24 7:15 UTC (permalink / raw)
To: 12718
When I try to export to ODT (without invoking the new exporter or
anything), I get:
OpenDocument export failed: Wrong type argument: stringp,
(org-export-odt-preprocess-latex-fragments)
In GNU Emacs 24.2.50.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2012-10-24 on debian-6.05
Bzr revision: 110628 eggert@cs.ucla.edu-20121023075742-brrrzyk83cmaedx0
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
value of $LANG: en_IN
locale-coding-system: iso-latin-1-unix
default enable-multibyte-characters: t
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#12718: [PATCH] Re: bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument
2012-10-24 7:15 bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument Jambunathan K
@ 2012-10-24 7:25 ` Jambunathan K
2012-10-24 13:32 ` Bastien
2012-10-24 13:32 ` Bastien
2 siblings, 0 replies; 10+ messages in thread
From: Jambunathan K @ 2012-10-24 7:25 UTC (permalink / raw)
To: 12718
[-- Attachment #1: Type: text/plain, Size: 442 bytes --]
Jambunathan K <kjambunathan@gmail.com> writes:
> When I try to export to ODT (without invoking the new exporter or
> anything), I get:
>
> OpenDocument export failed: Wrong type argument: stringp,
> (org-export-odt-preprocess-latex-fragments)
This is an `unforced error' from previous merge from Org. I am
attaching a patch.
Here is a patch. This is a user-facing error and gets in the way of
export. So please clear this patch, asap.
[-- Attachment #2: bug12718.diff --]
[-- Type: text/x-diff, Size: 2902 bytes --]
=== modified file 'lisp/org/ChangeLog'
--- lisp/org/ChangeLog 2012-10-05 05:57:24 +0000
+++ lisp/org/ChangeLog 2012-10-24 07:20:00 +0000
@@ -1,3 +1,8 @@
+2012-10-24 Jambunathan K <kjambunathan@gmail.com>
+
+ * org-lparse.el: Move some hooks from `org-lparse' to
+ `org-do-lparse (Bug#12718).
+
2012-09-30 Abdó Roig-Maranges <abdo.roig@gmail.com>
* org-html.el (org-export-html-preprocess)
=== modified file 'lisp/org/org-lparse.el'
--- lisp/org/org-lparse.el 2012-09-30 15:14:59 +0000
+++ lisp/org/org-lparse.el 2012-10-24 07:02:52 +0000
@@ -435,10 +435,6 @@ PUB-DIR specifies the publishing directo
(let* ((org-lparse-backend (intern native-backend))
(org-lparse-other-backend (and target-backend
(intern target-backend))))
- (add-hook 'org-export-preprocess-hook
- 'org-lparse-strip-experimental-blocks-maybe)
- (add-hook 'org-export-preprocess-after-blockquote-hook
- 'org-lparse-preprocess-after-blockquote)
(unless (org-lparse-backend-is-native-p native-backend)
(error "Don't know how to export natively to backend %s" native-backend))
@@ -446,12 +442,7 @@ PUB-DIR specifies the publishing directo
(org-lparse-reachable-p native-backend target-backend))
(error "Don't know how to export to backend %s %s" target-backend
(format "via %s" native-backend)))
- (run-hooks 'org-export-first-hook)
- (org-do-lparse arg hidden ext-plist to-buffer body-only pub-dir)
- (remove-hook 'org-export-preprocess-hook
- 'org-lparse-strip-experimental-blocks-maybe)
- (remove-hook 'org-export-preprocess-after-blockquote-hook
- 'org-lparse-preprocess-after-blockquote)))
+ (org-do-lparse arg hidden ext-plist to-buffer body-only pub-dir)))
(defcustom org-lparse-use-flashy-warning nil
"Control flashing of messages logged with `org-lparse-warn'.
@@ -594,6 +585,16 @@ version."
(setq-default org-deadline-line-regexp org-deadline-line-regexp)
(setq-default org-done-keywords org-done-keywords)
(setq-default org-maybe-keyword-time-regexp org-maybe-keyword-time-regexp)
+
+ ;; Run first hook.
+ (run-hooks 'org-export-first-hook)
+
+ ;; Add pre-process hooks.
+ (add-hook 'org-export-preprocess-hook
+ 'org-lparse-strip-experimental-blocks-maybe)
+ (add-hook 'org-export-preprocess-after-blockquote-hook
+ 'org-lparse-preprocess-after-blockquote)
+
(let* (hfy-user-sheet-assoc ; let `htmlfontify' know that
; we are interested in
; collecting styles
@@ -785,6 +786,11 @@ version."
org-lparse-toc
href
)
+ ;; Remove pre-process hooks.
+ (remove-hook 'org-export-preprocess-hook
+ 'org-lparse-strip-experimental-blocks-maybe)
+ (remove-hook 'org-export-preprocess-after-blockquote-hook
+ 'org-lparse-preprocess-after-blockquote)
(let ((inhibit-read-only t))
(org-unmodified
[-- Attachment #3: Type: text/plain, Size: 393 bytes --]
> In GNU Emacs 24.2.50.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
> of 2012-10-24 on debian-6.05
> Bzr revision: 110628 eggert@cs.ucla.edu-20121023075742-brrrzyk83cmaedx0
> Windowing system distributor `The X.Org Foundation', version 11.0.10707000
> Important settings:
> value of $LANG: en_IN
> locale-coding-system: iso-latin-1-unix
> default enable-multibyte-characters: t
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument
2012-10-24 7:15 bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument Jambunathan K
2012-10-24 7:25 ` bug#12718: [PATCH] " Jambunathan K
@ 2012-10-24 13:32 ` Bastien
2012-10-24 13:48 ` bug#12718: [O] " Christian Moe
2012-10-24 13:48 ` bug#12718: " Christian Moe
2012-10-24 13:32 ` Bastien
2 siblings, 2 replies; 10+ messages in thread
From: Bastien @ 2012-10-24 13:32 UTC (permalink / raw)
To: Jambunathan K; +Cc: 12718
Hi Jambunathan,
Jambunathan K <kjambunathan@gmail.com> writes:
> When I try to export to ODT (without invoking the new exporter or
> anything), I get:
>
> OpenDocument export failed: Wrong type argument: stringp,
> (org-export-odt-preprocess-latex-fragments)
I cannot reproduce this with current Emacs trunk and
emacs -Q
C-x C-f test.org RET
[some simple org file]
C-c C-e o
How can I reproduce the problem above?
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#12718: [O] bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument
2012-10-24 13:32 ` Bastien
@ 2012-10-24 13:48 ` Christian Moe
2012-10-24 13:48 ` bug#12718: " Christian Moe
1 sibling, 0 replies; 10+ messages in thread
From: Christian Moe @ 2012-10-24 13:48 UTC (permalink / raw)
To: Bastien; +Cc: 12718, Jambunathan K
Hi, Bastien,
Apologies. I was the original poster of this bug report, and I had to
correct it later: The problem is not that ODT export fails, but that
ODT export-and-open fails to locate the exported file.
Please see if you can reproduce it with a capital O in the export command:
C-c C-e O
One other user already reported reproducing it, and I still get it with
emacs -Q
running Org 7.9.2 on Emacs 24.1.1.
Yours,
Christian
On 10/24/12 3:32 PM, Bastien wrote:
> Hi Jambunathan,
>
> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> When I try to export to ODT (without invoking the new exporter or
>> anything), I get:
>>
>> OpenDocument export failed: Wrong type argument: stringp,
>> (org-export-odt-preprocess-latex-fragments)
>
> I cannot reproduce this with current Emacs trunk and
>
> emacs -Q
> C-x C-f test.org RET
> [some simple org file]
> C-c C-e o
>
> How can I reproduce the problem above?
>
> Thanks,
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#12718: bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument
2012-10-24 13:32 ` Bastien
2012-10-24 13:48 ` bug#12718: [O] " Christian Moe
@ 2012-10-24 13:48 ` Christian Moe
1 sibling, 0 replies; 10+ messages in thread
From: Christian Moe @ 2012-10-24 13:48 UTC (permalink / raw)
To: Bastien; +Cc: 12718, Jambunathan K
Hi, Bastien,
Apologies. I was the original poster of this bug report, and I had to
correct it later: The problem is not that ODT export fails, but that
ODT export-and-open fails to locate the exported file.
Please see if you can reproduce it with a capital O in the export command:
C-c C-e O
One other user already reported reproducing it, and I still get it with
emacs -Q
running Org 7.9.2 on Emacs 24.1.1.
Yours,
Christian
On 10/24/12 3:32 PM, Bastien wrote:
> Hi Jambunathan,
>
> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> When I try to export to ODT (without invoking the new exporter or
>> anything), I get:
>>
>> OpenDocument export failed: Wrong type argument: stringp,
>> (org-export-odt-preprocess-latex-fragments)
>
> I cannot reproduce this with current Emacs trunk and
>
> emacs -Q
> C-x C-f test.org RET
> [some simple org file]
> C-c C-e o
>
> How can I reproduce the problem above?
>
> Thanks,
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument
2012-10-24 7:15 bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument Jambunathan K
2012-10-24 7:25 ` bug#12718: [PATCH] " Jambunathan K
2012-10-24 13:32 ` Bastien
@ 2012-10-24 13:32 ` Bastien
2012-10-24 13:46 ` Jambunathan K
2012-10-24 13:46 ` Jambunathan K
2 siblings, 2 replies; 10+ messages in thread
From: Bastien @ 2012-10-24 13:32 UTC (permalink / raw)
To: Jambunathan K; +Cc: 12718
Hi Jambunathan,
Jambunathan K <kjambunathan@gmail.com> writes:
> When I try to export to ODT (without invoking the new exporter or
> anything), I get:
>
> OpenDocument export failed: Wrong type argument: stringp,
> (org-export-odt-preprocess-latex-fragments)
I cannot reproduce this with current Emacs trunk and
emacs -Q
C-x C-f test.org RET
[some simple org file]
C-c C-e o
How can I reproduce the problem above?
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument
2012-10-24 13:32 ` Bastien
@ 2012-10-24 13:46 ` Jambunathan K
2012-10-24 13:57 ` Bastien
2012-10-24 13:57 ` Bastien
2012-10-24 13:46 ` Jambunathan K
1 sibling, 2 replies; 10+ messages in thread
From: Jambunathan K @ 2012-10-24 13:46 UTC (permalink / raw)
To: Bastien; +Cc: 12718
Bastien <bzg@altern.org> writes:
> Hi Jambunathan,
>
> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> When I try to export to ODT (without invoking the new exporter or
>> anything), I get:
>>
>> OpenDocument export failed: Wrong type argument: stringp,
>> (org-export-odt-preprocess-latex-fragments)
>
> I cannot reproduce this with current Emacs trunk and
>
> emacs -Q
> C-x C-f test.org RET
> [some simple org file]
> C-c C-e o
>
> How can I reproduce the problem above?
Capital 'O'.
http://lists.gnu.org/archive/html/emacs-orgmode/2012-10/msg00431.html
http://lists.gnu.org/archive/html/emacs-orgmode/2012-10/msg00429.html
> Thanks,
--
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument
2012-10-24 13:32 ` Bastien
2012-10-24 13:46 ` Jambunathan K
@ 2012-10-24 13:46 ` Jambunathan K
1 sibling, 0 replies; 10+ messages in thread
From: Jambunathan K @ 2012-10-24 13:46 UTC (permalink / raw)
To: Bastien; +Cc: 12718
Bastien <bzg@altern.org> writes:
> Hi Jambunathan,
>
> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> When I try to export to ODT (without invoking the new exporter or
>> anything), I get:
>>
>> OpenDocument export failed: Wrong type argument: stringp,
>> (org-export-odt-preprocess-latex-fragments)
>
> I cannot reproduce this with current Emacs trunk and
>
> emacs -Q
> C-x C-f test.org RET
> [some simple org file]
> C-c C-e o
>
> How can I reproduce the problem above?
Capital 'O'.
http://lists.gnu.org/archive/html/emacs-orgmode/2012-10/msg00431.html
http://lists.gnu.org/archive/html/emacs-orgmode/2012-10/msg00429.html
> Thanks,
--
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-10-24 16:06 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-24 7:15 bug#12718: 24.2.50; ODT export (old) fails with wrong-type-argument Jambunathan K
2012-10-24 7:25 ` bug#12718: [PATCH] " Jambunathan K
2012-10-24 13:32 ` Bastien
2012-10-24 13:48 ` bug#12718: [O] " Christian Moe
2012-10-24 13:48 ` bug#12718: " Christian Moe
2012-10-24 13:32 ` Bastien
2012-10-24 13:46 ` Jambunathan K
2012-10-24 13:57 ` Bastien
2012-10-24 13:57 ` Bastien
2012-10-24 13:46 ` Jambunathan K
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.