TNetXNGFile::Open fails with double slash (//) in path

TChain seems to have trouble opening files with duplicate ‘/’ characters in the path. For example:

TChain* mychain = new TChain("DecayTree");
(int) 1
Error in <TNetXNGFile::Open>: [ERROR] Server responded with an error: [3011] Unable to open file /eos/lhcb/user/<letter>/<usern>; No such file or directory

where the username is cropped after 5 characters.

This is counter-intuitive, because “//” in a path wouldn’t normally be a problem in my paths. Is this planned to cause an error? It looks like a parsing error.

Please read tips for efficient and successful posting and posting code

ROOT Version: 6.16/00
Platform: SLC6
Compiler: GCC8

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

In case someone ends up here, this is now tracked at TNetXNGFile::Open fails with double slash (//) in path · Issue #7159 · root-project/root · GitHub .