From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giuseppe Lipari Subject: Cannot export bash src: more details Date: Tue, 23 Feb 2016 10:54:18 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bfd0926ff49a5052c6dc5b4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAbu-0001kf-JH for emacs-orgmode@gnu.org; Tue, 23 Feb 2016 05:54:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYAbt-0001xH-EN for emacs-orgmode@gnu.org; Tue, 23 Feb 2016 05:54:30 -0500 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:35902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAbt-0001wu-4f for emacs-orgmode@gnu.org; Tue, 23 Feb 2016 05:54:29 -0500 Received: by mail-wm0-x236.google.com with SMTP id g62so215659036wme.1 for ; Tue, 23 Feb 2016 02:54:28 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --047d7bfd0926ff49a5052c6dc5b4 Content-Type: text/plain; charset=UTF-8 Hello, regarding my previous message: I discovered that, by removing indentation, the export works fine. More specifically, the following snippet produces the error: %--------- snippet ----------% ** CGI - producing output - Example in shell script: #+BEGIN_SRC bash echo "content-type: text/html" echo echo "" echo "" echo "" echo "it is "`date`"" echo "" echo "" #+END_SRC %--------- snippet ----------% %--------- Error ----------% [...] org-babel-exp process emacs-lisp at line 16... org-babel-exp process html at line 114... org-babel-exp process html at line 164... org-babel-exp process bash at line 270... byte-code: Invalid search bound (wrong side of point) %--------- Error ----------% The following snippet *does not* produce the error %--------- snippet ----------% ** CGI - producing output - Example in shell script: #+BEGIN_SRC bash echo "content-type: text/html" echo echo "" echo "" echo "" echo "it is "`date`"" echo "" echo "" #+END_SRC %--------- snippet ----------% I cannot easily reproduce this behaviour outside of my complex file. I tried on a simplified version containing only the snippet, and there indentation makes no difference. Unfortunately, I do not have time now to continue my investigation (I have to prepare my slides for tomorrow), however I am available to provide more information if necessary. Org-mode version 8.3.4 (release_8.3.4-588-g924431 @ /home/lipari/elisp/org-mode/lisp/) Best regards, Giuseppe Lipari --047d7bfd0926ff49a5052c6dc5b4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

regarding my previous m= essage: I discovered that, by removing indentation, the export works fine. =

More specifically, the following snippet produces the error:<= br>
%--------- snippet ----------%
** CGI - producing output
=C2= =A0=C2=A0 - Example in shell script:
=C2=A0=C2=A0=C2=A0=C2=A0 #+BEGIN_S= RC bash
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 echo "content-type: t= ext/html"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 echo
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 echo "<!doctype html publi\"-//w3c= /dtd html 3.2 final/en\">"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 echo "<html>"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 echo "<body>"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = echo "it is <b>"`date`"</b>"
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 echo "</body>"
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 echo "</html>"
=C2=A0=C2=A0=C2= =A0=C2=A0 #+END_SRC
%--------- snippet ----------%

%= --------- Error ----------%
[...]
org-babel-exp process emacs-lisp a= t line 16...
org-babel-exp process html at line 114...
org-babel-exp process html at line 164...
org-babel-exp process bash at line 270...
byte-code: Invalid search bound (wrong side of point)
%--------- Err= or ----------%

The following snippet *does not* produce the e= rror

%--------- snippet ----------%
** CGI - producing output =C2=A0=C2=A0 - Example in shell script:
=C2=A0=C2=A0 #+BEGIN_SRC bash=
=C2=A0=C2=A0=C2=A0=C2=A0 echo "content-type: text/html"
= =C2=A0=C2=A0=C2=A0=C2=A0 echo
=C2=A0=C2=A0=C2=A0=C2=A0 echo "<!= doctype html publi\"-//w3c/dtd html 3.2 final/en\">"
= =C2=A0=C2=A0=C2=A0=C2=A0 echo "<html>"
=C2=A0=C2=A0=C2= =A0=C2=A0 echo "<body>"
=C2=A0=C2=A0=C2=A0=C2=A0 echo &= quot;it is <b>"`date`"</b>"
=C2=A0=C2=A0=C2= =A0=C2=A0 echo "</body>"
=C2=A0=C2=A0=C2=A0=C2=A0 echo = "</html>"
=C2=A0=C2=A0 #+END_SRC
%--------- snippet= ----------%

I cannot easily reproduce this behavio= ur outside of my complex file. I tried on a simplified version containing o= nly the snippet, and there indentation makes no difference.

<= div>Unfortunately, I do not have time now to continue my investigation (I h= ave to prepare my slides for tomorrow), however I am available to provide m= ore information if necessary.

