emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-babel-load-file fails with (wrong-type-argument stringp nil)
Date: Sat, 20 Jun 2015 00:46:56 -0400	[thread overview]
Message-ID: <87y4jfgf5r.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: CACHMzOF0F=TXHoF-cQbBh+_w1KHPit2yqMKz4e+wkX2pRxMOyg@mail.gmail.com

Marcelo de Moraes Serpa <celoserpa@gmail.com> 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 <celoserpa@gmail.com> 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^@   \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

      reply	other threads:[~2015-06-20  4:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 17:43 org-babel-load-file fails with (wrong-type-argument stringp nil) Marcelo de Moraes Serpa
2015-06-20  0:24 ` Marcelo de Moraes Serpa
2015-06-20  4:46   ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4jfgf5r.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).