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

favicon.ico not found on local test #51

Closed
GuicarMIS opened this issue Dec 9, 2021 · 2 comments
Closed

favicon.ico not found on local test #51

GuicarMIS opened this issue Dec 9, 2021 · 2 comments

Comments

@GuicarMIS
Copy link
Contributor

When testing locally the website, a warning occurs when running the recommended command "bundle exec jekyll server --safe --trace":
/home/guillaume/gems/gems/pathutil-0.16.2/lib/pathutil.rb:502: warning: Using the last argument as keyword parameters is deprecated

And then, when loading the website in a browser the following appears in the shell:
[2021-12-09 18:02:57] ERROR `/favicon.ico' not found

No webpage appears.

By removing the --safe argument, no warning, no error happens and the website can be tested.

I am using Xubuntu 20.04 with a fresh install of the tools recommended in the readme of the website.

@aescande
Copy link
Contributor

I encountered the same problem as well and could use the same fix.
I added the workaround with the --safe in the readme (9b6b08d).

There should be a way to fix the error at the source by investigating the deprecation warning, but I don't have the combo competence+time to look at this so the workaround will do for now (maybe @gergondet would have an idea).

@gergondet
Copy link
Member

I think it's ok to remove the --safe in general.

In fact, the doc says it does the following:

Disable [non-whitelisted plugins](https://jekyllrb.com/docs/plugins/), caching to disk, and ignore symbolic links.

So I'm not sure how it interferes with the favicon but it's ok not to use it imho

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