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

File contains invalid characters or sequences: ... in assets/minima-social-icons.html #694

Closed
dougbreaux opened this issue Nov 29, 2022 · 3 comments

Comments

@dougbreaux
Copy link

My GitHub Actions Jekyll build with:

remote_theme: jekyll/minima

Is failing with this error, all of a sudden:

         Rendering: _posts/2022-03-28-download-podcast-files.md
  Pre-Render Hooks: _posts/2022-03-28-download-podcast-files.md
  Rendering Markup: _posts/2022-03-28-download-podcast-files.md

  Liquid Exception: Invalid syntax for include tag. File contains invalid characters or sequences: social-icons/.svg Valid syntax: {% include file.ext param='value' param2='value' %} in assets/minima-social-icons.html
/usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/tags/include.rb:67:in `validate_file_name': Invalid syntax for include tag. File contains invalid characters or sequences: (ArgumentError)

  social-icons/.svg

Valid syntax:

  {% include file.ext param='value' param2='value' %}

	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/tags/include.rb:128:in `render'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/block_body.rb:91:in `render'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/tags/for.rb:160:in `block (2 levels) in render_segment'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/tags/for.rb:158:in `each'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/tags/for.rb:158:in `block in render_segment'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/context.rb:123:in `stack'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/tags/for.rb:150:in `render_segment'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/tags/for.rb:79:in `render'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/block_body.rb:82:in `render'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
	from /usr/local/bundle/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:30:in `block (2 levels) in render!'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:42:in `measure_bytes'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:29:in `block in render!'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:49:in `measure_time'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/liquid_renderer/file.rb:28:in `render!'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:126:in `render_liquid'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:79:in `render_document'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:62:in `run'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:479:in `render_regenerated'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:472:in `block in render_pages'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:471:in `each'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:471:in `render_pages'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:192:in `render'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:71:in `process'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/command.rb:28:in `process_site'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:65:in `build'
	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:36:in `process'
	from /usr/local/bundle/gems/github-pages-227/bin/github-pages:70:in `block (3 levels) in <top (required)>'
	from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
	from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
	from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
	from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
	from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
	from /usr/local/bundle/gems/github-pages-227/bin/github-pages:6:in `<top (required)>'
	from /usr/local/bundle/bin/github-pages:23:in `load'
	from /usr/local/bundle/bin/github-pages:23:in `<main>'
  Rendering Layout: _posts/2022-03-28-download-podcast-files.md
     Layout source: theme
         Rendering: _posts/2022-03-28-download-podcast-files.md/#excerpt
  Pre-Render Hooks: _posts/2022-03-28-download-podcast-files.md/#excerpt
  Rendering Markup: _posts/2022-03-28-download-podcast-files.md/#excerpt

The referenced file is not the one I changed either.

Repo is https://github.com/dougbreaux/dougbreaux.github.io

@ashmaroli
Copy link
Member

We have changed how we handle social icons and their links in the footer. Please refer README for migration details or lock remote_theme to an older commit.

@ashmaroli ashmaroli closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2022
dougbreaux added a commit to dougbreaux/dougbreaux.github.io that referenced this issue Nov 30, 2022
@dougbreaux
Copy link
Author

Yep, that did the trick, thanks. Specifically, the change of yaml format/content under social_links, as described https://github.com/jekyll/minima#social-networks

@DavidBurela
Copy link

Thanks @dougbreaux that helped me solve my issue

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