emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
@ 2015-08-07 12:52 Xebar Saram
  2015-08-07 14:16 ` Bastien Guerry
  2015-08-08  7:28 ` Kyle Meyer
  0 siblings, 2 replies; 13+ messages in thread
From: Xebar Saram @ 2015-08-07 12:52 UTC (permalink / raw)
  To: org mode

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

Hi

just updated org today and now i get this error on startup:


Invalid function: org-babel-header-args-safe-fn

is this related to the new release?

best

Z

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

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-07 12:52 latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn Xebar Saram
@ 2015-08-07 14:16 ` Bastien Guerry
  2015-08-07 14:38   ` Xebar Saram
  2015-08-08  7:28 ` Kyle Meyer
  1 sibling, 1 reply; 13+ messages in thread
From: Bastien Guerry @ 2015-08-07 14:16 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

Xebar Saram <zeltakc@gmail.com> writes:

> just updated org today and now i get this error on startup:
>
> Invalid function: org-babel-header-args-safe-fn
>
> is this related to the new release?

Can you reproduce the problem with a minimal configuration and share
this minimal configuration?

-- 
 Bastien

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-07 14:16 ` Bastien Guerry
@ 2015-08-07 14:38   ` Xebar Saram
  2015-08-07 15:33     ` Bastien
  0 siblings, 1 reply; 13+ messages in thread
From: Xebar Saram @ 2015-08-07 14:38 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: org mode

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

Hi Bastien

As requested here is a config just with only the base the orgmode section
(~ 10% of full config)
note- the original file is a org mode file which is converted to a .el file:
https://paste.xinu.at/Gr3KF/

i also use a simple init file  (my config is in orgmode format)

https://paste.xinu.at/mv5h29/

Please let me know if this is what you had in mind. would be glad to help
and debug this

best

z

On Fri, Aug 7, 2015 at 5:16 PM, Bastien Guerry <bzg@gnu.org> wrote:

> Xebar Saram <zeltakc@gmail.com> writes:
>
> > just updated org today and now i get this error on startup:
> >
> > Invalid function: org-babel-header-args-safe-fn
> >
> > is this related to the new release?
>
> Can you reproduce the problem with a minimal configuration and share
> this minimal configuration?
>
> --
>  Bastien
>

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

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-07 14:38   ` Xebar Saram
@ 2015-08-07 15:33     ` Bastien
  2015-08-07 16:47       ` Xebar Saram
  0 siblings, 1 reply; 13+ messages in thread
From: Bastien @ 2015-08-07 15:33 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

Hi Xebar,

try removing (require 'org-install), it is not needed since long.

-- 
 Bastien

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-07 15:33     ` Bastien
@ 2015-08-07 16:47       ` Xebar Saram
  2015-08-07 19:01         ` Ista Zahn
  0 siblings, 1 reply; 13+ messages in thread
From: Xebar Saram @ 2015-08-07 16:47 UTC (permalink / raw)
  To: Bastien; +Cc: org mode

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

Thx for the response Bastien

