CellProfiler / CellProfiler-Analyst

Open-source software for exploring and analyzing large, high-dimensional image-derived data.
http://cellprofileranalyst.org
Other
146 stars 72 forks source link

[Python3_Port] Image Gallery "*create new filter*" error MacOSX #281

Closed pearlryder closed 3 years ago

pearlryder commented 3 years ago

OSX 10.15.7, CPA example properties file

Image Gallery > select "create new filter" dropdown menu. This error appears. No option to create a filter after accepting error. CPA does not crash.

An error occurred in the program:
wx._core.wxAssertionError: C++ assertion ""GetTextPeer()"" failed at /Users/robind/projects/bb2/dist-osx-py38/build/ext/wxWidgets/src/osx/textentry_osx.cpp(224) in Clear(): Must create the control first

Traceback (most recent call last):
  File "/Users/pryder/GitHub/CellProfiler-Analyst/cpa/imagegallery.py", line 918, in OnSelectFilter
    cff = ColumnFilterDialog(self, tables=[p.image_table], size=(600, 300))
  File "/Users/pryder/GitHub/CellProfiler-Analyst/cpa/columnfilter.py", line 154, in __init__
    self.panels = [ColumnFilterPanel(self.sw, tables, False)]
  File "/Users/pryder/GitHub/CellProfiler-Analyst/cpa/columnfilter.py", line 29, in __init__
    self.update_comparator_choice()
  File "/Users/pryder/GitHub/CellProfiler-Analyst/cpa/columnfilter.py", line 85, in update_comparator_choice
    self.comparatorChoice.SetItems(comparators)
  File "/Users/pryder/.virtualenvs/CellProfiler-Analyst/lib/python3.8/site-packages/wx/core.py", line 2548, in _ItemContainer_SetItems
    self.Set(items)