Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Qt warnings in test output on OSX

geoffharcourt edited this page Sep 24, 2014 · 1 revision

If your Capybara tests execute successfully, but your console output is cluttered with warnings from [webkit.server] like this

objc[42054]: Class MacCocoaSocketServerHelper is implemented in both 
/Library/Internet Plug-Ins/googletalkbrowserplugin.plugin/Contents/MacOS/googletalkbrowserplugin 
and /Library/Internet Plug-Ins/o1dbrowserplugin.plugin/Contents/MacOS/o1dbrowserplugin. One of the 
two will be used. Which one is undefined.

then you might have outdated browser plugins that you have installed for previous browser versions or OSX versions that have not been removed. While these warnings are harmless, they can clutter the spec report with noise, making it harder to notice actual problems. These plugins can be removed.

WARNING: Applying this fix might break your browsing experience or make you need to reinstall newer plugins.

To remove the plugins, delete offending plugin folders from these two folders (you will need sudo access to remove the folders):

/Library/Internet Plug-Ins/  <- For all users of webkit_servers like Chrome or webkit_server
~/Library/Internet Plug-Ins/  <- For your user only.

The plugins listed there may not be listed in chrome://plugins but in my case some were.

These instructions taken from @garyharan's resolution to #157.

Clone this wiki locally