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-register-backend: Cannot use unknown "org" back-end as a parent #22

Open
rogorido opened this issue Jan 25, 2018 · 5 comments

Comments

@rogorido
Copy link

I'm getting this error with the last (stable) orgmode version. Any ideas?

@felipelalli
Copy link

Not sure if it is related:

Debugger entered--Lisp error: (void-function org-export-define-derived-backend)
  (org-export-define-derived-backend (quote graphviz) (quote org) :menu-entry (quote (103 "Export to graphviz diagram" ((102 "Create graph" ox-graphviz-export) (111 "Create graph and open" ox-graphviz-export-and-open) (100 "Create graph & dot file" ox-graphviz-export-dot) (79 "Create graph & dot file, and open graph" ox-graphviz-export-dot-and-open)))))
  eval-buffer(#<buffer  *load*-225262> nil

@uMtMu
Copy link

uMtMu commented Feb 26, 2018

ı got same error too. installed with install-package

  • graphviz 2.38.0-12ubuntu2.1
  • GNU Emacs 24.5.1
  • Org-mode version 8.2.10
  • org-mind-map 20171206.645

(require 'ox-org)
solved my problem

@nrvale0
Copy link

nrvale0 commented Mar 2, 2018

Also seeing this error message:

  • "GNU Emacs 25.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.19)
  • Org: "8.2.10"
  • org-mind-map: 20171206.645

I couldn't get the package installed at all using use-package so the above uses straight.el for package management.

EDIT:

I had to do the following to get this package to work:

  1. Install org using straight.el instead of use-package or relying on the vendor packaged org
  2. Add the following to init to do necessary requires and pull in a pending PR:
(require 'ox)
(require 'ox-org)

(straight-use-package
   '(org-mind-map :type git :host github :repo "lispmeister/org-mind-map"))

I'll leave the process of setting up straight.el package management as a (non-trivial) exercise for the reader.

@whatacold
Copy link
Contributor

I have this problem too with org-mode 9.1.4 and I've figured out that this error is due to the org export backend is loaded yet.

from this doc https://orgmode.org/manual/Exporting.html , there are two solutions:

Org loads back-ends for the following formats by default: ascii, html, icalendar, latex and odt.

Org can load additional back-ends either of two ways: through the org-export-backends variable configuration; or, by requiring the library in the Emacs init file like this:

(require 'ox-md)

For me, explicitly requiring ox-org is easier, i.e.

(require 'ox-org)
(require 'org-mind-map)

@ruiying-ocean
Copy link

ruiying-ocean commented Jun 20, 2021

I also met this issue and my way was to add (require 'ox-org) into the org-mind-map.el file. Then I can lazy-load it using use-package.

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

6 participants