Code Monkey home page Code Monkey logo

Comments (18)

thibaudgg avatar thibaudgg commented on June 27, 2024

That's weird. Can you give more backtrace? bin/guard:19 only isn't very helpfull. Thx!

from guard.

stouset avatar stouset commented on June 27, 2024

It didn't give me one. Unfortunately, it will probably take another few days before I can reproduce this.

from guard.

thibaudgg avatar thibaudgg commented on June 27, 2024

Ok, I'll also try to reproduce this on my side.

from guard.

yannlugrin avatar yannlugrin commented on June 27, 2024

I test this case on linux too

from guard.

thibaudgg avatar thibaudgg commented on June 27, 2024

Still having this issue? I haven't been able to reproduce it.

from guard.

stouset avatar stouset commented on June 27, 2024

I haven't noticed it in a bit, but I've been away at RubyConf. I'll let you know if I see it in the next day or two.

from guard.

mordaroso avatar mordaroso commented on June 27, 2024

This exception pops up when I change a lot of files in a short period.
For example when I populate sample data that is indexed with thinking sphinx.

I can reproduce the problem with following shell command:
for i in {0..100000}; do touch tmp/dummy$i.txt;rm tmp/dummy$i.txt; done

from guard.

thibaudgg avatar thibaudgg commented on June 27, 2024

Ok, we could avoid that by adding an option to exclude some files extensions. Sounds good for you?

from guard.

thibaudgg avatar thibaudgg commented on June 27, 2024

still needed with 0.4.0?

from guard.

stouset avatar stouset commented on June 27, 2024

Nope. Haven't seen the problem return in a long, long while.

from guard.

surajreddy avatar surajreddy commented on June 27, 2024

I'm getting this error on a windows install - everything's working fine on our mac machines, but we get this on Windows:
c:/Ruby192/lib/ruby/gems/1.9.1/bin/guard:19: stack level too deep (SystemStackError)

from guard.

surajreddy avatar surajreddy commented on June 27, 2024

On a different app, I get these errors recursively (can't see the top):

from c:/Ruby192/lib/ruby/gems/1.9.1/gems/guard-0.4.0/lib/guard/ui.rb:8:in `info'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/guard-0.4.0/lib/guard/ui.rb:59:in `rescue in color_enabled?'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/guard-0.4.0/lib/guard/ui.rb:55:in `color_enabled?'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/guard-0.4.0/lib/guard/ui.rb:45:in `color'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/guard-0.4.0/lib/guard/ui.rb:41:in `reset_color'

from guard.

surajreddy avatar surajreddy commented on June 27, 2024

Commenting line #8 in ui.rb seems to fix this for me on windows:
#puts reset_color(message) if message != ''

Also, I had to replace interactor with https://raw.github.com/guard/guard/master/lib/guard/interactor.rb

from guard.

thibaudgg avatar thibaudgg commented on June 27, 2024

Great, please can you provide a pull request to fix this. Thx!

from guard.

surajreddy avatar surajreddy commented on June 27, 2024

done - however, please note that I don't know what I'm doing/I see this as a temp fix only.

from guard.

jeffdeville avatar jeffdeville commented on June 27, 2024

I just had the same problem, but I was able to fix it by installing the win32console gem. I think that the problem is that if this gem is missing it, it tries to tell you that it's missing it... by using it. (color_reset). I think the easiest fix may simply to update the docs on how to get guard up and running with windows. You may want to suggest including:
gem 'rb-fchange'
gem 'win32console'
gem 'rb-notifu'
into windows-based Gemfiles.

from guard.

surajreddy avatar surajreddy commented on June 27, 2024

Thanks #jeff! We'll try that out.

from guard.

ajlitzin avatar ajlitzin commented on June 27, 2024

gem install win32console also worked for getting me past the "stack level too deep" error when running guard

from guard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.