emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-babel-load-file fails with (wrong-type-argument stringp nil)


From: Nick Dokos
Subject: Re: [O] org-babel-load-file fails with (wrong-type-argument stringp nil)
Date: Sat, 20 Jun 2015 00:46:56 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Marcelo de Moraes Serpa <address@hidden> 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 <address@hidden> 
> 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(#<buffer  *load*> 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^@   address@hidden@ 
> address@hidden@address@hidden/address@hidden@\315\202A^@   
> address@hidden@\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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]