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

timeline-range-slider/slider.css' could not be found in the COMPRESS_ROOT #453

Open
jameshowison opened this issue Feb 11, 2023 · 1 comment

Comments

@jameshowison
Copy link

Exciting stuff :)

I'm trying to get this to build as a Docker image (I'm afraid I run into virtualenv issues build on my host OS, and I'm hoping to document using rcvis without installing anything other than Docker Desktop). So I'm hoping to use repo2docker: https://github.com/jupyterhub/repo2docker. In short repo2docker tries to use files like requirements.txt to build a docker image with all the code and dependencies.

I ran into one issue with confusion between a distutils pycurl and the pycurl in the ./infra/requirements-not-for-readthedocs.txt file, which removing the pinned pycurl seemed to work (ie that file now just lists pycurl without the version number.

I was then able to get the docker image to build and run. I then attempted to run the ./scripts/serve.sh script, realized I needed a .env file (which I added to the repo folder, then rebuilt).

Running the ./scripts/serve.sh script I'm seeing this error:

./scripts/serve.sh 
Cleared cache
Compressing... CommandError: An error occurred during rendering /home/jlh5498/templates/visualizer/common-visualizer-nonblocking.html: '%40artoonie/timeline-range-slider/timeline-range-slider/slider.css' could not be found in the COMPRESS_ROOT '/home/jlh5498/static' or with staticfiles.

Seems to be something Django related :) Any ideas?

Thanks,
James

@artoonie
Copy link
Owner

Sorry for the very late reply, just now seeing this!

The README instructions should be updated with how to fix this: you also need to run npm install to get the timeline-range-slider installed.

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

2 participants