Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Is this theme still working? Getting undefined method length for nil:NilClass #7

Open
indeedwatson opened this issue Jul 30, 2020 · 0 comments

Comments

@indeedwatson
Copy link

Hello, I'm new to jekyll and having trouble setting this up, wondering if it's me or this is simply unmaintained.

I followed the steps in the readme but I get the error:

 > site/cheeky/comical-jekyll-theme bundle exec jekyll serve
Configuration file: /home/indeedwatson/site/cheeky/comical-jekyll-theme/_config.yml
            Source: /home/indeedwatson/site/cheeky/comical-jekyll-theme
       Destination: /home/indeedwatson/site/cheeky/comical-jekyll-theme/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
Optimizing Images
    Liquid Warning: Liquid syntax error (line 7): Expected id but found open_square in "post in site.categories.[page.category]" in /home/indeedwatson/site/cheeky/comical-jekyll-theme/_layouts/category.html
                    ------------------------------------------------
      Jekyll 4.1.1   Please append `--trace` to the `serve` command 
                     for any additional information or backtrace. 
                    ------------------------------------------------
Traceback (most recent call last):
	45: from /home/indeedwatson/.gem/ruby/2.7.0/bin/bundle:23:in `<main>'
	44: from /home/indeedwatson/.gem/ruby/2.7.0/bin/bundle:23:in `load'
	43: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
	42: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
	41: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
	40: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
	39: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
	38: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
	37: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
	36: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	35: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	34: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
	33: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
	32: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
	31: from /home/indeedwatson/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
	30: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/bin/jekyll:23:in `<top (required)>'
	29: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/bin/jekyll:23:in `load'
	28: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/exe/jekyll:15:in `<top (required)>'
	27: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
	26: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
	25: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
	24: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
	23: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
	22: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
	21: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
	20: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/command.rb:91:in `each'
	19: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
	18: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/commands/build.rb:36:in `process'
	17: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/commands/build.rb:65:in `build'
	16: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/command.rb:28:in `process_site'
	15: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:81:in `process'
	14: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:217:in `cleanup'
	13: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/cleaner.rb:15:in `cleanup!'
	12: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/cleaner.rb:25:in `obsolete_files'
	11: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/cleaner.rb:59:in `new_files'
	10: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/cleaner.rb:59:in `tap'
	 9: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/cleaner.rb:60:in `block in new_files'
	 8: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:348:in `each_site_file'
	 7: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:348:in `each'
	 6: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:349:in `block in each_site_file'
	 5: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:349:in `each'
	 4: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:350:in `block (2 levels) in each_site_file'
	 3: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/cleaner.rb:60:in `block (2 levels) in new_files'
	 2: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/static_file.rb:59:in `destination'
	 1: from /home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/static_file.rb:166:in `url'
/home/indeedwatson/site/cheeky/comical-jekyll-theme/vendor/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/static_file.rb:153:in `cleaned_relative_path': undefined method `length' for nil:NilClass (NoMethodError)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant