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

Current PyPI package has old reveal.js version #98

Open
ianychoi opened this issue Nov 24, 2017 · 0 comments
Open

Current PyPI package has old reveal.js version #98

ianychoi opened this issue Nov 24, 2017 · 0 comments

Comments

@ianychoi
Copy link

I just install rst2html5-tools using the command: pip install rst2html5-tools.

When I execute one example using reveal.js, I see the following error:

$ rst2html5 --jquery --reveal-js --pretty-print-code     examples/slides.rst > reveal.html
IOError: [Errno 2] No such file or directory: '/Users/ian/project/rst2html5-test/venv/lib/python2.7/site-packages/html5css3/thirdparty/revealjs/css/theme/league.css'
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <[email protected]>.
Include "--traceback" output, Docutils version (0.14),
Python version (2.7.10), your OS type & version, and the
command line used.

I discovered that PyPI package: https://pypi.python.org/pypi/rst2html5-tools/0.5.3 has older version of reveal.js because:

  1. No league.css file on lib/python2.7/site-packages/html5css3/thirdparty/revealjs/css/theme/ folder:
$ ls -al /Users/ian/project/rst2html5-test/venv/lib/python2.7/site-packages/html5css3/thirdparty/revealjs/css/theme/
total 128
drwxr-xr-x  14 ian  staff   476 Nov 24 10:35 .
drwxr-xr-x   6 ian  staff   204 Nov 24 10:35 ..
-rw-r--r--   1 ian  staff  1734 Nov 24 10:35 README.md
-rw-r--r--   1 ian  staff  4967 Nov 24 10:35 beige.css
-rw-r--r--   1 ian  staff  5193 Nov 24 10:35 blood.css
-rw-r--r--   1 ian  staff  4992 Nov 24 10:35 default.css
-rw-r--r--   1 ian  staff  4261 Nov 24 10:35 moon.css
-rw-r--r--   1 ian  staff  3796 Nov 24 10:35 night.css
-rw-r--r--   1 ian  staff  3869 Nov 24 10:35 serif.css
-rw-r--r--   1 ian  staff  4001 Nov 24 10:35 simple.css
-rw-r--r--   1 ian  staff  4410 Nov 24 10:35 sky.css
-rw-r--r--   1 ian  staff  4262 Nov 24 10:35 solarized.css
drwxr-xr-x  11 ian  staff   374 Nov 24 10:35 source
drwxr-xr-x   5 ian  staff   170 Nov 24 10:35 template
  1. When I browse reveal.js from the current submodule pointer: https://github.com/marianoguerra/rst2html5/tree/master/html5css3/thirdparty -> https://github.com/hakimel/reveal.js/tree/c93fbf1ddcb0db76d34e558cab2e35cb8823702d , I can see league.css file.

  2. When I see Fix missing files in RevealJS #82 #83 , there had been some changes on reveal.js previously by hakimel/reveal.js@dc215a2 .

So now I think there in PyPI package environment git submodule update needs to be executed and the package needs to be re-published into PyPI.

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

1 participant