Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Standup 2/3/2011: It *is* the Rabbit!

Kevin Fitzpatrick
Thursday, February 3, 2011

Ask for Help

“I am trying to use the Headless gem to run my selenium tests via an xvfb session on an ubuntu machine. The xvfb session is being launched correctly on display port 99 screen 0 but I am getting the following error from selenium:”

18:08:31.410 ERROR - Failed to start new browser session, shutdown browser and clear all session data
org.openqa.selenium.server.RemoteCommandException: timed out waiting for window 'null' to appear

“here is how I am running Headless:”

require 'headless'
headless = Headless.new
puts "starting Headless session on display: #{headless.display}"
headless.start
begin
  puts "rake spec:integration"
  Rake::Task['spec:integration'].execute
ensure
  puts "stopping Headless"
  headless.destroy
end

Has anybody out there had any luck with this?

Interesting Things

  • Using Sunspot with Rails 3 and its rake tasks running a little slow?
    • Adding require ‘sunspot/rails/tasks’ to your Rakefile sounds like a great idea, but a couple of pivots found out that it can unintentionally cause Sunspot to index twice when the rake task was run.
    • The core issue is that Rails 3 automatically finds the rake tasks when the gem is included in your bundle.
  • It’s the Year of the Rabbit!
  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Add New Comment Cancel reply

Your email address will not be published.

Kevin Fitzpatrick

Kevin Fitzpatrick
San Francisco

Recent Posts

  • SF Standup 2/3/2012: Fixnum[what?]
  • [Standup][SF] 2/2/2012: When does Van Damme show up?
  • Standup 6/29/2011: SSL?
Subscribe to Kevin's Feed

Author Topics

agile (6)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >