Error Opening Cellprofiler Mac OSX 10.9.5

Hi,

When I try to open Cellprofiler.app using Mac OSX 10.9.5 I get an Error box. Can anyone help me please?

This is the Java version installed

java version "1.8.0_92"
Java™ SE Runtime Environment (build 1.8.0_92-b14)

And the console shows the following message when I get the error:

20/06/2016 17:14:26.280 CellProfiler[1366]: Traceback (most recent call last):
20/06/2016 17:14:26.280 CellProfiler[1366]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/boot.py”, line 355, in
20/06/2016 17:14:26.280 CellProfiler[1366]: _run()
20/06/2016 17:14:26.280 CellProfiler[1366]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/boot.py”, line 336, in _run
20/06/2016 17:14:26.280 CellProfiler[1366]: exec(compile(source, path, ‘exec’), globals(), globals())
20/06/2016 17:14:26.280 CellProfiler[1366]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/CellProfiler.py”, line 4, in
20/06/2016 17:14:26.280 CellProfiler[1366]: cellprofiler.main.main()
20/06/2016 17:14:26.280 CellProfiler[1366]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/main.py”, line 176, in main
20/06/2016 17:14:26.280 CellProfiler[1366]: cp_start_vm()
20/06/2016 17:14:26.281 CellProfiler[1366]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/utilities/cpjvm.py”, line 153, in cp_start_vm
20/06/2016 17:14:26.281 CellProfiler[1366]: class_path = get_jars()
20/06/2016 17:14:26.281 CellProfiler[1366]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/utilities/cpjvm.py”, line 73, in get_jars
20/06/2016 17:14:26.281 CellProfiler[1366]: plugin_directory = cpprefs.get_ij_plugin_directory()
20/06/2016 17:14:26.281 CellProfiler[1366]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/preferences.py”, line 832, in get_ij_plugin_directory
20/06/2016 17:14:26.281 CellProfiler[1366]: if config_exists(IJ_PLUGIN_DIRECTORY):
20/06/2016 17:14:26.281 CellProfiler[1366]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/preferences.py”, line 221, in config_exists
20/06/2016 17:14:26.281 CellProfiler[1366]: if not get_config().Exists(key):
20/06/2016 17:14:26.281 CellProfiler[1366]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/preferences.py”, line 102, in get_config
20/06/2016 17:14:26.281 CellProfiler[1366]: import wx
20/06/2016 17:14:26.281 CellProfiler[1366]: File “wx/init.pyc”, line 45, in
20/06/2016 17:14:26.281 CellProfiler[1366]: File “wx/_core.pyc”, line 4, in
20/06/2016 17:14:26.281 CellProfiler[1366]: File “wx/core.pyc”, line 14, in
20/06/2016 17:14:26.281 CellProfiler[1366]: File “wx/core.pyc”, line 10, in __load
20/06/2016 17:14:26.281 CellProfiler[1366]: ImportError: dlopen(/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/lib-dynload/wx/core.so, 2): Symbol not found: OBJC_CLASS$_NSURLRequest
20/06/2016 17:14:26.281 CellProfiler[1366]: Referenced from: /Volumes/CellProfiler/CellProfiler.app/Contents/MacOS/…/Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
20/06/2016 17:14:26.281 CellProfiler[1366]: Expected in: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
20/06/2016 17:14:26.281 CellProfiler[1366]: in /Volumes/CellProfiler/CellProfiler.app/Contents/MacOS/…/Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
20/06/2016 17:14:26.345 CellProfiler[1366]: CellProfiler Error
20/06/2016 17:14:26.345 CellProfiler[1366]: 2016-06-20 17:14:26.344 CellProfiler[1366:707] CellProfiler Error

Please try installing this version of Java and please let me know if this solves your issue.

I have heard from a few Mac users that the Java Development Kit (JDK) is required, and the Java Runtime Environment alone is not sufficient. The JDK is available from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
The JDK includes the JRE, so you do not need to have that installed separately. Can you please confirm if this solves your problem? Then I will update the installation instructions accordingly.

FYI Another user, same OS, same issue, NOT fixed by either of these solutions.

Sorry for the delay and thanks for the suggestions.

I followed both suggestions and restarted but I am still unable to open the software, I still get an error message.

