From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mehul Sanghvi Subject: Re: invalid byte-code error when publishing Date: Tue, 20 Aug 2013 08:51:28 -0400 Message-ID: References: <86k3jhojvm.fsf@somewhere.org> <86ioz0kc36.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01493c5af2768604e4608399 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBlSp-0005zo-Vn for emacs-orgmode@gnu.org; Tue, 20 Aug 2013 08:55:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VBlSk-0000Nt-Td for emacs-orgmode@gnu.org; Tue, 20 Aug 2013 08:55:11 -0400 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:41103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBlPG-0007IN-7k for emacs-orgmode@gnu.org; Tue, 20 Aug 2013 08:51:30 -0400 Received: by mail-wg0-f42.google.com with SMTP id j13so4186789wgh.1 for ; Tue, 20 Aug 2013 05:51:28 -0700 (PDT) In-Reply-To: <86ioz0kc36.fsf@somewhere.org> 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: Sebastien Vauban Cc: ML Emacs-orgmode --089e01493c5af2768604e4608399 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Aug 20, 2013 at 4:20 AM, Sebastien Vauban wrote: > Mehul Sanghvi, > > Mehul Sanghvi wrote: > >> Mehul Sanghvi wrote: > >> > The error only occurs if I'm using org-babl. The offending piece of > code > >> > I've got is: > >> > > >> > #+BEGIN_SRC emacs-lisp > >> > (setq tramp-default-method "ssh") > >> > #+END_SRC > >> > > >> > If I remove the #+BEGIN_SRC and #+END_SRC than everything works fine > and > >> > I'm able to publish. > >> > >> Would this fix it? > >> > >> #+BEGIN_SRC emacs-lisp :eval no > >> (setq tramp-default-method "ssh") > >> #+END_SRC > > > > Thanks for the suggestion. That does not fix the problem. I > still > > get the same error as before. > > Check out the value of: > > - `org-babel-default-header-args', and > - `org-babel-default-header-args:emacs-lisp'. > > And try whether `:eval query' makes a difference (when answering yes, and > when > answering no)? > > Using 'C-h v' I get the following: org-babel-default-header-args is a variable defined in `ob-core.el'. Its value is ((:session . "none") (:results . "replace") (:exports . "code") (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no") (:padnewline . "yes")) org-babel-default-header-args:emacs-lisp is a variable defined in `ob-emacs-lisp.el'. Its value is ((:hlines . "yes") (:colnames . "no")) Using ':eval query' does not make a difference. It does not prompt for yes or no. cheers, mehul -- Mehul N. Sanghvi email: mehul.sanghvi@gmail.com --089e01493c5af2768604e4608399 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdj48YnI+PC9kaXY+PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiPjxk aXYgY2xhc3M9ImdtYWlsX3F1b3RlIj5PbiBUdWUsIEF1ZyAyMCwgMjAxMyBhdCA0OjIwIEFNLCBT ZWJhc3RpZW4gVmF1YmFuIDxzcGFuIGRpcj0ibHRyIj4mbHQ7PGEgaHJlZj0ibWFpbHRvOnN2YS1u ZXdzQG15Z29vZ2xlc3QuY29tIiB0YXJnZXQ9Il9ibGFuayI+c3ZhLW5ld3NAbXlnb29nbGVzdC5j b208L2E+Jmd0Ozwvc3Bhbj4gd3JvdGU6PGJyPg0KPGJsb2NrcXVvdGUgY2xhc3M9ImdtYWlsX3F1 b3RlIiBzdHlsZT0ibWFyZ2luOjBweCAwcHggMHB4IDAuOGV4O2JvcmRlci1sZWZ0LXdpZHRoOjFw eDtib3JkZXItbGVmdC1jb2xvcjpyZ2IoMjA0LDIwNCwyMD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