dmwm / PHEDEX

CMS data-placement suite
8 stars 18 forks source link

Incorrect printout in alert message from FileStager #961

Closed nikmagini closed 10 years ago

nikmagini commented 10 years ago

Hi,

a site reported that when the "-stage" command fails in FileStager, the agent prints out a useless alert:

"alert: ARRAY(0x143d168) failed: 22 22 0 0 5632"

AFAICT the printout comes from this line in the agent, it should be sufficient to dereference the $$self{STAGE_CMD} array to fix the printout:

https://github.com/dmwm/PHEDEX/blob/master/perl_lib/PHEDEX/File/Stager/Agent.pm#L289

Cheers Nicolo'

alberto-sanchez commented 10 years ago

Printout fixed.