CellProfiler/CellProfiler — Issue #262: Distributed computation crashes on unicode error.
Author: thouis
Created: 2011-12-28 20:53:40+00:00
State: open

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?