emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 'org-dynamic-block-define' is a void-function?
@ 2019-12-04  9:49 Sharon Kimble
  2019-12-07 11:35 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Sharon Kimble @ 2019-12-04  9:49 UTC (permalink / raw)
  To: emacs-orgmode

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


On loading the most recent version of org-mode (yesterdays, being
2019-12-03) I am consistently getting this occurring in debugger.

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-function org-dynamic-block-define)
  (org-dynamic-block-define "clocktable" (quote org-clock-report))
  load("/home/boudiccas/.emacs.d/elpa/org-plus-contrib-20191203/org-clock" noerror nil nil mustsuffix)
  #f(compiled-function (f) #<bytecode 0x654c8d1>)("org-clock")
  mapcar(#f(compiled-function (f) #<bytecode 0x654c8d1>) ("ob" "ob-C" "ob-awk" "ob-clojure" "ob-comint" "ob-core" "ob-emacs-lisp" "ob-eval" "ob-exp" "ob-java" "ob-keys" "ob-latex" "ob-lob" "ob-octave" "ob-ref" "ob-ruby" "ob-sh" "ob-table" "ob-tangle" "obarray" "org-agenda" "org-agenda-property" "org-archive" "org-attach" "org-autolist" "org-bibtex" "org-bullets" "org-capture" "org-checklist" "org-cliplink" "org-cliplink-string" "org-cliplink-transport" "org-clock" "org-clock-budget" "org-clock-convenience" "org-compat" "org-cookbook" "org-crypt" "org-dashboard" "org-duration" "org-eldoc" "org-element" "org-entities" "org-faces" "org-footnote" "org-gcal" "org-habit" "org-id" "org-indent" "org-index" ...))
  org-reload(nil)
  funcall-interactively(org-reload nil)
  call-interactively(org-reload nil nil)
  command-execute(org-reload)
--8<---------------cut here---------------end--------------->8---

I have removed the 3/12 version, and then reinstalled it through
paradox, and its come up with the same problem each time I've done it.

I'm aware of [1] and this below, but I'm not inserting a new dynamic
block, just reloading org-mode after the update!

--8<---------------cut here---------------start------------->8---

Add a dispatcher command to insert dynamic blocks

You can add new dynamic blocks with function org-dynamic-block-define. All such dynamic blocks can be used by org-dynamic-block-insert-dblock command.

--8<---------------cut here---------------end--------------->8---

So the next question is, how do I fix it at this end please?

Thanks
Sharon.

[1] https://orgmode.org/Changes.html
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.2.6

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: 'org-dynamic-block-define' is a void-function?
  2019-12-04  9:49 'org-dynamic-block-define' is a void-function? Sharon Kimble
@ 2019-12-07 11:35 ` Nicolas Goaziou
  2019-12-08 17:50   ` Sharon Kimble
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2019-12-07 11:35 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: emacs-orgmode

Hello,

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> On loading the most recent version of org-mode (yesterdays, being
> 2019-12-03) I am consistently getting this occurring in debugger.
>
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (void-function org-dynamic-block-define)
>   (org-dynamic-block-define "clocktable" (quote org-clock-report))

This looks like a FrankenOrg. Your installation is suspicious. I don't
know what is "paradox", but you may want to check if all loaded
libraries are correct (e.g., by looking at `load-path').

Regards,

-- 
Nicolas Goaziou

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

* Re: 'org-dynamic-block-define' is a void-function?
  2019-12-07 11:35 ` Nicolas Goaziou
@ 2019-12-08 17:50   ` Sharon Kimble
  0 siblings, 0 replies; 3+ messages in thread
From: Sharon Kimble @ 2019-12-08 17:50 UTC (permalink / raw)
  To: emacs-orgmode

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

Thanks for getting back to me Nicolas.

The problem seems to be resolved by closing emacs completely, rebooting,
and everything worked perfectly again.

Thanks
Sharon.

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>
>> On loading the most recent version of org-mode (yesterdays, being
>> 2019-12-03) I am consistently getting this occurring in debugger.
>>
>> --8<---------------cut here---------------start------------->8---
>> Debugger entered--Lisp error: (void-function org-dynamic-block-define)
>>   (org-dynamic-block-define "clocktable" (quote org-clock-report))
>
> This looks like a FrankenOrg. Your installation is suspicious. I don't
> know what is "paradox", but you may want to check if all loaded
> libraries are correct (e.g., by looking at `load-path').
>
> Regards,

-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2019-12-08 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04  9:49 'org-dynamic-block-define' is a void-function? Sharon Kimble
2019-12-07 11:35 ` Nicolas Goaziou
2019-12-08 17:50   ` Sharon Kimble

Code repositories for project(s) associated with this 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).