Assertion error on start-up

I’m not sure what I installed to mess this up, but now Cellprofiler hangs on start-up.

The last message I get is:
wx._core.PyAssertionError: C++ assertion “l == 0” failed at …\src\common\config.cpp(176) in wxConfigBase::DoReadBool(): bad bool value in wxconfig::DoReadInt

I’m on a windowsXP system.

I am guessing from the output that the problem is in the preferences that we save in the registry. You can fix this by deleting CellProfiler’s registry settings. The safest thing to do is this:

Click on the Windows “Start” icon. In the “Run” window (if I remember XP correctly), type “regedit”. Open the tree entry, “HKEY_CURRENT_USER” and below that, the entry, “Software”. Look for an entry named “CellProfilerLocal.cfg”. Right-mouse button click on it and pick “rename”. Rename it “OldCellProfilerLocal.cfg”. Try running CellProfiler after this and it should work.

That worked like a charm! Thank you very much.