Skip to content

SystemStackError when using local theme #12

@dwelsch-esi

Description

@dwelsch-esi

I've set up the Jekyll build for the OpenSearch documentation but was unable to connect to the remote theme, so I pointed to a local one in _conf.yml:

# Build settings
markdown: kramdown
# remote_theme: pmarsceill/just-the-docs@v0.3.3
theme: just-the-docs

After running build.sh and making two changes to the doc, I get this SystemStackError:

LinkChecker: [Info] Checking /dashboards/dql/ (./_dashboards/quickstart.md)
         ... MANY, MANY repitions of this line. ...
LinkChecker: [Info] Checking /dashboards/dql/ (./_dashboards/quickstart.md)
#<Thread:0x0000000124fb00e8@listen-wait_thread /Users/dave/.gem/ruby/3.4.5/gems/listen-3.10.0/lib/listen/thread.rb:17 run> terminated with exception (report_on_exception is true):
/Users/dave/.gem/ruby/3.4.5/gems/jekyll-4.4.1/lib/jekyll/stevenson.rb:7:in 'block in Jekyll::Stevenson#initialize': stack level too deep (SystemStackError)
	from /Users/dave/.gem/ruby/3.4.5/gems/logger-1.7.0/lib/logger.rb:787:in 'Logger#format_message'
	from /Users/dave/.gem/ruby/3.4.5/gems/jekyll-4.4.1/lib/jekyll/stevenson.rb:28:in 'Jekyll::Stevenson#add'
	from /Users/dave/.gem/ruby/3.4.5/gems/logger-1.7.0/lib/logger.rb:721:in 'Logger#info'
	from /Users/dave/.gem/ruby/3.4.5/gems/jekyll-4.4.1/lib/jekyll/log_adapter.rb:148:in 'Kernel#public_send'
	from /Users/dave/.gem/ruby/3.4.5/gems/jekyll-4.4.1/lib/jekyll/log_adapter.rb:148:in 'Jekyll::LogAdapter#write'
	from /Users/dave/.gem/ruby/3.4.5/gems/jekyll-4.4.1/lib/jekyll/log_adapter.rb:66:in 'Jekyll::LogAdapter#info'
	from /Users/dave/Documents/Tech Writing/Clients/Linux CNCF/OpenSearch/opensearch-doc-website/_plugins/link-checker.rb:276:in 'Jekyll::LinkChecker.check_internal'
	from /Users/dave/Documents/Tech Writing/Clients/Linux CNCF/OpenSearch/opensearch-doc-website/_plugins/link-checker.rb:254:in 'Jekyll::LinkChecker.check'
	 ... 7936 levels...
	from /Users/dave/.gem/ruby/3.4.5/gems/listen-3.10.0/lib/listen/event/loop.rb:83:in 'Listen::Event::Loop#_process_changes'
	from /Users/dave/.gem/ruby/3.4.5/gems/listen-3.10.0/lib/listen/event/loop.rb:49:in 'block in Listen::Event::Loop#start'
	from /Users/dave/.gem/ruby/3.4.5/gems/listen-3.10.0/lib/listen/thread.rb:26:in 'Listen::Thread.rescue_and_log'
	from /Users/dave/.gem/ruby/3.4.5/gems/listen-3.10.0/lib/listen/thread.rb:18:in 'block in Listen::Thread.new'

If I turn off internal link checking in the build.sh file, this behavior goes away and the build works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions