Commit 1054802
Replace em-dash with ASCII in UtilityProgressionPlot subtitle (facebook#4997)
Summary:
Pull Request resolved: facebook#4997
The UtilityProgressionPlot subtitle for MOO experiments contained a literal
em-dash (U+2014), which cannot be encoded in latin-1. When GAIN's daemon
scheduler finalizes a multi-objective experiment and saves the analysis card
to MySQL, MySQLdb encodes strings using latin-1 and raises
UnicodeEncodeError, causing the experiment to be marked as FAILED despite
all trials succeeding.
Replace the em-dash with " -- " to stay within the latin-1 character set.
Reviewed By: bernardbeckerman
Differential Revision: D95828166
fbshipit-source-id: 190a0da7d049d5cdf08930fe57b276e836e3e2e01 parent da3318e commit 1054802
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments