-
Notifications
You must be signed in to change notification settings - Fork 62
-
Hi,
Context
- I'm developing a
Jekyllwebsite which usesjekyll_picture_tagplugins which in turn usesvips. - I'm using
helaili/jekyll-action@v2to build and deploy on GitHub Pages
Also before using jekyll_picture_tag and vips, the build and deployment were working fine, locally and with GitHub Action.
What happened
Since I integrate jekyll_picture_tag and vips:
- On local builds, everything's working.
- On GitHub Action (to deploy on GitHub Pages), I see this error :
2021年05月03日T10:55:17.5230597Z Rendering: _posts/en/2021-04-22-jvm-vs-native.markdown
2021年05月03日T10:55:17.5231669Z Pre-Render Hooks: _posts/en/2021-04-22-jvm-vs-native.markdown
2021年05月03日T10:55:17.5596191Z Rendering Liquid: _posts/en/2021-04-22-jvm-vs-native.markdown
2021年05月03日T10:55:17.5707044Z Generating new image file: /assets/img/application-architecture-485.0-82d87cc38.avif
2021年05月03日T10:55:17.9138394Z �[31m Liquid Exception: stack level too deep in /github/workspace/_posts/en/2021-04-22-jvm-vs-native.markdown�[0m
2021年05月03日T10:55:17.9147130Z bundler: failed to load command: jekyll (/github/workspace/vendor/bundle/ruby/2.7.0/bin/jekyll)
2021年05月03日T10:55:17.9152751Z /github/workspace/vendor/bundle/ruby/2.7.0/gems/ruby-vips-2.0.17/lib/vips/operation.rb:187:in `vips_cache_operation_build': stack level too deep (SystemStackError)
2021年05月03日T10:55:17.9154815Z from /github/workspace/vendor/bundle/ruby/2.7.0/gems/ruby-vips-2.0.17/lib/vips/operation.rb:187:in `build'
2021年05月03日T10:55:17.9156279Z from /github/workspace/vendor/bundle/ruby/2.7.0/gems/ruby-vips-2.0.17/lib/vips/operation.rb:402:in `call'
2021年05月03日T10:55:17.9157741Z from /github/workspace/vendor/bundle/ruby/2.7.0/gems/ruby-vips-2.0.17/lib/vips/image.rb:469:in `write_to_file'
2021年05月03日T10:55:17.9159076Z from /github/workspace/vendor/bundle/ruby/2.7.0/gems/jekyll_picture_tag-2.0.3/lib/jekyll_picture_tag/images/image_file.rb:74:in `write'
2021年05月03日T10:55:17.9160445Z from /github/workspace/vendor/bundle/ruby/2.7.0/gems/jekyll_picture_tag-2.0.3/lib/jekyll_picture_tag/images/image_file.rb:35:in `build'
2021年05月03日T10:55:17.9161785Z from /github/workspace/vendor/bundle/ruby/2.7.0/gems/jekyll_picture_tag-2.0.3/lib/jekyll_picture_tag/images/image_file.rb:19:in `initialize'
2021年05月03日T10:55:17.9163359Z from /github/workspace/vendor/bundle/ruby/2.7.0/gems/jekyll_picture_tag-2.0.3/lib/jekyll_picture_tag/images/generated_image.rb:81:in `new'
2021年05月03日T10:55:17.9165077Z from /github/workspace/vendor/bundle/ruby/2.7.0/gems/jekyll_picture_tag-2.0.3/lib/jekyll_picture_tag/images/generated_image.rb:81:in `generate_image'
2021年05月03日T10:55:17.9165963Z ... 69 levels...
2021年05月03日T10:55:17.9167137Z from /usr/local/bundle/gems/bundler-2.2.15/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
2021年05月03日T10:55:17.9168224Z from /usr/local/bundle/gems/bundler-2.2.15/exe/bundle:37:in `<top (required)>'
2021年05月03日T10:55:17.9169196Z from /usr/local/bundle/bin/bundle:23:in `load'
2021年05月03日T10:55:17.9170074Z from /usr/local/bundle/bin/bundle:23:in `<main>'
- You can find the complete logs at https://gist.github.com/scalastic/1e164af3fe32ec72dbc9dee3eb0d1787
- Source code is https://github.com/scalastic/scalastic.github.io/tree/webp (branch webp)
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions
Finally found a new and working GitHub Actions that uses ArchLinux distribution which contains a complete libvips (AVIF, WebP, JPEG,...). You can find it at https://github.com/jeffreytse/jekyll-deploy-action
I used it on my own Jekyll site and it works great.
Replies: 3 comments 1 reply
-
Hi @scalastic, wow, I've not seen that before.
From the stack trace it looks like ruby-vips has pushed it over the edge, but it's actually jekyll that's filled most of the stack. Have you tried asking there?
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi @jcupitt,
Not yet, I'm trying to investigate first... and you (as ruby-vips) were the first on the list ;)
Thanks for the response: I gonna try increasing ulimit too.
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi @jcupitt,
For complete information, I've made a test case to reproduce the problem at https://github.com/scalastic/jekyll-test-cases/ if you want to have a look.
I've also created 2 issues to related projects:
- Avif generates Liquid Exception: stack level too deep (SystemStackError) rbuchberger/jekyll_picture_tag#249
- Liquid Exception: stack level too deep (SystemStackError) helaili/jekyll-action#93
Feel free to participate if you think that would be useful.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions
-
Finally found a new and working GitHub Actions that uses ArchLinux distribution which contains a complete libvips (AVIF, WebP, JPEG,...). You can find it at https://github.com/jeffreytse/jekyll-deploy-action
I used it on my own Jekyll site and it works great.
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 1