New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
non-ASCII char in xroot error message #1501
Comments
thanks @simonmichal . Unfortunately I am stuck with what version of xroot is built with CMSSW. But this should be easy to check on your side, just try to open a non-existing file. In any case I believe you can close. |
Commit 22d308a likely fixes this, but it looks like commit a20fe39 could have introduced a potential off by one error. The function where the message comes from is below. https://github.com/xrootd/xrootd/blob/v5.5.1/src/XrdCms/XrdCmsCluster.cc#L2031-L2045 If |
looks like recent xroot (4.12.3-llifpc2) insert (at least at times) a non ASCII character at the end of an error message, see screenshot below.
This breaks current code which reports and parse those messages.
Can it be avoided ?
While I only have an example from using CMS code , @makortel says that in this case it just prints xrootd message "as is"
Of course we can filter for non-ASCII on our side, but @klannon suggested to report this to you as well for a proper resolution. In this I am the current maintainer of a tool which relies on CMS framework reports, so am 2 software layers (CMSSW and CMS/WMCore) away from xroot, simply acting as messenger here, but I doubt I can be of further help.
Thanks
The text was updated successfully, but these errors were encountered: