Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Jekyll 0.12.0 causes "Liquid Exception" when invoked with the '--no-auto' switch #711

Closed
GSI opened this Issue Dec 28, 2012 · 5 comments

Comments

Projects
None yet
4 participants
Contributor

GSI commented Dec 28, 2012

Liquid Exception: can't convert Array into String in post
/home/myuser/MYPATH/_plugins/asset_bundler/asset_bundler.rb:199:in `expand_path'
/home/myuser/MYPATH/_plugins/asset_bundler/asset_bundler.rb:199:in `cache_dir'
/home/myuser/MYPATH/_plugins/asset_bundler/asset_bundler.rb:180:in `load_content'
/home/myuser/MYPATH/_plugins/asset_bundler/asset_bundler.rb:136:in `initialize'
/home/myuser/MYPATH/_plugins/asset_bundler/asset_bundler.rb:49:in `new'
/home/myuser/MYPATH/_plugins/asset_bundler/asset_bundler.rb:49:in `block in render'
/home/myuser/MYPATH/_plugins/asset_bundler/asset_bundler.rb:48:in `each'
/home/myuser/MYPATH/_plugins/asset_bundler/asset_bundler.rb:48:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:94:in `block in render_all'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:92:in `collect'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:92:in `render_all'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:82:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/template.rb:124:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/tags/include.rb:26:in `block (2 levels) in render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/context.rb:91:in `stack'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/tags/include.rb:25:in `block in render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/tags/include.rb:20:in `chdir'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/tags/include.rb:20:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:94:in `block in render_all'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:92:in `collect'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:92:in `render_all'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:82:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/template.rb:124:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/tags/include.rb:26:in `block (2 levels) in render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/context.rb:91:in `stack'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/tags/include.rb:25:in `block in render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/tags/include.rb:20:in `chdir'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/tags/include.rb:20:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:94:in `block in render_all'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:92:in `collect'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:92:in `render_all'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/block.rb:82:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/template.rb:124:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/liquid-2.4.1/lib/liquid/template.rb:132:in `render!'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/convertible.rb:101:in `do_layout'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/post.rb:195:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/site.rb:200:in `block in render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/site.rb:199:in `each'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/site.rb:199:in `render'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll_ext-0.1.4/lib/aop.rb:85:in `block (4 levels) in intercept'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll_ext-0.1.4/lib/aop.rb:99:in `call'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll_ext-0.1.4/lib/aop.rb:99:in `block (3 levels) in intercept'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll_ext-0.1.4/lib/aop.rb:83:in `callcc'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll_ext-0.1.4/lib/aop.rb:83:in `block (2 levels) in intercept'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/lib/jekyll/site.rb:41:in `process'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll-0.12.0/bin/jekyll:264:in `'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/bin/jekyll:19:in `load'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/bin/jekyll:19:in `'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll_ext-0.1.4/bin/ejekyll:52:in `load'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/gems/jekyll_ext-0.1.4/bin/ejekyll:52:in `'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/bin/ejekyll:19:in `load'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/bin/ejekyll:19:in `'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `eval'
/home/myuser/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `'
Build Failed

Reproduceable even with zero posts.

Running jekyll --server correctly generates the site. Switching back to 0.11.2 immediately "resolves" the issue.

Owner

parkr commented Dec 28, 2012

Can you point me to the code which runs your asset_bundler.rb plugin? It may be an incompatibility between 0.12.0 and your plugin.

Contributor

GSI commented Jan 6, 2013

@parkr What exactly do you mean?

@GSI You might want to take a look at some of the other asset bundler plugin gems. Jekyll Asset Pipeline and Jekyll Assets are fairly popular. Using gems is safer since they will be updated over time when their dependencies change.

Owner

parkr commented Jan 7, 2013

@GSI This appears to be a problem in your asset_bundler.rb plugin. Closing this issue, as it's not a Jekyll bug or feature request.

@parkr parkr closed this Jan 7, 2013

Contributor

GSI commented Apr 2, 2013

Thanks for your hints! I removed Jekyll Bootstrap (which afaik shipped the asset_bundler.rb in question) and went with an assets plugin.

As a result, the new 0.12 versions of Jekyll work flawlessly - and more transparently - now.

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.