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

error "Need package ‘org-20150330’, but only 9.1.9 is available" #324

Closed
tamouse opened this issue Apr 6, 2018 · 13 comments
Closed

Comments

@tamouse
Copy link

tamouse commented Apr 6, 2018

Started getting this today after resetting my .emacs.d directory...

@doolio
Copy link

doolio commented Apr 9, 2018

What version of org do you use and from where (built-in, from org elpa, org-plus-contrib from org elpa?

@tamouse
Copy link
Author

tamouse commented Apr 10, 2018

I believe it's built-in. I'm not doing anything to load it.

My current config is here: https://github.com/tamouse/my-emacs-d

@doolio
Copy link

doolio commented Apr 10, 2018

And are you still using Emacs 24? The README suggests that the org shipped with Emacs may be out of date for org-reveal and is likely the case if you are still using Emacs 24. However, Org v9.1.9 is the latest version. org-reveal's dependency for org-20150330 is to ensure that you have a minimum compatible version. If you have v9.1.9 installed then it should work.

In terms of your config,

(setq org-reveal-root "https://cdn.jsdelivr.net/reveal.js/3.0.0/")
(setq org-reveal-mathjax t)

You may want to update to the latest reveal.js available at https://cdn.jsdelivr.net/npm/reveal.js@3.6.0 and the second variable is now obsolete (but still available). By default it too uses a CDN for MathJax. See org-reveal-mathjax-url.

@tamouse
Copy link
Author

tamouse commented Apr 11, 2018 via email

@tamouse
Copy link
Author

tamouse commented Apr 11, 2018

I think I see the problem, although I'm not sure. org-version is 8.3.10, which is clearly not new enough. I don't know why it's giving the error about 9.1.9, though.

@tamouse
Copy link
Author

tamouse commented Apr 11, 2018

i've install 9.1.9 from elpa, but i'm still getting the original error when it gets to (use-package ox-revel ...) it still fails with the message above

Looking at package-list-packages, it says ox-reveal is incomaptible:

ox-reveal          20161027.226  incompat   melpa      reveal.js Presentation Back-End for Org Export Engine

@doolio
Copy link

doolio commented Apr 11, 2018

In your elpa directory do you have more than one version of org? You likely have the v9.1.9 you installed and the one installed by org-reveal when you installed it namely org-20150330. I had to remove the org-20150330 directory installed by org-reveal as it was unnecessary having already installed the latest org with org-plus-contrib from elpa. This is a known issue with installing packages from (M)ELPA that already ship with Emacs. See this use-package discussion.

@tamouse
Copy link
Author

tamouse commented Apr 12, 2018

Here's my elpa/ directory:

total 24
drwxr-xr-x   57 tamara  staff   1.8K Apr 11 22:01 alchemist-20180312.604/
drwxr-xr-x    4 tamara  staff   128B Apr 11 22:00 archives/
drwxr-xr-x   12 tamara  staff   384B Apr 11 22:00 async-20180408.844/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:00 bind-key-20171210.2125/
drwxr-xr-x   40 tamara  staff   1.3K Apr 11 22:02 circe-20180223.929/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 coffee-mode-20170324.240/
drwxr-xr-x  220 tamara  staff   6.9K Apr 11 22:00 color-theme-modern-20161219.344/
drwxr-xr-x   52 tamara  staff   1.6K Apr 11 22:00 company-20180329.1441/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:00 company-tern-20161004.1147/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:02 counsel-20180409.1120/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:00 dash-20180310.1317/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:00 dash-functional-20180107.818/
drwxr-xr-x   14 tamara  staff   448B Apr 11 22:02 editorconfig-20180408.2210/
drwxr-xr-x    8 tamara  staff   256B Apr 11 22:01 elixir-mode-20170918.2231/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 emmet-mode-20161113.2158/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 epl-20180205.1249/
drwxr-xr-x    9 tamara  staff   288B Apr 11 22:02 feature-mode-20170907.748/
drwxr-xr-x    9 tamara  staff   288B Apr 11 22:01 flycheck-20180326.836/
drwxr-xr-x    8 tamara  staff   256B Apr 11 22:00 ghub-20180409.1314/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:00 git-commit-20180405.1137/
drwx------    6 tamara  staff   192B Apr 11 22:00 gnupg/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 haml-mode-20170923.2153/
drwxr-xr-x   77 tamara  staff   2.4K Apr 11 22:01 helm-20180410.1155/
drwxr-xr-x   12 tamara  staff   384B Apr 11 22:01 helm-core-20180409.2054/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 helm-projectile-20180407.1842/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 inf-ruby-20180309.433/
drwxr-xr-x   13 tamara  staff   416B Apr 11 22:02 ivy-20180402.1858/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:00 let-alist-1.0.5/
-rw-r--r--    1 tamara  staff   147B Apr 11 22:00 let-alist-1.0.5.signed
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:02 lorem-ipsum-20140911.1408/
drwxr-xr-x   86 tamara  staff   2.7K Apr 11 22:01 magit-20180410.1528/
drwxr-xr-x    8 tamara  staff   256B Apr 11 22:00 magit-popup-20180329.1302/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:02 markdown-mode-20180124.138/
drwxr-xr-x   22 tamara  staff   704B Apr 11 22:02 multiple-cursors-20180406.1350/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 nginx-mode-20170611.2137/
drwxr-xr-x  235 tamara  staff   7.3K Apr 11 22:03 org-9.1.9/
-rw-r--r--    1 tamara  staff   147B Apr 11 22:03 org-9.1.9.signed
drwxr-xr-x   46 tamara  staff   1.4K Apr 11 22:01 php-mode-20180409.537/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 pkg-info-20150517.443/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 popup-20160709.729/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 prettier-js-20180108.2326/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 projectile-20180324.2226/
drwxr-xr-x   11 tamara  staff   352B Apr 11 22:01 robe-20171116.1249/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 ruby-tools-20151209.815/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:00 s-20180406.108/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 sass-mode-20161006.2326/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 scss-mode-20180123.908/
drwxr-xr-x   13 tamara  staff   416B Apr 11 22:03 seq-2.20/
-rw-r--r--    1 tamara  staff   147B Apr 11 22:03 seq-2.20.signed
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:02 slim-mode-20170728.648/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 stylus-mode-20150313.812/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:02 swiper-20180402.1857/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 sws-mode-20150317.1245/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:00 tern-20170925.1333/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:02 try-20170226.805/
drwxr-xr-x   22 tamara  staff   704B Apr 11 22:00 use-package-20180314.1143/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:01 web-mode-20180407.300/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:02 which-key-20180321.331/
drwxr-xr-x    8 tamara  staff   256B Apr 11 22:00 with-editor-20180318.1253/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:02 xquery-mode-20170214.319/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:02 yaml-mode-20180408.2307/
drwxr-xr-x    6 tamara  staff   192B Apr 11 22:02 yasnippet-20180319.607/

Only one org directory.

@tamouse
Copy link
Author

tamouse commented Apr 12, 2018

This is what is now working:

  1. use the formula to load org from this comment: No way to install org jwiegley/use-package#319 (comment)
  2. git clone this repo, and copy ox-reveal.el to a location on the load-path

It's not what I hoped for, but it works, and I'm good with it. Thanks for your help, I was getting worried since I have a class coming up and didn't want to have to redo all the slides. :)

@tamouse tamouse closed this as completed Apr 12, 2018
@doolio
Copy link

doolio commented Apr 12, 2018

OK, good. Glad to hear it. If you produce many slides you may be interested in this project I've recently discovered. It uses a fork of org-reveal. There is also a howto which I'm following to produce all my future slides and keep them under version control and in the same place.

@bsima
Copy link

bsima commented Apr 12, 2018

This fix worked for me too.

(use-package ox-reveal
  :load-path "~/src/org-reveal") ;; or wherever you cloned this repo

@cesquivias
Copy link

I don't think this issue should be closed. Although you can download the source, not resolving this problem effectively breaks the melpa package. Can we just update the org dependency version?

@WeeBull
Copy link

WeeBull commented Jun 22, 2018

Getting help on the package shows that it's dependencies are unable to be met.

ox-reveal is an incompatible package.

     Status: Incompatible because it depends on uninstallable packages.
    Archive: melpa
    Version: 20161027.226
     Commit: 001567cc12d50ba07612edd1718b86a12e8c2547
    Summary: reveal.js Presentation Back-End for Org Export Engine
   Requires: org-20150330 (not available)
   Keywords: outlines hypermedia slideshow presentation 

[back]	[forward]

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

5 participants