Coder Social home page Coder Social logo

Comments (15)

duckpuppy avatar duckpuppy commented on July 1, 2024

Using either "autotest -b" or "bundle exec autotest" seems to make it more stable, though I have had one instance of it failing to respond to Ctrl-C even then.

from autotest.

grosser avatar grosser commented on July 1, 2024

are you using autotest (then go to zentest) or autotest-standalone ?

from autotest.

duckpuppy avatar duckpuppy commented on July 1, 2024

autotest-standalone.

Also, "bundle exec autotest" has started failing as well... don't know why it worked for a while, but now it isn't working either.

from autotest.

duckpuppy avatar duckpuppy commented on July 1, 2024

So, a little more playing around seems to indicate that it's not autotest by itself, but any notification plugin that uses notify-send to send OS notifications. I'm not sure if the bug lies within Ubuntu 11.04's notify-send or if it's some itnteraction between notify-send, autotest itself, or the notification plugin (I've checked autotest-notification and autotest-growl and if either are installed - not even actually used, but just installed, Ctrl-C stops working), but it's certainly messing with the autotest keyboard handler for some reason.

from autotest.

grosser avatar grosser commented on July 1, 2024

the "only installed" part sounds scary, the should not be loaded by default...
the only kinda strange thing https://github.com/grosser/autotest/blob/master/lib/autotest/notify.rb does is to add an hook, can you try to e.g. gem-edit parts out and see if that solves anything ?

from autotest.

schadenfred avatar schadenfred commented on July 1, 2024

Duck, I've noticed the same problem with 11.04 but it's fine on Ubuntu 10.10. I'm running rails 3.0.7 with autotest and Ruby 1.9.2. I notice that when I revert down to ruby 1.8.7 autotest works fine, though, which makes me suspect it's an issue with ruby/ubuntu rather than autotest. Hope this helps.

from autotest.

bct avatar bct commented on July 1, 2024

Confirming fdschoeneman's experience, I also didn't experience this problem on Ubuntu 11.04 until I upgraded to Ruby 1.9.2.

from autotest.

bct avatar bct commented on July 1, 2024

It doesn't seem to be related to notifications for me, I don't have either of the mentioned gems installed and "lib/autotest/notify.rb" isn't being loaded.

from autotest.

bct avatar bct commented on July 1, 2024

I've discovered that if I delete the Find.prune line in find_files everything works normally. Bizarre.

from autotest.

schadenfred avatar schadenfred commented on July 1, 2024

bct -- I think this might be the bug: http://www.ruby-forum.com/topic/1569599

How did you discover that? You must be a ninja.

from autotest.

subhashb avatar subhashb commented on July 1, 2024

Confirming that the bug is with Ruby 1.9.2, on Ubuntu 11.04. Either Ubuntu 10.10 or Ruby 1.8.7 works fine.
Removing Find.prune does solve the problem of Ctrl-C, but autotest then starts firing tests for the last spec file repeatedly.

bct - Does autotest work perfectly for you after commenting? Does this problem of one spec file repeatedly getting fired, happen on your system too?

from autotest.

bct avatar bct commented on July 1, 2024

SubhashB, I experience that too. It's still better than the lockups, though.

fdschoeneman, it does look like a very similar bug. Do you think there's value in mentioning it on that report?

from autotest.

schadenfred avatar schadenfred commented on July 1, 2024

bct,

Probably won't hurt. I put a link to this thread in the comments for that bug. Good thinking.

from autotest.

subhashb avatar subhashb commented on July 1, 2024

Autotest has started working now. I am still on Ruby 1.9.2 and Ubuntu 11.04. Maybe a recent upgrade in lib-notify package fixed the problem... Not sure though.
I am able to run tests successfully now.

from autotest.

eWizardII avatar eWizardII commented on July 1, 2024

Yea for the time being best to just use 1.8.7, I couldn't get it to work on 1.9.2 either.

from autotest.

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.