Dear experts,
I’m running a TPySelector on a proof-lite setup and I pass configuration parameters via pickled python dictionaries.
From the TProof documentation I found the Load() function which allows me to load the file to the workers and then read it in the TPySelector.
However, because the file is not a ROOT macro, the call to TProof::Load() returns the following warning for each worker node:
15:23:30 26551 Wrk-0.19 | Info in <TProofServLite::HandleCache>: loading macro parameters.pkl ...
In file included from input_line_11:1:
/grid_mnt/vol__vol_U__u/llr/cms/pigard/.proof/cache/parameters.pkl:2:1: error: expected ')'
S'outputName'
^
/grid_mnt/vol__vol_U__u/llr/cms/pigard/.proof/cache/parameters.pkl:1:1: note: to match this '('
(dp0
^
/grid_mnt/vol__vol_U__u/llr/cms/pigard/.proof/cache/parameters.pkl:1:2: error: C++ requires a type specifier for all declarations
(dp0
^
/grid_mnt/vol__vol_U__u/llr/cms/pigard/.proof/cache/parameters.pkl:42:3: error: expected ';' after top level declarator
Is there a better way to load non-macro files to the worker nodes?
Thanks for your insights!
Philipp