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