Boolean error in wx\_misc.pyc on startup

Hi,
First off, I just want to say that Cell Profiler is an incredible program. The workflow-oriented nature of the program makes quantitative microscopy possible. Second, I have a problem at startup with CP2. I installed and used Cell Profiler for a week or so, no problems. Then I installed Cell Profiler Analyst. The next time I tried to use Cell Profiler, the command line window stops at this point:

Load ilastik Core
Adding Hessian matrix of Gaussian to Group Orientation
Adding Eigenvalues of Hessian matrix of Gaussian to Group Texture
Adding Eigenvalues of structure tensor to Group Texture
Adding Gradient Magnitude of Gaussian to Group Edge
Adding Gaussian Smoothing to Group Color
Adding Structure Tensor to Group Orientation
Adding Laplacian of Gaussian to Group Edge
Adding Difference of Gaussians to Group Edge
Loaded classifier: Random forest classifier
Loaded classifier: Random forest classifier (stable)
Loaded classifier: Random forest classifier with variable importance
Traceback (most recent call last):
File “CellProfiler.py”, line 224, in
File “cellprofiler\cellprofilerapp.pyc”, line 16, in init
File “wx_core.pyc”, line 7978, in init
File “wx_core.pyc”, line 7552, in _BootstrapApp
File “cellprofiler\cellprofilerapp.pyc”, line 42, in OnInit
File “cellprofiler\gui\cpframe.pyc”, line 142, in init
File “cellprofiler\gui\cpframe.pyc”, line 580, in __attach_views
File “cellprofiler\gui\moduleview.pyc”, line 247, in init
File “cellprofiler\preferences.pyc”, line 597, in get_startup_blurb
File “wx_misc.pyc”, line 3105, in ReadBool
wx._core.PyAssertionError: C++ assertion “l == 0 || l == 1” failed at …\src
common\config.cpp(176) in wxConfigBase::DoReadBool(): bad bool value in wxConfig
::DoReadInt

Any ideas what’s happening, or how I might fix it?

Interestingly enough, another user encountered the same problem recently. The solution I proposed there seemed to work for them; let us know if it works for you as well.
-Mark

Hey Mark,
Thank you for getting back to me! Deleting CellProfilerLocal.cfg fixed it.
Cheers
Matt

I should also mention that this issue has been fixed for the next release.
-Mark

This issue has been resolved in CellProfiler 2.1 and later, new releases of which can now be downloaded from http://cellprofiler.org.