From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mehul Sanghvi Subject: Re: invalid byte-code error when publishing Date: Wed, 21 Aug 2013 16:49:27 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c37e4c2bb10b04e47b4fe3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCFLO-0003vr-4i for emacs-orgmode@gnu.org; Wed, 21 Aug 2013 16:49:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCFLM-0005gj-Sf for emacs-orgmode@gnu.org; Wed, 21 Aug 2013 16:49:30 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:61188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCFLM-0005gM-GC for emacs-orgmode@gnu.org; Wed, 21 Aug 2013 16:49:28 -0400 Received: by mail-wi0-f178.google.com with SMTP id j17so954744wiw.5 for ; Wed, 21 Aug 2013 13:49:27 -0700 (PDT) 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 --001a11c37e4c2bb10b04e47b4fe3 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Aug 20, 2013 at 9:48 AM, Sebastien Vauban wrote: > Mehul Sanghvi wrote: > > Sebastien Vauban wrote: > >> 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 ':eval query' does not make a difference. It does not prompt for > yes > > or no. > > Then, there are now 2 things I don't understand: > > - why it does not query you for eval? > - why that code gets you in troubles? > > I'm out of ideas here... > > Try with an ECM, or with emacs -Q? > > Best regards, > Seb > > -- > Sebastien Vauban > > > This works now. I don't know why it was causing problems, but it worked just fine in a new instance. I had done a org-reload rather than re-start my emacs. Thanks for your help. cheers, mehul -- Mehul N. Sanghvi email: mehul.sanghvi@gmail.com --001a11c37e4c2bb10b04e47b4fe3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Tue, Aug 20, 2013 at 9:48 AM, Sebastien Vauban <sva-news@= mygooglest.com> wrote:
Mehul Sanghvi wrote:
> Sebastien Vauban wrote:
>> Mehul Sanghvi wrote:
>>>> Mehul Sanghvi wrote:
>>>>> The error only occurs if I'm using org-babl. The o= ffending 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 everyth= ing works fine and
>>>>> I'm able to publish.
>>>>
>>>> Would this fix it?
>>>>
>>>> =A0 #+BEGIN_SRC emacs-lisp :eval no
>>>> =A0 (setq tramp-default-method "ssh")
>>>> =A0 #+END_SRC
>>>
>>> Thanks for the suggestion. That does not fix the problem. I st= ill 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 answeri= ng yes, and
>> when answering no)?
>
> Using ':eval query' does not make a di= fference. It does not prompt for yes
> or no.

Then, there are now 2 things I don't understand:

- why it does not query you for eval?
- why that code gets you in troubles?

I'm out of ideas here...

Try with an ECM, or with emacs -Q?

Best regards,
=A0 Seb

--
Sebastien Vauban




This works now. =A0I don't know why it wa= s causing problems, but it worked just fine in a new instance. =A0I had don= e a org-reload rather than re-start my emacs.

Thanks for = your help.

cheers,

=A0 =A0 =A0 mehul



--
Mehu= l N. Sanghvi
email: mehul.san= ghvi@gmail.com
--001a11c37e4c2bb10b04e47b4fe3--