Comments (15)
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.
are you using autotest (then go to zentest) or autotest-standalone ?
from autotest.
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.
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.
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.
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.
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.
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.
I've discovered that if I delete the Find.prune
line in find_files
everything works normally. Bizarre.
from autotest.
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.
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.
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.
bct,
Probably won't hurt. I put a link to this thread in the comments for that bug. Good thinking.
from autotest.
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.
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)
- rails3 ruby1.9.2-p0 errors HOT 6
- Autotest doesn't work with the new way to require spec_helper in RSpec specs HOT 2
- Feature: parallel specs HOT 31
- autotest-rails-pure should require autotest HOT 3
- Start parallel_test from curent directory HOT 1
- 'C:' is not recognized as an internal or external command, (Windows Vista) HOT 6
- [Windows] autotest-standalone-4.5.2/lib/unit_diff.rb:77:in `write': Invalid argument (Errno::EINVAL) HOT 12
- Specifying the -n option on mac 10.6.6 HOT 2
- Encoding UTF-8 Error HOT 1
- Tests get run twice HOT 2
- Autotest / spork ? HOT 4
- History.txt not updated. HOT 1
- How do I configure Autotest to run all tests whenever a file changes in either lib/ or spec/? HOT 7
- Doesn't work in Windows... HOT 1
- Question regarding the usage tip HOT 4
- Autotest delays a little bit with fsevent HOT 5
- Won't run, complains about missing require HOT 8
- No tests matched ...(every test)... HOT 2
- Does not run model tests! HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autotest.