Console:

24/06/2016 19:08:52.630 CellProfiler[312]: Traceback (most recent call last):
24/06/2016 19:08:52.630 CellProfiler[312]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/boot.py”, line 355, in
24/06/2016 19:08:52.630 CellProfiler[312]: _run()
24/06/2016 19:08:52.630 CellProfiler[312]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/boot.py”, line 336, in _run
24/06/2016 19:08:52.630 CellProfiler[312]: exec(compile(source, path, ‘exec’), globals(), globals())
24/06/2016 19:08:52.630 CellProfiler[312]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/CellProfiler.py”, line 4, in
24/06/2016 19:08:52.630 CellProfiler[312]: cellprofiler.main.main()
24/06/2016 19:08:52.630 CellProfiler[312]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/main.py”, line 176, in main
24/06/2016 19:08:52.630 CellProfiler[312]: cp_start_vm()
24/06/2016 19:08:52.630 CellProfiler[312]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/utilities/cpjvm.py”, line 153, in cp_start_vm
24/06/2016 19:08:52.631 CellProfiler[312]: class_path = get_jars()
24/06/2016 19:08:52.631 CellProfiler[312]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/utilities/cpjvm.py”, line 73, in get_jars
24/06/2016 19:08:52.631 CellProfiler[312]: plugin_directory = cpprefs.get_ij_plugin_directory()
24/06/2016 19:08:52.631 CellProfiler[312]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/preferences.py”, line 832, in get_ij_plugin_directory
24/06/2016 19:08:52.631 CellProfiler[312]: if config_exists(IJ_PLUGIN_DIRECTORY):
24/06/2016 19:08:52.631 CellProfiler[312]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/preferences.py”, line 221, in config_exists
24/06/2016 19:08:52.631 CellProfiler[312]: if not get_config().Exists(key):
24/06/2016 19:08:52.631 CellProfiler[312]: File “/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/preferences.py”, line 102, in get_config
24/06/2016 19:08:52.631 CellProfiler[312]: import wx
24/06/2016 19:08:52.631 CellProfiler[312]: File “wx/init.pyc”, line 45, in
24/06/2016 19:08:52.631 CellProfiler[312]: File “wx/_core.pyc”, line 4, in
24/06/2016 19:08:52.631 CellProfiler[312]: File “wx/core.pyc”, line 14, in
24/06/2016 19:08:52.631 CellProfiler[312]: File “wx/core.pyc”, line 10, in __load
24/06/2016 19:08:52.631 CellProfiler[312]: ImportError: dlopen(/Volumes/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/lib-dynload/wx/core.so, 2): Symbol not found: OBJC_CLASS$_NSURLRequest
24/06/2016 19:08:52.631 CellProfiler[312]: Referenced from: /Volumes/CellProfiler/CellProfiler.app/Contents/MacOS/…/Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
24/06/2016 19:08:52.631 CellProfiler[312]: Expected in: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
24/06/2016 19:08:52.632 CellProfiler[312]: in /Volumes/CellProfiler/CellProfiler.app/Contents/MacOS/…/Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
24/06/2016 19:08:52.696 CellProfiler[312]: CellProfiler Error
24/06/2016 19:08:52.696 CellProfiler[312]: 2016-06-24 19:08:52.695 CellProfiler[312:707] CellProfiler Error

Sorry to re-open this old topic. I have heard back from multiple Mac users that CellProfiler on MacOS did not work with “just” the JRE installed, it was required to have the JDK installed. Should I update the website with this information for MacOS? Contrary to that, on other platforms like Windows it seems the JRE was sufficient.

From above report it seems that JDK does not solve all MacOS problems, but it seems to solve at least some of them(?)
But maybe somebody can sign off this recommendation before I put it on the website? :slight_smile:

I had two different people have the JDK fix Mac issues on Friday, so I’ll +1 that rec.

Fixed. Can you please take a quick look at the new downloads page if you like it?
http://cellprofiler.org/releases/

I like the new Java instructions, but leaving the 2.3.0 clicky boxes for Linux and Windows but just having the click not trigger an action I feel is going to cause problems. We should either leave up the 2.2 links or make the area unclickable and read “Coming Soon” (or something like that). My $0.02