ExportToDatabase MySQL fail cellprofiler 3.1.8 and source builds


I’m just wondering if anyone has run into this bug, which I reported back in January and previously reported in the forum here.

The error I receive is:

Failed to complete post_run processing for module ExportToDatabase.
Traceback (most recent call last):
File “/home/nel56/.conda/envs/cellprofiler/lib/python2.7/site-packages/cellprofiler/pipeline.py”, line 2194, in post_run
File “/home/nel56/.conda/envs/cellprofiler/lib/python2.7/site-packages/cellprofiler/modules/exporttodatabase.py”, line 2376, in post_run
File “/home/nel56/.conda/envs/cellprofiler/lib/python2.7/site-packages/cellprofiler/modules/exporttodatabase.py”, line 3635, in write_properties_file
all_properties = self.get_property_file_text(workspace)
File “/home/nel56/.conda/envs/cellprofiler/lib/python2.7/site-packages/cellprofiler/modules/exporttodatabase.py”, line 4081, in get_property_file_text
“”" % (locals())
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xff in position 254: ordinal not in range(128)

This means it is not possible to output to a MySQL database in the current version of CellProfiler. I’ve tried this on Windows and CentOS7 without any luck. I know at least one other person has run into this issue.

Has anyone else seen this issue and found a way around it? I am trying to learn python so I can fix the source code but it’s very early days for me!

Any help would be appreciated.