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/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/gui/datatoolframe.py”, line 218, in on_run
File “/Applications/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/modules/exporttodatabase.py”, line 1700, in run_as_data_tool
File “/Applications/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/modules/exporttodatabase.py”, line 1754, in run
File “/Applications/CellProfiler.app/Contents/Resources/lib/python2.7/cellprofiler/modules/exporttodatabase.py”, 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,

Kenji

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? cellprofiler.org/cgi-bin/trunk_build.cgi

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

David

Hi David,

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

I’ll contact you again later.
Thanks,

Kenji