Bugs: CP and CPA fail to start under Mac OS 10.9.5


#1

I cannot get CP or CP-A to run beyond startup on Mackbook Pro running OS 10.9.5
Followed instructions to install; installed the linked latest JDK
Mac OS X 226.57 MB jdk-8u131-macosx-x64.dmg

CP starts and posts a dialog, CellProfiler error; open console/terminate
Same for CP-A
Console messages below;

Searched CP forum for similar problems; can confirm there is no config file created.
I do use MacPorts, which installs python (I have both python 2.7 and 3.4, with 2.7 default aliased by ‘python’) as well as other components CP might be using. Wondering if there might be multiple versions of python (or java) hanging around.

Numerous work-arounds tried, such as deleting CP (and CP-A), reinstalling JDK/JRE, then reinstalling CP.
Also tried CP nightly, same results all the time.

Here’s the log; since there don’t seem to be recent bug discussions, I suspect it’s something simple but…

thanks for any advice, rms

4/29/17 15:59:35.010 CellProfiler[393]: Traceback (most recent call last):
4/29/17 15:59:35.010 CellProfiler[393]: File “/Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/Resources/boot.py”, line 355, in
4/29/17 15:59:35.010 CellProfiler[393]: _run()
4/29/17 15:59:35.010 CellProfiler[393]: File “/Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/Resources/boot.py”, line 336, in _run
4/29/17 15:59:35.010 CellProfiler[393]: exec(compile(source, path, ‘exec’), globals(), globals())
4/29/17 15:59:35.010 CellProfiler[393]: File “/Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/Resources/CellProfiler.py”, line 4, in
4/29/17 15:59:35.010 CellProfiler[393]: cellprofiler.main.main()
4/29/17 15:59:35.010 CellProfiler[393]: File “/Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/main.py”, line 176, in main
4/29/17 15:59:35.011 CellProfiler[393]: cp_start_vm()
4/29/17 15:59:35.011 CellProfiler[393]: File “/Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/utilities/cpjvm.py”, line 153, in cp_start_vm
4/29/17 15:59:35.011 CellProfiler[393]: class_path = get_jars()
4/29/17 15:59:35.011 CellProfiler[393]: File “/Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/utilities/cpjvm.py”, line 73, in get_jars
4/29/17 15:59:35.011 CellProfiler[393]: plugin_directory = cpprefs.get_ij_plugin_directory()
4/29/17 15:59:35.011 CellProfiler[393]: File “/Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/preferences.py”, line 832, in get_ij_plugin_directory
4/29/17 15:59:35.011 CellProfiler[393]: if config_exists(IJ_PLUGIN_DIRECTORY):
4/29/17 15:59:35.011 CellProfiler[393]: File “/Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/preferences.py”, line 221, in config_exists
4/29/17 15:59:35.011 CellProfiler[393]: if not get_config().Exists(key):
4/29/17 15:59:35.011 CellProfiler[393]: File “/Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/preferences.py”, line 102, in get_config
4/29/17 15:59:35.012 CellProfiler[393]: import wx
4/29/17 15:59:35.012 CellProfiler[393]: File “wx/init.pyc”, line 45, in
4/29/17 15:59:35.012 CellProfiler[393]: File “wx/_core.pyc”, line 4, in
4/29/17 15:59:35.012 CellProfiler[393]: File “wx/core.pyc”, line 14, in
4/29/17 15:59:35.012 CellProfiler[393]: File “wx/core.pyc”, line 10, in __load
4/29/17 15:59:35.012 CellProfiler[393]: ImportError: dlopen(/Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/Resources/lib/python2.7/lib-dynload/wx/core.so, 2): Symbol not found: OBJC_CLASS$_NSURLRequest
4/29/17 15:59:35.012 CellProfiler[393]: Referenced from: /Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/MacOS/…/Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
4/29/17 15:59:35.012 CellProfiler[393]: Expected in: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
4/29/17 15:59:35.012 CellProfiler[393]: in /Users/rms/image processing and imaging/CellProfiler/CellProfiler.app/Contents/MacOS/…/Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
4/29/17 15:59:35.076 CellProfiler[393]: CellProfiler Error
4/29/17 15:59:35.076 CellProfiler[393]: 2017-04-29 15:59:35.075 CellProfiler[393:707] CellProfiler Error


#2

Current versions of CP and CPA only run on OS 10.10+. You can access previous releases here. Sorry!


#3

Ah, thanks, appreciate the clarification.
I thought the 10.10+ referred to the note "After launching, if no window appears….”, not that it was a system requirement.
That was my entire saturday trying to figure out the install problem!!

Perhaps one would want to prepend “Requires” before “10.10+”

Thanks again for the solution —rms


#4

That was my entire saturday trying to figure out the install problem!!

Oh no, I’m sorry to hear that! We’ll see if we can figure out a way to clarify that.