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

404 file not found #18

Open
paolocrosetto opened this issue Sep 16, 2022 · 5 comments
Open

404 file not found #18

paolocrosetto opened this issue Sep 16, 2022 · 5 comments

Comments

@paolocrosetto
Copy link

Dear all,

thanks for the impressive work. I am planning to use this for an upcoming event here in Grenoble, but I am not able to use the remote theme, because

Remote Theme: Using theme digitalegesellschaft/jekyll-theme-conference Remote Theme: Downloading https://codeload.github.com/digitalegesellschaft/jekyll-theme-conference/zip/2.0.0 to /tmp/jekyll-remote-theme-20220916-8-1mbj0ac.zip github-pages 227 | Error: 404 - Not Found - Loading URL: https://codeload.github.com/digitalegesellschaft/jekyll-theme-conference/zip/2.0.0

I might be doing something wrong but I suppose that the file is just not there?

Thanks!

@lorenzschmid
Copy link
Member

lorenzschmid commented Sep 19, 2022

Thanks for the flowers and sorry for the issues you encountered. It seems that the version/tag you try to install is not available anymore. Try with a more recent one and following the new scheme (with a "v" in front of the version), i.e. v3.6.0:

remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v3.6.0"

Seems like we have to update the README here. Thanks for pointing that out.

@paolocrosetto
Copy link
Author

paolocrosetto commented Sep 19, 2022

Thanks for your reply.

That solved the issue -- I now can download the theme and build goes on -- but only to crash later. This time GitHub complains that

github-pages 227 | Error: File to import not found or unreadable: leaflet/leaflet.

Edit: more info from the log

Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss': File to import not found or unreadable: leaflet/leaflet. Load paths: /usr/local/bundle/gems/jekyll-theme-primer-0.6.0/_sass /tmp/jekyll-remote-theme-[20](https://github.com/INRA-GAEL/winterworkshop2023/actions/runs/3080884880/jobs/4978774686#step:4:21)220919-7-71ssov/_sass /usr/local/bundle/gems/jekyll-theme-primer-0.6.0/_sass /tmp/jekyll-remote-theme-20220919-7-71ssov/_sass on line 26

even more (possibly useless) info: I tried to serve it locally, same problem:

/tmp/jekyll-remote-theme-20220919-146199-xhn2z8/_sass/conference.scss:26: File to import not found or unreadable: leaflet/leaflet. (Sass::SyntaxError) Load paths: /var/lib/gems/2.7.0/gems/jekyll-theme-primer-0.6.0/_sass /tmp/jekyll-remote-theme-20220919-146199-xhn2z8/_sass /var/lib/gems/2.7.0/gems/jekyll-theme-primer-0.6.0/_sass /tmp/jekyll-remote-theme-20220919-146199-xhn2z8/_sass

I know it has probably nothing to do with your code but could you please maybe help out? Thanks!

@paolocrosetto
Copy link
Author

It might have something to do with this latest commit changing the names of the leaflet files?

52b787b

@lorenzschmid
Copy link
Member

lorenzschmid commented Sep 21, 2022

It seems that there are some problems in general around Github Pages and the Jekyll 4. In the issue they describe as an alternative solution to use Github Actions instead and even provide a basic setup example: Jekyll Github Action. This would allow you to use any Jekyll theme/plugin as you do not run a speced down version as is the Github Pages generator. Still, it would allow you to upload the static content to Github Pages. Would you mind trying that one out instead? Naturally, we will have to update our README as well.

@dorchard
Copy link
Contributor

dorchard commented Nov 7, 2022

@paolocrosetto Are you setting up your own Jekyll GitHub action to build and deploy? I had a very similar sounding problem to you, but deployed via the technique described here instead:
https://docs.github.com/en/pages/quickstart
(and now it works for me).
(see PR #21 which also is related I think).

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

3 participants