shigeya / jekyll-category-archive-plugin

Jekyll plugin for category archive
80 stars 40 forks source link

cleaner.rb:76 : stack level too deep #16

Open kidsil opened 9 years ago

kidsil commented 9 years ago

When trying to run jekyll serve I'm getting:

cleaner.rb:76:in 'caller': stack level too deep
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.0.0/lib/jekyll/cleaner.rb:76:in `parent_dirs'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.0.0/lib/jekyll/cleaner.rb:78:in `parent_dirs'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.0.0/lib/jekyll/cleaner.rb:78:in `parent_dirs'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.0.0/lib/jekyll/cleaner.rb:78:in `parent_dirs'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.0.0/lib/jekyll/cleaner.rb:78:in `parent_dirs'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.0.0/lib/jekyll/cleaner.rb:78:in `parent_dirs'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.0.0/lib/jekyll/cleaner.rb:78:in `parent_dirs'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.0.0/lib/jekyll/cleaner.rb:78:in `parent_dirs'
 ... 8179 levels...
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.0.0/bin/jekyll:17:in `<top (required)>'
from C:/Ruby22/bin/jekyll:23:in `load'

When looking into line 76 (in cleaner.rb), I'm seeing [parent_dir] + parent_dirs(parent_dir)

shigeya commented 9 years ago

Hi. Does this happen only if category archive plugin installed or not? I'm curious whether this relates to the plugin since the stack trace does not show anything related to it.

kidsil commented 9 years ago

Yeah, it happens only if the category archive plugin is installed

On Tue, Nov 10, 2015 at 11:10 PM, Shigeya Suzuki notifications@github.com wrote:

Hi. Does this happen only if category archive plugin installed or not? I'm curious whether this relates to the plugin since the stack trace does not show anything related to it.

— Reply to this email directly or view it on GitHub https://github.com/shigeya/jekyll-category-archive-plugin/issues/16#issuecomment-155583947 .

shigeya commented 9 years ago

Okay, now I have tried with my test environment, but haven't case similar stack overflow. Would you please provide configuration detail?

UnclePetros commented 9 years ago

Hi, I have the same problem. I've done a further analysis and found a possible cause of the problem on another jekyll plugin. Have a look at this issue.

Thank you in advance for your work.