emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-babel-load-file fails with (wrong-type-argument stringp nil)
@ 2015-06-15 17:43 Marcelo de Moraes Serpa
  2015-06-20  0:24 ` Marcelo de Moraes Serpa
  0 siblings, 1 reply; 3+ messages in thread
From: Marcelo de Moraes Serpa @ 2015-06-15 17:43 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]

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?

Thanks,

-- Marcelo.

[-- Attachment #2: Type: text/html, Size: 2010 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-babel-load-file fails with (wrong-type-argument stringp nil)
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Marcelo de Moraes Serpa @ 2015-06-20  0:24 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 1746 bytes --]

*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?
>
> Thanks,
>
> -- Marcelo.
>

[-- Attachment #2: Type: text/html, Size: 2578 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-babel-load-file fails with (wrong-type-argument stringp nil)
  2015-06-20  0:24 ` Marcelo de Moraes Serpa
@ 2015-06-20  4:46   ` Nick Dokos
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2015-06-20  4:46 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-20  4:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).