i removed (require 'org-install) from my init.el file (correct?) and
restarted emacs but get the same error

Invalid function: org-babel-header-args-safe-fn

i also tried now to downgrade to previous version from 3/8/15 and the error
is gone so its 100% reproducible with the 5/8/15 elpa version

thx again

Z



On Fri, Aug 7, 2015 at 6:33 PM, Bastien <bzg@gnu.org> wrote:

> Hi Xebar,
>
> try removing (require 'org-install), it is not needed since long.
>
> --
>  Bastien
>

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

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-07 16:47       ` Xebar Saram
@ 2015-08-07 19:01         ` Ista Zahn
  2015-08-08  4:07           ` Xebar Saram
  0 siblings, 1 reply; 13+ messages in thread
From: Ista Zahn @ 2015-08-07 19:01 UTC (permalink / raw)
  To: Xebar Saram; +Cc: Bastien, org mode

We discussed this already in another thread[0]. The upshot was run
"M-x byte-compile-file" on ob-R.el.

Best,
Ista
[0] https://www.mail-archive.com/emacs-orgmode@gnu.org/msg98762.html

On Fri, Aug 7, 2015 at 12:47 PM, Xebar Saram <zeltakc@gmail.com> wrote:
>
> Thx for the response Bastien
>
> i removed (require 'org-install) from my init.el file (correct?) and
> restarted emacs but get the same error
>
> Invalid function: org-babel-header-args-safe-fn
>
> i also tried now to downgrade to previous version from 3/8/15 and the error
> is gone so its 100% reproducible with the 5/8/15 elpa version
>
> thx again
>
> Z
>
>
>
> On Fri, Aug 7, 2015 at 6:33 PM, Bastien <bzg@gnu.org> wrote:
>>
>> Hi Xebar,
>>
>> try removing (require 'org-install), it is not needed since long.
>>
>> --
>>  Bastien
>
>

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-07 19:01         ` Ista Zahn
@ 2015-08-08  4:07           ` Xebar Saram
  2015-08-08 13:54             ` Ista Zahn
  0 siblings, 1 reply; 13+ messages in thread
From: Xebar Saram @ 2015-08-08  4:07 UTC (permalink / raw)
  To: Ista Zahn; +Cc: Bastien, org mode

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

Hi Ista

i did do a byte compiling but that didnt help. i got this message when i
did byte compile

Compiling no file at Sat Aug  8 07:06:30 2015
Leaving directory `/home/zeltak/.emacs.d/elpa/ace-isearch-20150807.1803'
Compiling file /home/zeltak/.emacs.d/elpa/org-20150805/ob-R.el at Sat Aug
 8 07:06:55 2015
Entering directory `/home/zeltak/.emacs.d/elpa/org-20150805/'
ob-R.el:72:11:Warning: reference to free variable
`org-babel-safe-header-args'

In end of data:
ob-R.el:470:1:Warning: the following functions are not known to be defined:
    org-babel-header-args-safe-fn, org-babel-graphical-output-file

best

Z


On Fri, Aug 7, 2015 at 10:01 PM, Ista Zahn <istazahn@gmail.com> wrote:

> We discussed this already in another thread[0]. The upshot was run
> "M-x byte-compile-file" on ob-R.el.
>
> Best,
> Ista
> [0] https://www.mail-archive.com/emacs-orgmode@gnu.org/msg98762.html
>
> On Fri, Aug 7, 2015 at 12:47 PM, Xebar Saram <zeltakc@gmail.com> wrote:
> >
> > Thx for the response Bastien
> >
> > i removed (require 'org-install) from my init.el file (correct?) and
> > restarted emacs but get the same error
> >
> > Invalid function: org-babel-header-args-safe-fn
> >
> > i also tried now to downgrade to previous version from 3/8/15 and the
> error
> > is gone so its 100% reproducible with the 5/8/15 elpa version
> >
> > thx again
> >
> > Z
> >
> >
> >
> > On Fri, Aug 7, 2015 at 6:33 PM, Bastien <bzg@gnu.org> wrote:
> >>
> >> Hi Xebar,
> >>
> >> try removing (require 'org-install), it is not needed since long.
> >>
> >> --
> >>  Bastien
> >
> >
>

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

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-07 12:52 latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn Xebar Saram
  2015-08-07 14:16 ` Bastien Guerry
@ 2015-08-08  7:28 ` Kyle Meyer
  2015-08-08  7:47   ` Xebar Saram
  1 sibling, 1 reply; 13+ messages in thread
From: Kyle Meyer @ 2015-08-08  7:28 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

Hello,

Xebar Saram <zeltakc@gmail.com> wrote:
> Hi
>
> just updated org today and now i get this error on startup:
>
>
> Invalid function: org-babel-header-args-safe-fn
>
> is this related to the new release?

It may be related to an issue with compiling during the package
update[1].  Magit has also had problems with this lately (e.g., this
issue[2]).  Please try to uninstall and reinstall.

[1] http://emacs.stackexchange.com/questions/13574/technical-considerations-for-package-maintainers-to-not-use-the-emacs-package-ma
[2] https://github.com/magit/magit/issues/2154

--
Kyle

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-08  7:28 ` Kyle Meyer
@ 2015-08-08  7:47   ` Xebar Saram
  2015-08-08 17:15     ` Kyle Meyer
  0 siblings, 1 reply; 13+ messages in thread
From: Xebar Saram @ 2015-08-08  7:47 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: org mode

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

Hi Kyle

i tried uninstall and install with no success

best

Z

On Sat, Aug 8, 2015 at 10:28 AM, Kyle Meyer <kyle@kyleam.com> wrote:

> Hello,
>
> Xebar Saram <zeltakc@gmail.com> wrote:
> > Hi
> >
> > just updated org today and now i get this error on startup:
> >
> >
> > Invalid function: org-babel-header-args-safe-fn
> >
> > is this related to the new release?
>
> It may be related to an issue with compiling during the package
> update[1].  Magit has also had problems with this lately (e.g., this
> issue[2]).  Please try to uninstall and reinstall.
>
> [1]
> http://emacs.stackexchange.com/questions/13574/technical-considerations-for-package-maintainers-to-not-use-the-emacs-package-ma
> [2] https://github.com/magit/magit/issues/2154
>
> --
> Kyle
>

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

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-08  4:07           ` Xebar Saram
@ 2015-08-08 13:54             ` Ista Zahn
  2015-09-04 19:28               ` Mikhail Titov
  0 siblings, 1 reply; 13+ messages in thread
From: Ista Zahn @ 2015-08-08 13:54 UTC (permalink / raw)
  To: Xebar Saram; +Cc: Bastien, org mode

Unfortunately I now can't reproduce the problem, so I can't check if
my suggestion to byte compile ob-R.el works or not. When I did observe
the issue you describe that seemed to fix it, and at least one other
person confirmed that it worked for them as well.

Since it doesn't work for you I suggest removing org-plus-contrib (or
org), starting emacs with 'emacs -Q' and running something like

(require 'package)
(add-to-list 'package-archives
             '("org" . "http://orgmode.org/elpa/") t)
(package-initialize)
(package-install 'org-plus-contrib)
;; or (package-install 'org)

Best,
Ista

On Sat, Aug 8, 2015 at 12:07 AM, Xebar Saram <zeltakc@gmail.com> wrote:
> Hi Ista
>
> i did do a byte compiling but that didnt help. i got this message when i did
> byte compile
>
> Compiling no file at Sat Aug  8 07:06:30 2015
> Leaving directory `/home/zeltak/.emacs.d/elpa/ace-isearch-20150807.1803'
> Compiling file /home/zeltak/.emacs.d/elpa/org-20150805/ob-R.el at Sat Aug  8
> 07:06:55 2015
> Entering directory `/home/zeltak/.emacs.d/elpa/org-20150805/'
> ob-R.el:72:11:Warning: reference to free variable
> `org-babel-safe-header-args'
>
> In end of data:
> ob-R.el:470:1:Warning: the following functions are not known to be defined:
>     org-babel-header-args-safe-fn, org-babel-graphical-output-file
>
> best
>
> Z
>
>
> On Fri, Aug 7, 2015 at 10:01 PM, Ista Zahn <istazahn@gmail.com> wrote:
>>
>> We discussed this already in another thread[0]. The upshot was run
>> "M-x byte-compile-file" on ob-R.el.
>>
>> Best,
>> Ista
>> [0] https://www.mail-archive.com/emacs-orgmode@gnu.org/msg98762.html
>>
>> On Fri, Aug 7, 2015 at 12:47 PM, Xebar Saram <zeltakc@gmail.com> wrote:
>> >
>> > Thx for the response Bastien
>> >
>> > i removed (require 'org-install) from my init.el file (correct?) and
>> > restarted emacs but get the same error
>> >
>> > Invalid function: org-babel-header-args-safe-fn
>> >
>> > i also tried now to downgrade to previous version from 3/8/15 and the
>> > error
>> > is gone so its 100% reproducible with the 5/8/15 elpa version
>> >
>> > thx again
>> >
>> > Z
>> >
>> >
>> >
>> > On Fri, Aug 7, 2015 at 6:33 PM, Bastien <bzg@gnu.org> wrote:
>> >>
>> >> Hi Xebar,
>> >>
>> >> try removing (require 'org-install), it is not needed since long.
>> >>
>> >> --
>> >>  Bastien
>> >
>> >
>
>

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-08  7:47   ` Xebar Saram
@ 2015-08-08 17:15     ` Kyle Meyer
  2015-08-08 19:08       ` Xebar Saram
  0 siblings, 1 reply; 13+ messages in thread
From: Kyle Meyer @ 2015-08-08 17:15 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

Xebar Saram <zeltakc@gmail.com> wrote:
> Hi Kyle
>
> i tried uninstall and install with no success

What if you do 'C-u M-x org-reload' before this uninstall/reinstall?

-- 
Kyle

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-08 17:15     ` Kyle Meyer
@ 2015-08-08 19:08       ` Xebar Saram
  0 siblings, 0 replies; 13+ messages in thread
From: Xebar Saram @ 2015-08-08 19:08 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: org mode

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

Hi guys

It turns out i didnt have the org-plus-contrib packages installed (never
really used contrib stuff :)) and after installing that the problem seems
to be gone! :)

thx so much again and sorry for the trouble

best

Z



On Sat, Aug 8, 2015 at 8:15 PM, Kyle Meyer <kyle@kyleam.com> wrote:

> Xebar Saram <zeltakc@gmail.com> wrote:
> > Hi Kyle
> >
> > i tried uninstall and install with no success
>
> What if you do 'C-u M-x org-reload' before this uninstall/reinstall?
>
> --
> Kyle
>

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

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

* Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
  2015-08-08 13:54             ` Ista Zahn
@ 2015-09-04 19:28               ` Mikhail Titov
  0 siblings, 0 replies; 13+ messages in thread
From: Mikhail Titov @ 2015-09-04 19:28 UTC (permalink / raw)
  To: emacs-orgmode

On Sat, Aug  8, 2015 at  8:54 AM, Ista Zahn <istazahn@gmail.com> wrote:
> Unfortunately I now can't reproduce the problem, so I can't check if
> my suggestion to byte compile ob-R.el works or not.

For those still having this issue.

I do confirm this solves the problem that occurred upon upgrading Org
via ELPA on 64-bit MS Windows build of Emacs 24.5.1 maintained by Chris
Zheng.

I deleted and recompiled both ob-core.elc and ob-R.elc .

-- 
Mikhail

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

end of thread, other threads:[~2015-09-04 19:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-07 12:52 latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn Xebar Saram
2015-08-07 14:16 ` Bastien Guerry
2015-08-07 14:38   ` Xebar Saram
2015-08-07 15:33     ` Bastien
2015-08-07 16:47       ` Xebar Saram
2015-08-07 19:01         ` Ista Zahn
2015-08-08  4:07           ` Xebar Saram
2015-08-08 13:54             ` Ista Zahn
2015-09-04 19:28               ` Mikhail Titov
2015-08-08  7:28 ` Kyle Meyer
2015-08-08  7:47   ` Xebar Saram
2015-08-08 17:15     ` Kyle Meyer
2015-08-08 19:08       ` Xebar Saram

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