Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org-export-get-reference: Symbol's function definition is void (fixed by commenting out) #152

Closed
dctoedt opened this issue Oct 6, 2015 · 8 comments

Comments

@dctoedt
Copy link

dctoedt commented Oct 6, 2015

When I installed org-reveal and tried it, the export process threw an error: "Symbol’s function definition is void: org-export-get-reference"

I searched for that function in ox-reveal.el and found it at line 381 --- commenting out that line seemed to solve the problem.

(preferred-id (or (org-element-property :CUSTOM_ID headline)
;; (org-export-get-reference headline info) ;; I COMMENTED OUT THIS LINE
(org-element-property :ID headline)))

I'll leave it to others more skilled than I to determine whether this is truly a fix or just dumb luck.

@pallix
Copy link

pallix commented Oct 7, 2015

I had the same problem and updating org-mode solved it. I know have version 8.3.2 and it works well.

@yjwen
Copy link
Owner

yjwen commented Oct 8, 2015

Yes, please update Org-mode to 8.3.

@yjwen yjwen closed this as completed Oct 10, 2015
@psachin
Copy link

psachin commented Jul 23, 2016

I'm using org-version 8.3.5(Emacs version 25.0.95.1) Still have this problem.

@psachin
Copy link

psachin commented Jul 23, 2016

@erdmenger
Copy link

erdmenger commented Nov 10, 2016

Thank you for me Org-mode 9.0 fixed the issue on my Windows and Linux maschines.

@thomas-louvigne
Copy link

i got this problem also :-(
(And i am on org-mode 9.0.3 / elpa)

@erdmenger
Copy link

erdmenger commented Feb 13, 2017

Now I have the same issue on my Macbook Pro. Trying to solve it with installing the latest version of org-mode (9.0.5-elpa org-20170210) from elpa at the end I get an error:
Symbol’s function definition is void: org-link-set-parameters
Even though I tried the org-reload , uninstall, install loop several times, as described here:
https://lists.gnu.org/archive/html/emacs-orgmode/2015-08/msg00321.html

Any hints welcome.

@stasvlasov
Copy link

stasvlasov commented May 24, 2017

Dear all, I had the same problem (on mac with emacs 25.1.1 and org-2017-05-15). I guess it is something with org installation:

Important: you need to do this in a session where no .org file has been visited, i.e., where no Org built-in function have been loaded. Otherwise autoload Org functions will mess up the installation.

This steps worked for me:

  • delete all packages from ~/.emacs.d/elpa
  • start vanilla emacs (i.e., like with empty init.el and do NOT call package-initialize)
  • add org-mode packages archiveM-: (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
  • call M-x package-list-packages
  • install newest org (in my case it was org-2017-05-15)
  • restart emacs as usual (all packages will be reinstalled automatically if you require it with use-package)

After this work around the error has gone. But I would still consider it a bug to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants