From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-babel-load-file fails with (wrong-type-argument stringp nil) Date: Sat, 20 Jun 2015 00:46:56 -0400 Message-ID: <87y4jfgf5r.fsf@pierrot.dokosmarshall.org> 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]:54798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6AgX-0003mw-Ha for emacs-orgmode@gnu.org; Sat, 20 Jun 2015 00:47:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6AgT-0007Jv-F1 for emacs-orgmode@gnu.org; Sat, 20 Jun 2015 00:47:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:44617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6AgT-0007JD-6U for emacs-orgmode@gnu.org; Sat, 20 Jun 2015 00:47:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z6AgQ-0001Yq-IU for emacs-orgmode@gnu.org; Sat, 20 Jun 2015 06:47:10 +0200 Received: from pool-108-20-41-47.bstnma.fios.verizon.net ([108.20.41.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Jun 2015 06:47:10 +0200 Received: from ndokos by pool-108-20-41-47.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Jun 2015 06:47:10 +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 Marcelo de Moraes Serpa writes: > *bump* does anyone have any idea? I'd like to save my current org setup, but looks like I'll need to do a clean install. Thanks! > > On Mon, Jun 15, 2015 at 12:43 PM, Marcelo de Moraes Serpa wrote: > > Hi list, > > I'm using Org-mode version 8.2.10 (8.2.10-dist @ /Users/fullofcaffeine/.emacs.d/vendor/org-mode/lisp/) -- which as you can see was installed in a custom location, with emacs GNU > Emacs 24.3.1 (x86_64-apple-darwin11.4.2, Carbon Version 1.6.0 AppKit 1138.51) of 2014-04-03 on Yukikaze.local. > > After updating to org 8.2.10, I started getting some cryptic (for me) errors with org-babel. My main conf file is an org file which gets processed by babel to .el. It used to work > fine, but now I get this (stacktrace follows): > > ` > Debugger entered--Lisp error: (wrong-type-argument stringp nil) >   expand-file-name(nil) >   load-file(nil) >   > org-babel-load-file("/Users/fullofcaffeine/.emacs.d/fullofcaffeine.org") >   mapc(org-babel-load-file ("/Users/fullofcaffeine/.emacs.d/fullofcaffeine.org")) >   eval-buffer(# nil "/Users/fullofcaffeine/.emacs.d/init.el" nil t)  ; Reading at buffer position 1458 >   load-with-code-conversion("/Users/fullofcaffeine/.emacs.d/init.el" "/Users/fullofcaffeine/.emacs.d/init.el" t t) >   load("/Users/fullofcaffeine/.emacs.d/init" t t) >   #[nil "^H\205\276^@   \306=\203^Q^@\307^H\310Q\202A^@ \311=\2033^@\312\307\313\314#\203#^@\315\202A^@\312\307\313\316#\203/^@\317\202A^@\315\202A^@   \320=\203=^@\321\202A^@\307^ > H\322Q^Z\323^S\324\n\$ >   command-line() >   normal-top-level() > ` > > Here's my init.el file: http://pastie.org/private/1eajm9mkmqfjbpr0z3ska > > Does anyone know what is the issue? > Well, it seems as if the org-babel-tangle-file call in org-babel-load-file returns nil, but it's not clear why. Do you have an emacs that is sufficiently healthy so that you can evaluate things? An emacs -q perhaps with a minimal init file that will set up org? If so, go to its *scratch* buffer and try evaluating this: (org-babel-tangle-file "/Users/fullofcaffeine/.emacs.d/fullofcaffeine.org" "/Users/fullofcaffeine/.emacs.d/fullofcaffeine.el" "emacs-lisp") It should return ("/Users/fullofcaffeine/.emacs.d/fullofcaffeine.el") Does it? Does the file /Users/fullofcaffeine/.emacs.d/fullofcaffeine.el exist? -- Nick