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

TGridResult::GetFileName(0) returns nullptr

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Low
    • Resolution: Clarified
    • Affects Version/s: 6.18/04
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Environment:
    • Development:

      Description

      I would like to get many files from the grid (alien) and I'm trying to make it so:

      Connection works fine:

      root [0] TGrid::Connect("alien://");
      //....
      root [1] gGrid->Pwd() 
      (const char *) "/alice/cern.ch/user/b/brumyant/"
      

      Then I made a query and it shows me correct number of files, because I know that Query method it's just a wrap for find command and I made it directly. Number of files the same.

      root [2] auto res = gGrid->Query("/alice/data/2015/LHC15o/000245145/pass2_UD_CCUP/", "AliESDs.root")
      (TGridResult *) @0x7fffd5c10f40
      root [3] res->GetEntries()
      (int) 16608 
      

      *But here problems occurred: I can't get name of files:*

      root [4] res->GetFileName(0)
      (const char *) nullptr
      

        Attachments

          Activity

            People

            • Assignee:
              slinev Serguei Linev
              Reporter:
              brumyant Boris Rumyantsev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: