Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialUnsubscribed User
14,547 PointsCompass Deadlock Error
I'm working on the Sass basics course. I've gotten sass setup and sass --watch . --poll has been working just fine. Now the concept of libraries has been introduced, so I am attempting to set up compass.
When I update a file, the watch crashes. I haven't been able to find anything on google for Compass to help. Any help would be much appreciated. Thanks
(I am running vagrant with Brackets editing the shared folder on the windows side)
vagrant@brodie-ubuntu:/vagrant/sass$ compass watch --poll --trace
Compass is watching for changes. Press Ctrl-C to Stop.
write stylesheets/screen.css
modified sass/screen.scss
fatal on line ["110"] of /var/lib/gems/2.2.0/gems/sass-3.4.19/vendor/listen/lib/listen/adapter.rb: No live threads left. Deadlock?
/var/lib/gems/2.2.0/gems/sass-3.4.19/vendor/listen/lib/listen/adapter.rb:110:in `start!'
/var/lib/gems/2.2.0/gems/sass-3.4.19/vendor/listen/lib/listen/listener.rb:66:in `start!'
/var/lib/gems/2.2.0/gems/sass-3.4.19/lib/sass/plugin/compiler.rb:405:in `listen_to'
/var/lib/gems/2.2.0/gems/sass-3.4.19/lib/sass/plugin/compiler.rb:338:in `watch'
/var/lib/gems/2.2.0/gems/compass-1.0.3/lib/compass/sass_compiler.rb:46:in `watch!'
/var/lib/gems/2.2.0/gems/compass-1.0.3/lib/compass/commands/watch_project.rb:41:in `perform'
/var/lib/gems/2.2.0/gems/compass-1.0.3/lib/compass/commands/base.rb:18:in `execute'
/var/lib/gems/2.2.0/gems/compass-1.0.3/lib/compass/commands/project_base.rb:19:in `execute'
/var/lib/gems/2.2.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
/var/lib/gems/2.2.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:15:in `run!'
/var/lib/gems/2.2.0/gems/compass-1.0.3/bin/compass:30:in `block in <top (required)>'
/var/lib/gems/2.2.0/gems/compass-1.0.3/bin/compass:44:in `call'
/var/lib/gems/2.2.0/gems/compass-1.0.3/bin/compass:44:in `<top (required)>'
/usr/local/bin/compass:23:in `load'
/usr/local/bin/compass:23:in `<main>'
1 Answer
victor ollervidez
14,934 PointsHi was having this problem and was able fix the issue. What Os are you on? Window's or Mac? Just saw your on windows. <br/> I fixed it like this. <br/> 1) in command line ("i use cmndr") type: gem uninstalll listen <br/> 2) then type: gem install listen --version 2.10.1 <br/> For some reason when you run gem --system update it updates the Listen gem as well which causes this error. After downgrading to Listen 2.10.1 the issue was fixed. <br/> Hope this helps