Org-mode version 8.3.4 (re= lease_8.3.4-588-g924431 @ /home/lipari/elisp/org-mode/lisp/)

=
Best regards,

Giuseppe Lipari
--047d7bfd0926ff49a5052c6dc5b4-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Cannot export bash src: more details Date: Wed, 24 Feb 2016 16:57:00 +0000 Message-ID: <87r3g23v37.fsf@delle7240.chemeng.ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYdGI-0005g4-Cc for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:30:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYdGD-00088X-Br for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:30:06 -0500 Received: from mail-db3on0146.outbound.protection.outlook.com ([157.55.234.146]:15136 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYdGD-00088F-2f for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:30:01 -0500 In-Reply-To: (Giuseppe Lipari's message of "Tue, 23 Feb 2016 10:54:18 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giuseppe Lipari Cc: "emacs-orgmode@gnu.org" On Tuesday, 23 Feb 2016 at 10:54, Giuseppe Lipari wrote: [...] > byte-code: Invalid search bound (wrong side of point) I have also run into this problem lately (well, early last week or the week before that) with src blocks that work just fine if moved to another place. Drove me crazy trying to debug this and got nowhere other than I found that adding some text before and/or after the src block made things work. Like you, coming up with an ECM has proven impossible. My case was also a complex file. Sorry that I cannot help directly but just wanted you to know that there is a problem somewhere in current org... -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giuseppe Lipari Subject: Re: Cannot export bash src: more details Date: Wed, 24 Feb 2016 20:53:10 +0000 Message-ID: References: <87r3g23v37.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b86c36e839f12052c8a4171 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYgR0-00033p-AJ for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 15:53:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYgQz-0001xT-8b for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 15:53:22 -0500 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:38030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYgQz-0001xD-29 for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 15:53:21 -0500 Received: by mail-wm0-x229.google.com with SMTP id a4so321262wme.1 for ; Wed, 24 Feb 2016 12:53:20 -0800 (PST) In-Reply-To: <87r3g23v37.fsf@delle7240.chemeng.ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --047d7b86c36e839f12052c8a4171 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, thank you, although for the moment it does not help. Unfortunately I have *a lot* of old slides that I am correcting and regenerating step by step. They used to compile just fine with the previous version, and now this strange problem make me lose a lot of time just for changing indentation... Maybe I should just revert to the old version of org. I will tell you if I find a somehow smaller example. Giuseppe Lipari Le mer. 24 f=C3=A9vr. 2016 =C3=A0 18:30, Eric S Fraga a= =C3=A9crit : > On Tuesday, 23 Feb 2016 at 10:54, Giuseppe Lipari wrote: > > [...] > > > byte-code: Invalid search bound (wrong side of point) > > I have also run into this problem lately (well, early last week or the > week before that) with src blocks that work just fine if moved to > another place. Drove me crazy trying to debug this and got nowhere > other than I found that adding some text before and/or after the src > block made things work. > > Like you, coming up with an ECM has proven impossible. My case was also > a complex file. > > Sorry that I cannot help directly but just wanted you to know that there > is a problem somewhere in current org... > -- > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213= aa > --047d7b86c36e839f12052c8a4171 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

thank you, although for the momen= t it does not help.

Unfortunately I have *a lot* of old s= lides that I am correcting and regenerating step by step.
They used to = compile just fine with the previous version, and now this strange problem m= ake me lose a lot of time just for changing indentation...
Maybe I shou= ld just revert to the old version of org.

I will tell yo= u if I find a somehow smaller example.

Giuseppe Lipari



Le=C2=A0mer. 24 f=C3=A9vr. 2016 =C3=A0=C2=A018:30, Eric S Fraga= <e.fraga@ucl.ac.uk> a =C3= =A9crit=C2=A0:
On Tuesday, 23 Feb 2= 016 at 10:54, Giuseppe Lipari wrote:

[...]

> byte-code: Invalid search bound (wrong side of point)

I have also run into this problem lately (well, early last week or the
week before that) with src blocks that work just fine if moved to
another place.=C2=A0 Drove me crazy trying to debug this and got nowhere other than I found that adding some text before and/or after the src
block made things work.

Like you, coming up with an ECM has proven impossible.=C2=A0 My case was al= so
a complex file.

Sorry that I cannot help directly but just wanted you to know that there is a problem somewhere in current org...
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa=
--047d7b86c36e839f12052c8a4171-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Cannot export bash src: more details Date: Thu, 25 Feb 2016 10:09:01 +0100 Message-ID: <8760xd40nm.fsf@nicolasgoaziou.fr> References: <87r3g23v37.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYrsz-0001Id-He for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 04:07:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYrsw-0002w6-1w for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 04:07:01 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:57492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYrsv-0002vl-RF for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 04:06:57 -0500 In-Reply-To: (Giuseppe Lipari's message of "Wed, 24 Feb 2016 20:53:10 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giuseppe Lipari Cc: "emacs-orgmode@gnu.org" Hello, Giuseppe Lipari writes: > Unfortunately I have *a lot* of old slides that I am correcting and > regenerating step by step. > They used to compile just fine with the previous version, and now this > strange problem make me lose a lot of time just for changing indentation... > Maybe I should just revert to the old version of org. > > I will tell you if I find a somehow smaller example. An ECM would be great. However, some backtrace using un-compiled Org would help, too. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Cannot export bash src: more details Date: Thu, 25 Feb 2016 15:04:53 +0100 Message-ID: <874mcw3myi.fsf@nicolasgoaziou.fr> References: <87r3g23v37.fsf@delle7240.chemeng.ucl.ac.uk> <8760xd40nm.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYwVN-0004Kl-Rt for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 09:03:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYwVI-0000Jp-EU for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 09:02:57 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:47073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYwVI-0000Jh-89 for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 09:02:52 -0500 In-Reply-To: <8760xd40nm.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Thu, 25 Feb 2016 10:09:01 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giuseppe Lipari Cc: "emacs-orgmode@gnu.org" Completing myself, > An ECM would be great. However, some backtrace using un-compiled Org > would help, too. Actually, the issue should now be fixed. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Cannot export bash src: more details Date: Thu, 25 Feb 2016 18:09:45 +0000 Message-ID: <8737sgacgm.fsf@ucl.ac.uk> References: <87r3g23v37.fsf@delle7240.chemeng.ucl.ac.uk> <8760xd40nm.fsf@nicolasgoaziou.fr> <874mcw3myi.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ0MU-00010S-0p for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 13:10:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ0MQ-0001U6-0k for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 13:10:01 -0500 Received: from mail-he1eur01on0137.outbound.protection.outlook.com ([104.47.0.137]:1560 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ0MP-0001SL-Kp for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 13:09:57 -0500 In-Reply-To: <874mcw3myi.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Thu, 25 Feb 2016 15:04:53 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" On Thursday, 25 Feb 2016 at 15:04, Nicolas Goaziou wrote: > Completing myself, > >> An ECM would be great. However, some backtrace using un-compiled Org >> would help, too. > > Actually, the issue should now be fixed. Thanks! I'm sorry we couldn't provide you with an ECM but very happy you were able to track this down regardless. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-619-gca1fb8 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giuseppe Lipari Subject: Re: Cannot export bash src: more details Date: Thu, 25 Feb 2016 22:32:53 +0000 Message-ID: References: <87r3g23v37.fsf@delle7240.chemeng.ucl.ac.uk> <8760xd40nm.fsf@nicolasgoaziou.fr> <874mcw3myi.fsf@nicolasgoaziou.fr> <8737sgacgm.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1148e3f207c979052c9fc450 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ4T4-0003BI-13 for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 17:33:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ4T2-00060R-Ux for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 17:33:05 -0500 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:34530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ4T2-0005zc-O6 for emacs-orgmode@gnu.org; Thu, 25 Feb 2016 17:33:04 -0500 Received: by mail-wm0-x236.google.com with SMTP id b205so50618059wmb.1 for ; Thu, 25 Feb 2016 14:33:04 -0800 (PST) In-Reply-To: <8737sgacgm.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --001a1148e3f207c979052c9fc450 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Great news, thanks a lot! Giuseppe Le jeu. 25 f=C3=A9vr. 2016 =C3=A0 19:10, Eric S Fraga a= =C3=A9crit : > On Thursday, 25 Feb 2016 at 15:04, Nicolas Goaziou wrote: > > Completing myself, > > > >> An ECM would be great. However, some backtrace using un-compiled Org > >> would help, too. > > > > Actually, the issue should now be fixed. > > Thanks! I'm sorry we couldn't provide you with an ECM but very happy > you were able to track this down regardless. > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-619-gca1f= b8 > > --001a1148e3f207c979052c9fc450 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Great news, thanks a lot!

Giuseppe
<= /div>
Le=C2=A0jeu. 25 f=C3= =A9vr. 2016 =C3=A0=C2=A019:10, Eric S Fraga <e.fraga@ucl.ac.uk> a =C3=A9crit=C2=A0:
On Thursday, 25 Feb 2016 at 15:04, Nicolas Goaziou wro= te:
> Completing myself,
>
>> An ECM would be great. However, some backtrace using un-compiled O= rg
>> would help, too.
>
> Actually, the issue should now be fixed.

Thanks!=C2=A0 I'm sorry we couldn't provide you with an ECM but ver= y happy
you were able to track this down regardless.

--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-619-gca1fb8=

--001a1148e3f207c979052c9fc450--