Project

General

Profile

Actions

Feature #880

closed

'\n' on ERROR MESSAGES coming from Database itself

Added by Flix Josep about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Low
Assigned To:
Start date:
08/31/2010
Due date:
% Done:

100%

Estimated time:

Description

Hi,

When asking for something like:

[jflix@lhcweb01 FTMparser]$ wget q -O "http://w-ftm.grid.sinica.edu.tw/ftsmonitor//filedetail.php?fileid=4528137"
<file><detail><FILE_ID>4528137</FILE_ID><JOB_ID>0376b178-b17e-11df-bd0c-c915b3bd5757</JOB_ID><FILE_STATE>Finished</FILE_STATE><SOURCE_SURL>srm://srm2.grid.sinica.edu.tw:8443/srm/managerv2?SFN=/castor/grid.sinica.edu.tw/d0t1/cms/store/PhEDEx_LoadTest07/LoadTest07_ASGC_162</SOURCE_SURL><DEST_SURL>srm://polgrid4.in2p3.fr:8446/srm/managerv2?SFN=/dpm/in2p3.fr/home/cms/trivcat/store/PhEDEx_LoadTest07/LoadTest07_Debug_TW_ASGC/FR_GRIF_LLR/26/LoadTest07_ASGC_162_qdrNwvImUkyy3hLd_26</DEST_SURL><ERROR_SCOPE>TRANSFER</ERROR_SCOPE><ERROR_PHASE>TRANSFER</ERROR_PHASE><REASON>globus_xio: Unable to connect to polgrfs10.in2p3.fr:2811
globus_xio: System error in connect: No route to host
globus_xio: A system call failed: No route to host
</REASON><NUM_FAILURES>1</NUM_FAILURES><CURRENT_FAILURES>1</CURRENT_FAILURES><FILESIZE>2684354560</FILESIZE><FINISH_TIME>27-AUG-10 02.04.25.000000 AM +00:00</FINISH_TIME><JOB_FINISHED>27-AUG-10 02.04.40.535233 AM</JOB_FINISHED></detail><list name="transfers"><transfer><TRANSFER_STATE>Completed</TRANSFER_STATE><SOURCE_TURL>gsiftp://c2fs038.grid.sinica.edu.tw:2811///castor/grid.sinica.edu.tw/d0t1/cms/store/PhEDEx_LoadTest07/LoadTest07_ASGC_162</SOURCE_TURL><DEST_TURL>gsiftp://polgrfs03.in2p3.fr/polgrfs03.in2p3.fr:/data8/cms/2010-08-27/LoadTest07_ASGC_162_qdrNwvImUkyy3hLd_26.13695722.0</DEST_TURL></transfer><transfer><TRANSFER_STATE>Failed</TRANSFER_STATE><SOURCE_TURL>gsiftp://c2fs038.grid.sinica.edu.tw:2811///castor/grid.sinica.edu.tw/d0t1/cms/store/PhEDEx_LoadTest07/LoadTest07_ASGC_162</SOURCE_TURL><DEST_TURL>gsiftp://polgrfs10.in2p3.fr/polgrfs10.in2p3.fr:/data1/cms/2010-08-27/LoadTest07_ASGC_162_qdrNwvImUkyy3hLd_26.13695668.0</DEST_TURL><ERROR_SCOPE>TRANSFER</ERROR_SCOPE><REASON>globus_xio: Unable to connect to polgrfs10.in2p3.fr:2811
globus_xio: System error in connect: No route to host
globus_xio: A system call failed: No route to host
</REASON></transfer></list></file>

i.e. getting an individual file XML report, some of them contain the <REASON> tag and the message within contains '\n', which make the XML parsing of it a bit more tedious.
It occurs for some of the files. Maybe you could considering filtering the '\n' coming from databases.

This is, of course, a wish with very low priority.

Thanks,
Pepe.

Actions #1

Updated by Schwarz Lionel about 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

fixed in 1.5

Actions

Also available in: Atom PDF