From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Invalid function: org-babel-header-args-safe-fn in Melpa
Date: Sun, 14 Feb 2016 13:01:26 -0500 [thread overview]
Message-ID: <CAJ51EToXP4SxvZU-e8UBKrAvvCd9TbrEM9xB6RMw9iHREE_LRA@mail.gmail.com> (raw)
In-Reply-To: <87io1r6yh3.fsf@Rainer.invalid>
[-- Attachment #1: Type: text/plain, Size: 2650 bytes --]
It does happen anyway. I had that in to get around this issue a while ago
(long story, but it is why we still run 8.2.10), and I still get the issue
without it.
I think I have figured it out. The order the packages are installed is
important. The code below illustrates the issue for me. If I install
org-plus-contrib first, the issue goes away. Note the first thing the pydoc
package does is:
(require 'org), which I guess interferes with subsequent building of org.
(I am using GNU Emacs 25.1.50.1).
Also, you need to have (R . t) in there. that specifically triggers the
error.
(setq user-emacs-directory "./sandbox/")
(require 'package)
(setq package-archives
'(("org" . "http://orgmode.org/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")))
(package-initialize)
(package-refresh-contents)
(package-install 'pydoc)
(package-install 'org-plus-contrib)
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(R . t)
))
(message "done")
John
-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
On Sun, Feb 14, 2016 at 11:36 AM, Achim Gratz <Stromeko@nexgo.de> wrote:
> Aaron Ecay writes:
> > This looks like the kind of problem that results when org is
> byte-compiled
> > in an emacs with a different version of org loaded. This used to be a
> > problem when installing via package.el (and not just for org), but I
> think
> > there has been some work put into making sure it doesn’t happen any more.
> > (I know emacs developers were discussing them and then they seemed to go
> > away so I assumed they were fixed...it’s possible I was mistaken though.)
>
> No, this is bug #10125 and the others that it was merged with (most
> recently #21267, with the exact same error message as John got).
>
> > If I had to guess, I’d say that line 63 of packages.el in your jmax
> > setup defeats these fixes. Try commenting it out. It should not be
> > necessary to manually byte-compile packages: package.el should do that
> > for you. And in this case, I hypothesize that it is actually harmful.
>
> Yes it is. Although I'd venture to guess that it would have happened
> anyway.
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
>
> Wavetables for the Waldorf Blofeld:
> http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables
>
>
>
[-- Attachment #2: Type: text/html, Size: 4222 bytes --]
prev parent reply other threads:[~2016-02-14 18:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-14 15:19 Invalid function: org-babel-header-args-safe-fn in Melpa John Kitchin
2016-02-14 15:48 ` Achim Gratz
2016-02-14 15:54 ` Aaron Ecay
2016-02-14 16:36 ` Achim Gratz
2016-02-14 18:01 ` John Kitchin [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=CAJ51EToXP4SxvZU-e8UBKrAvvCd9TbrEM9xB6RMw9iHREE_LRA@mail.gmail.com \
--to=jkitchin@andrew.cmu.edu \
--cc=Stromeko@nexgo.de \
--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).