Handle UTF-8 characters in eval error messages
[?]
Sep 25, 2013, 1:51 PM
AKRVETP5YMH3O36HFKUP7BHF2Q3Y3HMVYYG2N75JMRJVF5HVVYNACDependencies
- [2]
GA6XIXAN* Show the input bindings in evaluation error messages. - [3]
SRBU2RAEWarn against multiple jobs with the same name - [4]
SHZLOM5M* eval-jobs -> hydra_eval_jobs. - [5]
7ZYBTNJJrevert unmeant previous change which caused errors to stay, even after successful evaluation of jobs - [6]
FYO6NECEhydra - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [*]
3XTHEUMP* Implemented the clone feature. - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
POPU2ATH* hydra_scheduler: use eval-jobs. - [*]
JK2QWPH6
Change contents
- edit in src/lib/Hydra/Helper/AddBuilds.pm at line 5
use utf8; - edit in src/lib/Hydra/Helper/AddBuilds.pm at line 294
# Handle utf-8 characters in error messages. No idea why this works.utf8::decode($_->{msg}) foreach @{$jobs->{error}}; - edit in src/script/hydra-evaluator at line 5[11.289][12.473]
use utf8; - replacement in src/script/hydra-evaluator at line 254
$msg .= "at `" . $error->{location} . "' [$bindings]:\n" . $error->{msg} . "\n\n";$msg .=($error->{location} ne "" ? "in job ‘$error->{location}’" : "at top-level") ." [$bindings]:\n" . $error->{msg} . "\n\n";