Win32 r11675 --distributed UnicodeError

Hi Ray Jones,

I’m not sure if I’m doing this right.

I have installed CellProfiler on a win32 XP system from - Windows 32-bit: CellProfiler_2.0_win32_r11675.exe
Then I tried to start CP in distributed mode by issuing a DOS command: cellporofiler --distributed

After I press the button “Start Distributed Computation”, here is the error message I got:

Traceback (most recent call last):
File “cellprofiler\gui\pipelinecontroller.pyc”, line 725, in on_analyze_images
File “cellprofiler\distributed.pyc”, line 90, in start_serving
File “cellprofiler\modules\createbatchfiles.pyc”, line 253, in save_pipeline
File “cellprofiler\measurements.pyc”, line 149, in init
File “cellprofiler\utilities\hdf5_dict.pyc”, line 118, in init
File “h5py\highlevel.pyc”, line 788, in init
AttributeError: StringIO instance has no attribute ‘encode’

It has something to do with Unicode objects. Do you have a fix?

Merck MRL Boston

I’ll have to experiment with this, and hopefully have a fix in the next few days.

Hello Tianxiao,

I believe this has been fixed in the latest development tree. Our development recently moved from the SVN repository at the Broad Institute to

Recent builds can be downloaded here for testing:

Note that the move to git required changing how releases are numbered (now by date+time, rather than by SVN revision).