From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Hofer Subject: Re: org-babel problem Date: Fri, 26 Nov 2010 11:45:39 +0100 Message-ID: <87pqtsuzvw.wl%sebhofer@gmail.com> References: <80pqtt2n1u.fsf@missioncriticalit.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=57336 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLvoU-0005Vo-1i for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 05:45:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLvoS-0004IK-LB for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 05:45:57 -0500 Received: from lo.gmane.org ([80.91.229.12]:51989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLvoS-0004I7-8y for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 05:45:56 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PLvoQ-0006av-6n for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 11:45:54 +0100 Received: from ahgate1.aei.uni-hannover.de ([130.75.117.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2010 11:45:54 +0100 Received: from sebhofer by ahgate1.aei.uni-hannover.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2010 11:45:54 +0100 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: =?UTF-8?B?U8OpYmFzdGllbg==?= Vauban For the record, I was having the exact same problem, just didn't have the time to post it. So it's not just you! I just deleted the babel directory now everything is fine again. git didn't even notice it was gone. Thanks for finding the culprit! Sebastian At Thu, 25 Nov 2010 22:04:22 +0100, Erik Butz wrote: > > Hi, > > thanks for the replies. It obviously was something stupid. I did not > execute babel code for quite some time, and for some reason I still > had a > (setq load-path (cons "/home/erik/elisp/org-mode/lisp/babel" load-path)) > > in my .emacs and apparently I did not clean up enough and so the > ob.elc file in that directory then shadowed the one in the /lisp > directory. I tried a clean 'git clone' and there it worked and indeed > that directory is not even there. How would I remove that old > /lisp/babel directory using git? Typically I just do a 'git pull' and > then 'make clean' 'make' to update, but that obviously can lead to > problems. > > Thanks again, > > Erik > > > > 2010/11/25 Sébastien Vauban : > > Hi Erik, > > > > Erik Butz wrote: > >> I am trying to run some org-babel code, but while this used to work in > >> the past, I am now getting an error which says > >> > >> "Symbol's function definition is void: org-babel-get-header" > > > > The function is defined in my installation. Git version of yesterday. > > > >> Somehow I am puzzled, since this function is defined in lisp/ob.el and > >> since this file provides 'ob and I have (require 'ob) in my .emacs I > >> don't see why this should happen. > > > > Are you sure it really *is* loaded?  What happens if you C-x C-e after the > > require line? > > > >> Is there any check I should perform to see where and why this is failing? > >> > >>  I am using GNU Emacs 23.1. with Org-mode version 7.3 > >> (release_7.3.130.g9cc1) even though I somehow suspect that it's not > >> either of the software versions that is responsible for this. > >> > >> Any hints appreciated. > > > > Maybe you code post your block, or a stripped down version of it, if you want > > me to try and use it? > > > > In any case, AFAIK, it /should/ not fail here with the above message... > > > > Best regards, > >  Seb > > > > -- > > Sébastien Vauban > > > > > > _______________________________________________ > > Emacs-orgmode mailing list > > Please use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >