RE: Opening Castor files

From: Gustavo Ordonez Sanz <Gustavo.Ordonez.Sanz_at_cern.ch>
Date: Wed, 10 Aug 2005 16:35:55 +0200

 Wim,

Thanks, that was the problem,

Gustavo.

-----Original Message-----
From: WLavrijsen_at_lbl.gov [mailto:WLavrijsen_at_lbl.gov] Sent: Tue 8/9/2005 6:21 PM
To: Gustavo Ordonez Sanz
Cc: roottalk (Mailing list discussing all aspects of the ROOT system) Subject: RE: [ROOT] Opening Castor files  

Gustavo,

> TFile *f = TFile::Open("rfio://castor/cern.ch/grid/atlas/data...

afaics, you're lacking a '/' (the '//' is for the protocol, then you still need a '/' to designate the absolute directory), as in:

  TFile *f = TFile::Open("rfio:///castor/cern.ch/grid/atlas/data...

See also:

> Error in <TRFIOFile::TRFIOFile>: file castor/cern.ch/grid/atlas/data...

which tells you that the relative path castor/cern.ch/... does not exist.

HTH,
  Wim

--
Wim.Lavrijsen_at_cern.ch   --   WLavrijsen_at_lbl.gov   --   www.lavrijsen.net

"Stop making excuses for your software."    --first step towards quality
   "GIGO is not a valid design pattern."         --corollary
Received on Wed Aug 10 2005 - 16:36:45 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET