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

2015-06-19 Thread Marcelo de Moraes Serpa
*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 
celose...@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.



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

2015-06-19 Thread Nick Dokos
Marcelo de Moraes Serpa celose...@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 
 celose...@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







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

2015-06-15 Thread Marcelo de Moraes Serpa
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.