Error in ExportToDatabase

When I run ExportToDatabase, process usually stops with error message ‘Exception in CellProfiler Core processing’ with details below.

Traceback (most recent call last):
File “/Applications/”, line 218, in on_run
File “/Applications/”, line 1700, in run_as_data_tool
File “/Applications/”, line 1754, in run
File “/Applications/”, line 3007, in write_data_to_db
TypeError: int() argument must be a string or a number, not ‘NoneType’

Any suggestions?
I run CP2.1.1 on Mac OS (Yosemite).

Thanks in advance,


Hello Kenji,

We may have already fixed this, though I can’t quite tell. Would you try a try installing and running a trunk build?

If you still get an error, please attach your pipeline here along with an image that produces the error so we can test, thanks.


Hi David,

Thank you for quick reply, and I’ll try it using a trunk build.

I’ll contact you again later.