Xrootd access from TChain::Add, TFile::Open, hadd and attaching to root prompt

Dear all,

I have a similar problem as the one described in this ticket https://sft.its.cern.ch/jira/browse/ROOT-9884

I am trying to access files via xrootd in a TChain using TChain::Add and get error messages [1] for files at this site root://xrootd.echo.stfc.ac.uk/lhcb:

Using TFile::Open on them works, as well as hadd , but calling root -l <file> again only works for files not at root://xrootd.echo.stfc.ac.uk [2].

Here is an example file:

Thanks in advance for any help with the issue,


Error in <TNetXNGFile::ReadBuffer>: error reading all requested bytes, got 38 of 300
Error in <TNetXNGFile::Init>: root://xrootd.echo.stfc.ac.uk/lhcb:user/lhcb/user/m/mstahl/2019_06/289365/289365235/SomeHyperonTuples.root failed to read the file type data.
Error in <TNetXNGFile::TNetXNGFile>: Object is in 'zombie' state
Error in <TNetXNGFile::Open>: [ERROR] Server responded with an error: [3005] Unable to open lhcb:user/lhcb/user/m/mstahl/2019_06/289365/289365236/SomeHyperonTuples.root; bad message


Warning in <TApplication::GetOptions>: file root://xrootd.echo.stfc.ac.uk/lhcb:user/lhcb/user/m/mstahl/2019_06/289365/289365235/SomeHyperonTuples.root has size 0, skipping

ROOT Version: 6.16
Platform: centos7
Compiler: gcc8

@ganis, perhaps you can help here please?


Sorry, I have no time to look in detail.
I would investigate how TChain and TRint handle input arguments.
Not sure it depends on XRootD.

G Ganis

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.