GNU bug report logs - #12718
24.2.50; ODT export (old) fails with wrong-type-argument

Previous Next

Packages: org-mode, emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Wed, 24 Oct 2012 07:16:02 UTC

Severity: normal

Tags: patch

Found in version 24.2.50

Done: Bastien <bzg <at> altern.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12718 in the body.
You can then email your comments to 12718 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12718; Package emacs. (Wed, 24 Oct 2012 07:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jambunathan K <kjambunathan <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 24 Oct 2012 07:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jambunathan K <kjambunathan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; ODT export (old) fails with wrong-type-argument
Date: Wed, 24 Oct 2012 12:45:21 +0530
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 <at> 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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12718; Package emacs. (Wed, 24 Oct 2012 07:27:01 GMT) Full text and rfc822 format available.

Message #8 received at 12718 <at> debbugs.gnu.org (full text, mbox):

From: Jambunathan K <kjambunathan <at> gmail.com>
To: 12718 <at> debbugs.gnu.org
Subject: [PATCH] Re: bug#12718: 24.2.50;
	ODT export (old) fails with wrong-type-argument
Date: Wed, 24 Oct 2012 12:55:53 +0530
[Message part 1 (text/plain, inline)]
Jambunathan K <kjambunathan <at> 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.

[bug12718.diff (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
> 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 <at> 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

Information forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#12718; Package emacs,org-mode. (Wed, 24 Oct 2012 13:35:01 GMT) Full text and rfc822 format available.

Message #11 received at 12718 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> altern.org>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 12718 <at> debbugs.gnu.org
Subject: Re: bug#12718: 24.2.50;
	ODT export (old) fails with wrong-type-argument
Date: Wed, 24 Oct 2012 15:32:43 +0200
Hi Jambunathan,

Jambunathan K <kjambunathan <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#12718; Package emacs,org-mode. (Wed, 24 Oct 2012 13:47:02 GMT) Full text and rfc822 format available.

Message #14 received at 12718 <at> debbugs.gnu.org (full text, mbox):

From: Jambunathan K <kjambunathan <at> gmail.com>
To: Bastien <bzg <at> altern.org>
Cc: 12718 <at> debbugs.gnu.org
Subject: Re: bug#12718: 24.2.50;
	ODT export (old) fails with wrong-type-argument
Date: Wed, 24 Oct 2012 19:16:31 +0530
Bastien <bzg <at> altern.org> writes:

> Hi Jambunathan,
>
> Jambunathan K <kjambunathan <at> 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,

-- 




Information forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#12718; Package emacs,org-mode. (Wed, 24 Oct 2012 14:00:02 GMT) Full text and rfc822 format available.

Message #17 received at 12718 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> altern.org>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 12718 <at> debbugs.gnu.org
Subject: Re: bug#12718: 24.2.50;
	ODT export (old) fails with wrong-type-argument
Date: Wed, 24 Oct 2012 15:57:44 +0200
Jambunathan K <kjambunathan <at> gmail.com> writes:

> Capital 'O'.

Thanks.

Now fixed in Org maint branch.

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#12718; Package emacs,org-mode. (Wed, 24 Oct 2012 16:08:01 GMT) Full text and rfc822 format available.

Message #20 received at 12718 <at> debbugs.gnu.org (full text, mbox):

From: Christian Moe <mail <at> christianmoe.com>
To: Bastien <bzg <at> altern.org>
Cc: 12718 <at> debbugs.gnu.org, Jambunathan K <kjambunathan <at> gmail.com>
Subject: Re: [O] bug#12718: 24.2.50;
	ODT export (old) fails with wrong-type-argument
Date: Wed, 24 Oct 2012 15:48:21 +0200
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 <at> 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,
>





Information forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#12718; Package emacs,org-mode. (Wed, 24 Oct 2012 18:20:01 GMT) Full text and rfc822 format available.

Message #23 received at 12718 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Bastien <bzg <at> altern.org>
Cc: 12718 <at> debbugs.gnu.org, Jambunathan K <kjambunathan <at> gmail.com>
Subject: Re: /srv/bzr/emacs/trunk r110652: Fix error in previous merge from
	Org.
Date: Wed, 24 Oct 2012 14:17:11 -0400
>>   * lisp/org/org-lparse.el: Move some hooks from org-lparse to
>>   org-do-lparse.
>
> I pushed another fix in Org's git repo here:
>
>   http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=c33909
>
> Can you revert this change?  Otherwise it will create a merge
> conflict.  If you think the issue is really important, I can
> fix it in Emacs trunk, using the same fix I made in Org.

OK, reverted.  Please go ahead and commit your other fix.





Reply sent to Bastien <bzg <at> altern.org>:
You have taken responsibility. (Fri, 26 Oct 2012 14:48:02 GMT) Full text and rfc822 format available.

Notification sent to Jambunathan K <kjambunathan <at> gmail.com>:
bug acknowledged by developer. (Fri, 26 Oct 2012 14:48:02 GMT) Full text and rfc822 format available.

Message #28 received at 12718-done <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> altern.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 12718-done <at> debbugs.gnu.org, Jambunathan K <kjambunathan <at> gmail.com>
Subject: Re: bug#12718: /srv/bzr/emacs/trunk r110652: Fix error in previous
	merge from Org.
Date: Fri, 26 Oct 2012 16:45:35 +0200
Chong Yidong <cyd <at> gnu.org> writes:

> OK, reverted.  Please go ahead and commit your other fix.

Thanks.  

I've merged the bugfix branch of Org in current Emacs trunk.

I'm closing this bug.

-- 
 Bastien




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 24 Nov 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.