From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Beck" Subject: Problems with org-export: "byte-code: Invalid function: 0" Date: Tue, 5 Aug 2014 16:46:10 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEg0f-00048S-J4 for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 10:47:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEg0I-0005QU-R7 for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 10:46:41 -0400 Received: from mout.web.de ([212.227.17.11]:55883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEg0I-0005Ah-FE for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 10:46:18 -0400 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-mailinglist
I'm doing my first steps trying to publish my org-mode content to HTML and it seems that there is something that causes problems with publishing.
 
I tracked it down to this paragraph which seems to cause the problem:
  _____  
Connect at AIIM is a news communication provided by AIIM. 2014
AIIM - The Global Community of Information Professionals
1100 Wayne Avenue, Suite 1100, Silver Spring, MD 20910 USA
Phone: 301-587-8202 resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png301-587-8202
The IT Centre, 8 Canalside, Lowesmoor Wharf, Worcestershire, WR1 2RR  UK
Tel: +44 (0) 1905 727600 resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png+44 (0) 1905 727600
  _____  
 
(in my org-mode document, the linebreaks are visible only as ^M)
 
Can somebody tell me what's the problem here?
When trying C-c C-e h o
I get this error message: "Invalid function: 0"
 
Kind regards
 
Martin
 
From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problems with org-export: "byte-code: Invalid function: 0" Date: Tue, 05 Aug 2014 12:09:14 -0400 Message-ID: <87d2ceuded.fsf@alphaville.bos.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEhJU-0003kh-8C for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 12:10:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEhJM-0000bF-Nz for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 12:10:12 -0400 Received: from plane.gmane.org ([80.91.229.3]:34915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEhJM-0000ZV-Hu for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 12:10:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XEhJL-0001Ch-N7 for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 18:10:03 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Aug 2014 18:10:03 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Aug 2014 18:10:03 +0200 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 "Martin Beck" writes: > I'm doing my first steps trying to publish my org-mode content to HTML and it seems that there is something that causes problems > with publishing. > > I tracked it down to this paragraph which seems to cause the problem: > _____ > Connect at AIIM is a news communication provided by AIIM. 2014 > AIIM - The Global Community of Information Professionals > 1100 Wayne Avenue, Suite 1100, Silver Spring, MD 20910 USA > Phone: 301-587-8202 resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png301-587-8202 > The IT Centre, 8 Canalside, Lowesmoor Wharf, Worcestershire, WR1 2RR UK > Tel: +44 (0) 1905 727600 resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png+44 (0) 1905 727600 > _____ > > (in my org-mode document, the linebreaks are visible only as ^M) > > Can somebody tell me what's the problem here? > When trying C-c C-e h o > I get this error message: "Invalid function: 0" > This may be a problem in your setup. Please set the variable debug-on-error to t, try to publish and post the resulting backtrace. Alternatively, try restarting your emacs: it may have acquired a setting inadvertently that causes problems. You might also try without most of your customizations (emacs -q), but loading a minimal file that just sets up org and the publishing project. Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Beck" Subject: Re: Problems with org-export: "byte-code: Invalid function: 0" Date: Thu, 7 Aug 2014 10:56:04 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFJUc-0002p4-8F for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 04:56:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFJUU-00027C-Ku for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 04:56:14 -0400 Received: from mout.web.de ([212.227.17.11]:56522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFJUU-00024D-Bm for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 04:56:06 -0400 In-Reply-To: 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-mailinglist Cc: ndokos@gmail.com
Nick Dokos <ndokos <at> gmail.com> writes:
>
> "Martin Beck" <Elwood151 <at> web.de> writes:
> > I tracked it down to this paragraph which seems to cause
> > the problem:
> >   _____  
> > Connect at AIIM is a news communication provided by AIIM. 2014
> > AIIM - The Global Community of Information Professionals
> > 1100 Wayne Avenue, Suite 1100, Silver Spring, MD 20910 USA
> > Phone: 301-587-8202
resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png301-587-8202
> > The IT Centre, 8 Canalside, Lowesmoor Wharf, Worcestershire,
WR1 2RR  UK
> > Tel: +44 (0) 1905 727600
>
resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png+44
> (0) 1905 727600
> >   _____  
> >  
> > (in my org-mode document, the linebreaks are visible only as ^M)
> >  
> >  
>
> This may be a problem in your setup.  Please set the variable
> debug-on-error to t, try to publish and post the resulting backtrace.
>
> Alternatively, try restarting your emacs: it may have acquired a
> setting
> inadvertently that causes problems. You might also try without most
> of
> your customizations (emacs -q), but loading a minimal file that just
> sets up org and the publishing project.
>
> Nick
>
>
Hi Nick,
I restarted emacs several times in the meantime - no effect.
I then started emacs with option -q from cygwin,
then opened the document,
did M-x org-mode RET
and the export.
The debugger says:
Debugger·entered--Lisp·error:·(invalid-function·0)$
··(0)$
··eval((0))$
··org-babel-read("(0)")$
··org-babel-ref-parse("results=(0)")$
··#[(el)·"^HA:\203»     ^@^HA\207\301^HA!\207"·$
[el·org-babel-ref-parse]·2]((:var·.·"results=(0)"))$
··mapcar(#[(el)·"^HA:\203»      ^@^HA\207\301^HA!\207"·$
[el·org-babel-ref-parse]·2]·((:var·.·"results=(0)")))$
··org-babel-process-params(((:comments·.·"")·(:shebang·.·"")·$
(:cache·.·"no")·(:padline·.·"")·(:noweb·.·"no")·(:tangle·.·"no")·$
(:exports·.·"results")·(:results·.·"replace")·(:var·.·"results=(0)")·$
(:session·.·"none")·(:hlines·.·"no")·(:padnewline·.·"yes")))$
··org-babel-exp-results(("emacs-lisp"·"results"·((:comments·.·"")·$
(:shebang·.·"")·(:cache·.·"no")·(:padline·.·"")·(:noweb·.·"no")·$
(:tangle·.·"no")·(:exports·.·"results")·(:results·.·"replace")·$
(:var·.·"results=(0)")·(:padnewline·.·"yes")·(:hlines·.·"no")·$
(:session·.·"none"))·""·nil·163)·lob·nil·nil)$
··org-babel-exp-do-export(("emacs-lisp"·"results"·((:comments·.·"")·$
(:shebang·.·"")·(:cache·.·"no")·(:padline·.·"")·(:noweb·.·"no")·$
(:tangle·.·"no")·(:exports·.·"results")·(:results·.·"replace")·$
(:var·.·"results=(0)")·(:padnewline·.·"yes")·(:hlines·.·"no")·$
(:session·.·"none"))·""·nil·163)·lob)$
··org-babel-exp-non-block-elements(1·3532)$
··org-babel-exp-process-buffer()$
··org-export-execute-babel-code()$
··org-export-as(html·nil·nil·nil·nil)$
··org-export-to-file(html·"./test.html"·nil·nil·nil·nil)$
··org-html-export-to-html(nil·nil·nil·nil)$
··(org-open-file·(org-html-export-to-html·nil·s·v·b))$
··(if·a·(org-html-export-to-html·t·s·v·b)·(org-open-file·$
(org-html-export-to-html·nil·s·v·b)))$
··(lambda·(a·s·v·b)·(if·a·(org-html-export-to-html·t·s·v·b)·$
(org-open-file·(org-html-export-to-html·nil·s·v·b))))(nil·nil·nil·nil)$
··org-export-dispatch(nil)$
··call-interactively(org-export-dispatch·nil·nil)$
Does that help?
Kind regards
Martin
From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problems with org-export: "byte-code: Invalid function: 0" Date: Thu, 07 Aug 2014 06:35:17 -0400 Message-ID: <87r40szixm.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFL2q-0005gf-2O for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 06:35:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFL2i-0001dj-IQ for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 06:35:40 -0400 Received: from plane.gmane.org ([80.91.229.3]:49000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFL2i-0001df-BI for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 06:35:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XFL2h-0005FK-DD for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 12:35:31 +0200 Received: from pool-173-48-174-104.bstnma.fios.verizon.net ([173.48.174.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Aug 2014 12:35:31 +0200 Received: from ndokos by pool-173-48-174-104.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Aug 2014 12:35:31 +0200 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 "Martin Beck" writes: > Nick Dokos gmail.com> writes: >> >> "Martin Beck" web.de> writes: >> > I tracked it down to this paragraph which seems to cause >> > the problem: >> > _____ >> > Connect at AIIM is a news communication provided by AIIM. 2014 >> > AIIM - The Global Community of Information Professionals >> > 1100 Wayne Avenue, Suite 1100, Silver Spring, MD 20910 USA >> > Phone: 301-587-8202 > resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png301-587-8202 >> > The IT Centre, 8 Canalside, Lowesmoor Wharf, Worcestershire, > WR1 2RR UK >> > Tel: +44 (0) 1905 727600 >> > resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png+44 >> (0) 1905 727600 >> > _____ >> > >> > (in my org-mode document, the linebreaks are visible only as ^M) >> > >> > >> >> This may be a problem in your setup. Please set the variable >> debug-on-error to t, try to publish and post the resulting backtrace. >> >> Alternatively, try restarting your emacs: it may have acquired a >> setting >> inadvertently that causes problems. You might also try without most >> of >> your customizations (emacs -q), but loading a minimal file that just >> sets up org and the publishing project. >> >> Nick >> >> > Hi Nick, > I restarted emacs several times in the meantime - no effect. > I then started emacs with option -q from cygwin, > then opened the document, > did M-x org-mode RET > and the export. > The debugger says: > Debugger·entered--Lisp·error:·(invalid-function·0)$ > ··(0)$ > ··eval((0))$ > ··org-babel-read("(0)")$ > ··org-babel-ref-parse("results=(0)")$ > ··#[(el)·"^HA:\203» ^@^HA\207\301^HA!\207"·$ > [el·org-babel-ref-parse]·2]((:var·.·"results=(0)"))$ > ··mapcar(#[(el)·"^HA:\203» ^@^HA\207\301^HA!\207"·$ > [el·org-babel-ref-parse]·2]·((:var·.·"results=(0)")))$ > ··org-babel-process-params(((:comments·.·"")·(:shebang·.·"")·$ > (:cache·.·"no")·(:padline·.·"")·(:noweb·.·"no")·(:tangle·.·"no")·$ > (:exports·.·"results")·(:results·.·"replace")·(:var·.·"results=(0)")·$ > (:session·.·"none")·(:hlines·.·"no")·(:padnewline·.·"yes")))$ > ··org-babel-exp-results(("emacs-lisp"·"results"·((:comments·.·"")·$ > (:shebang·.·"")·(:cache·.·"no")·(:padline·.·"")·(:noweb·.·"no")·$ > (:tangle·.·"no")·(:exports·.·"results")·(:results·.·"replace")·$ > (:var·.·"results=(0)")·(:padnewline·.·"yes")·(:hlines·.·"no")·$ > (:session·.·"none"))·""·nil·163)·lob·nil·nil)$ > ··org-babel-exp-do-export(("emacs-lisp"·"results"·((:comments·.·"")·$ > (:shebang·.·"")·(:cache·.·"no")·(:padline·.·"")·(:noweb·.·"no")·$ > (:tangle·.·"no")·(:exports·.·"results")·(:results·.·"replace")·$ > (:var·.·"results=(0)")·(:padnewline·.·"yes")·(:hlines·.·"no")·$ > (:session·.·"none"))·""·nil·163)·lob)$ > ··org-babel-exp-non-block-elements(1·3532)$ <<<<<<<<<<<<<<<<<<<<<<< > ··org-babel-exp-process-buffer()$ > ··org-export-execute-babel-code()$ > ··org-export-as(html·nil·nil·nil·nil)$ > ··org-export-to-file(html·"./test.html"·nil·nil·nil·nil)$ > ··org-html-export-to-html(nil·nil·nil·nil)$ > ··(org-open-file·(org-html-export-to-html·nil·s·v·b))$ > ··(if·a·(org-html-export-to-html·t·s·v·b)·(org-open-file·$ > (org-html-export-to-html·nil·s·v·b)))$ > ··(lambda·(a·s·v·b)·(if·a·(org-html-export-to-html·t·s·v·b)·$ > (org-open-file·(org-html-export-to-html·nil·s·v·b))))(nil·nil·nil·nil)$ > ··org-export-dispatch(nil)$ > ··call-interactively(org-export-dispatch·nil·nil)$ This shows a problem evaluating a babel #+call or an inline source block somewhere between positions 1 and 3532 in the buffer. I suspect those call_skype thingies in your text are misinterpreted as babel calls somehow. The thing is that org-babel-exp-non-block-elements does not exist any longer: it was taken out last December (from both master and maint). With recent org, I don't have a problem exporting your text, so my suggestion is: upgrade. -- Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: M Subject: Re: Problems with org-export: "byte-code: Invalid function: 0" Date: Fri, 08 Aug 2014 02:39:45 +0200 Message-ID: References: <87r40szixm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFYDq-00043O-Oh for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 20:40:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFYDk-00072W-S5 for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 20:39:54 -0400 Received: from mout.web.de ([212.227.17.11]:60102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFYDk-00072Q-I9 for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 20:39:48 -0400 In-Reply-To: <87r40szixm.fsf@gmail.com> 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-mailinglist Cc: Nick Dokos > Von: Nick Dokos > Datum: Thu, 07 Aug 2014 06:35:17 -0400 > An: > Betreff: Re: [O] Problems with org-export: "byte-code: Invalid function: 0" > > "Martin Beck" writes: > >> Nick Dokos gmail.com> writes: > > This shows a problem evaluating a babel #+call or an inline source block > somewhere between positions 1 and 3532 in the buffer. I suspect those > call_skype thingies in your text are misinterpreted as babel calls > somehow. > > The thing is that org-babel-exp-non-block-elements does not exist any > longer: it was taken out last December (from both master and maint). > With recent org, I don't have a problem exporting your text, so my > suggestion is: upgrade. > Hi Nick, thanks a lot for your help! I'm using org-mode 8.2.7c. I suspect, that you would call that "recent org", so I wonder how the old code could come into my installation. But I'll have a look tomorrow. Is there a way to find the source of this old code within Emacs? Kind regards Martin From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Beck Subject: Re: Problems with org-export: "byte-code: Invalid function: 0" Date: Fri, 8 Aug 2014 13:41:06 +0000 (UTC) Message-ID: References: <87r40szixm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFkQG-0000WZ-Bu for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 09:41:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFkQ8-0005GM-T0 for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 09:41:32 -0400 Received: from plane.gmane.org ([80.91.229.3]:53291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFkQ8-0005GI-LV for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 09:41:24 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XFkQ6-0007Ig-CQ for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 15:41:22 +0200 Received: from mail.polytec.de ([213.144.13.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Aug 2014 15:41:22 +0200 Received: from elwood151 by mail.polytec.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Aug 2014 15:41:22 +0200 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 Nick Dokos gmail.com> writes: > > This shows a problem evaluating a babel #+call or an inline source block > somewhere between positions 1 and 3532 in the buffer. I suspect those > call_skype thingies in your text are misinterpreted as babel calls > somehow. > > The thing is that org-babel-exp-non-block-elements does not exist any > longer: it was taken out last December (from both master and maint). > With recent org, I don't have a problem exporting your text, so my > suggestion is: upgrade. > Hi Nick, thanks a lot for your help! I just installed org-mode 8.2.7c, so in general, I think I should not have this problem. Org-mode version 8.2.7c (8.2.7c-dist @ c:/Users/myaccount/Documents/mypath/org-mode/org_current/lisp/) I launched emacs -q from cygwin terminal, then did org-version which said "N/A" and found that there seemed to be some org-files in /usr/share/emacs/site-lisp/org and some in /usr/share/emacs/24.3/lisp/org I removed both directories with their content, but I still have the problem during export. I can only avoid it, if i change the text in the org file, e. g. by removing the "c" from "call_", so that it just leaves "all_". Then the export works without a problem. So my question is: how can I track down the component (which should not be in my system) that causes this problem? Kind regards Martin Kind regards Martin From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problems with org-export: "byte-code: Invalid function: 0" Date: Fri, 08 Aug 2014 10:04:08 -0400 Message-ID: <87tx5nulgn.fsf@alphaville.bos.redhat.com> References: <87r40szixm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFkmW-0002lJ-I6 for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 10:04:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFkmQ-0008K8-CX for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 10:04:32 -0400 Received: from plane.gmane.org ([80.91.229.3]:35926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFkmQ-0008JZ-67 for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 10:04:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XFkmO-0004ri-GB for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 16:04:24 +0200 Received: from pool-173-48-174-104.bstnma.fios.verizon.net ([173.48.174.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Aug 2014 16:04:24 +0200 Received: from ndokos by pool-173-48-174-104.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Aug 2014 16:04:24 +0200 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 Martin Beck writes: > Nick Dokos gmail.com> writes: > > >> >> This shows a problem evaluating a babel #+call or an inline source block >> somewhere between positions 1 and 3532 in the buffer. I suspect those >> call_skype thingies in your text are misinterpreted as babel calls >> somehow. >> >> The thing is that org-babel-exp-non-block-elements does not exist any >> longer: it was taken out last December (from both master and maint). >> With recent org, I don't have a problem exporting your text, so my >> suggestion is: upgrade. >> > > Hi Nick, > > thanks a lot for your help! I just installed org-mode 8.2.7c, > so in general, I think I should not have this problem. > > Org-mode version 8.2.7c (8.2.7c-dist @ > c:/Users/myaccount/Documents/mypath/org-mode/org_current/lisp/) > > I launched emacs -q from cygwin terminal, then did org-version > which said "N/A" and found that there seemed to be some org-files in > /usr/share/emacs/site-lisp/org > and some in /usr/share/emacs/24.3/lisp/org > > I removed both directories with their content, but I still have > the problem during export. > I can only avoid it, if i change the text in the org file, e. g. by > removing the "c" from "call_", so that it just leaves "all_". > Then the export works without a problem. > > So my question is: how can I track down the component (which should not be > in my system) that causes this problem? > Yes, it seems that you are picking up an older version (probably the one that got bundled with your emacs). These things depend on how you install your org in general. At the very least however, you *must* load an init file that sets your load-path appropriately, when you do emacs -q (a so-called "minimal .emacs" - search the list for some examples): emacs -q -l /path/to/minimal/.emacs If you use ELPA to install org, you need to do (package-initialize) as the very first thing in your init file (and iiuc, this takes care of setting load-path appropriately). See Achim's posts in reply to Salome on the ML (recently - within the past week). I don't use ELPA so I hope somebody will chime in here if this is wrong. See also http://orgmode.org/elpa.html for more information. I also don't use Windows/cygwin, so there might be complications here that I'm not aware of. -- Nick