ExportToDatabase error


When running CP headless, the jobs runs until the end when it crashes with that bug :

Failed to complete post_run processing for module ExportToDatabase.
Traceback (most recent call last):
File “/n/home05/lblondel/usr/cp2/CellProfiler/cellprofiler/pipeline.py”, line 2176, in post_run
File “/n/home05/lblondel/usr/cp2/CellProfiler/cellprofiler/modules/exporttodatabase.py”, line 1986, in post_run
File “/n/home05/lblondel/usr/cp2/CellProfiler/cellprofiler/modules/exporttodatabase.py”, line 2766, in write_csv_data
elif np.isnan(value) or np.isinf(value):
TypeError: function not supported for these types, and can’t coerce safely to supported types

does it have anything to do with CP or is it the Centos6 cluster I am running it on that misses something ?


Does this occur only when running CP headless, or with the GUI active too?

In any case, would you be able to post your project and/or pipeline file, with some sample images so we can take a look?