Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7296

Wildcard matching by TChain::Add of files in remote directories is not working

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 6.02/03, 5.34/25
    • Fix Version/s: 6.02/10, 5.34/34
    • Component/s: I/O
    • Labels:
      None
    • Environment:

      linux sl6, gcc 4.9

      Description

      This was mentioned by a user on the hn-cms-pysTools list, I'm opening the ticket here for tracking:

      As a consequence of the fix for ROOT-6869 wildcard matching of files in a remote directory is broken (if it is anyway supported by the plugin and endpoint); e.g. TDCacheFile and TNetXNGFile do support it, TWebFile did not, TDavixFile does (with a webdav enabled endpoint). An example of the problem is:

      TChain c;
      c.Add("root://eospublic.cern.ch//eos/opstest/dhsmith/*.root");
      c.GetEntry(0);

      gives:

      Error in <TNetXNGFile::Open>: [ERROR] Server responded with an error: [3011] Unable to open file /eos/opstest/dhsmith/*.root; No such file or directory

      although there are .root files in the directory mentioned.

        Attachments

          Activity

            People

            • Assignee:
              dhsmith David Smith
              Reporter:
              dhsmith David Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: